metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#fprint
This fingerprinting routine will cause the structure base address to slide down 120 bytes. Subsequent fingerprints will not push this down any futher, however we need to make sure that fingerprint is always called before exploitation or the alignment will be way off.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/exploits/windows/wins/ms04_045_wins.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-fprint-for-pr
# Commit to gitgit add modules/exploits/windows/wins/ms04_045_wins.rbgit commit -m "better docs for MetasploitModule#fprint"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-fprint-for-pr
hub pull-request
# Celebrate!