metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Msf::Exploit::Remote::HttpServer#get_uri
Return a full url of the form <tt>http://1.1.1.1:8080/resource/</tt>
The address portion should be something a client would be able to route,
but see {#srvhost_addr} for caveats.Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/msf/core/exploit/http/server.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Msf--Exploit--Remote--HttpServer-get_uri-for-pr
# Commit to gitgit add lib/msf/core/exploit/http/server.rbgit commit -m "better docs for Msf::Exploit::Remote::HttpServer#get_uri"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Msf--Exploit--Remote--HttpServer-get_uri-for-pr
hub pull-request
# Celebrate!