metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#client_matches_module_spec?
Determines whether a browser string matches an exploit module specification Example: :os_name => ( 'Windows' | /Windows/ | ['Windows', 'Mac OS X'] )
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/auxiliary/server/browser_autopwn.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-client_matches_module_spec--for-pr
# Commit to gitgit add modules/auxiliary/server/browser_autopwn.rbgit commit -m "better docs for MetasploitModule#client_matches_module_spec?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-client_matches_module_spec--for-pr
hub pull-request
# Celebrate!