metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#getname
configuration section names in the file are always 8 bytes. Sometimes they are null-terminated strings, but not always, so I use this silly helper function.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/auxiliary/gather/d20pass.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-getname-for-pr
# Commit to gitgit add modules/auxiliary/gather/d20pass.rbgit commit -m "better docs for MetasploitModule#getname"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-getname-for-pr
hub pull-request
# Celebrate!