metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#web_login
Login to the router through its JS-based login page. Upon a successful login, return the keep-alive HTTP session cookie
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/exploits/linux/http/huawei_hg532n_cmdinject.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-web_login-for-pr
# Commit to gitgit add modules/exploits/linux/http/huawei_hg532n_cmdinject.rbgit commit -m "better docs for MetasploitModule#web_login"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-web_login-for-pr
hub pull-request
# Celebrate!