metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Anemone::HTTP#get_response
Get an HTTPResponse for *url*, sending the appropriate User-Agent string
MODIFIED: Change get_response to allow fine tuning of the HTTP request before
it is sent to the remote system.Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/anemone/http.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Anemone--HTTP-get_response-for-pr
# Commit to gitgit add lib/anemone/http.rbgit commit -m "better docs for Anemone::HTTP#get_response"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Anemone--HTTP-get_response-for-pr
hub pull-request
# Celebrate!