metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Metasploit::Framework::LoginScanner::BavisionCameras#digest_auth
The Rex HTTP Digest auth is making the camera server to refuse to respond for some reason. The API also fails to generate the CNONCE parameter (bug), which makes it unsuitable for our needs, therefore we have our own implementation of digest auth.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/metasploit/framework/login_scanner/bavision_cameras.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Metasploit--Framework--LoginScanner--BavisionCameras-digest_auth-for-pr
# Commit to gitgit add lib/metasploit/framework/login_scanner/bavision_cameras.rbgit commit -m "better docs for Metasploit::Framework::LoginScanner::BavisionCameras#digest_auth"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Metasploit--Framework--LoginScanner--BavisionCameras-digest_auth-for-pr
hub pull-request
# Celebrate!