metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Rex::Proto::Http::Client#send_recv
Sends a request and gets a response back If the request is a 401, and we have creds, it will attempt to complete authentication and return the final response
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/rex/proto/http/client.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rex--Proto--Http--Client-send_recv-for-pr
# Commit to gitgit add lib/rex/proto/http/client.rbgit commit -m "better docs for Rex::Proto::Http::Client#send_recv"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rex--Proto--Http--Client-send_recv-for-pr
hub pull-request
# Celebrate!