metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Rex::Proto::Http::Client#send_auth
Resends an HTTP Request with the propper authentcation headers set. If we do not support the authentication type the server requires we return the original response object
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_auth-for-pr
# Commit to gitgit add lib/rex/proto/http/client.rbgit commit -m "better docs for Rex::Proto::Http::Client#send_auth"
# 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_auth-for-pr
hub pull-request
# Celebrate!