metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#calc_required_lsbs
calculate the least number of bits that must be modified to place the shellcode buffer into the image data
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/encoders/x86/bmp_polyglot.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-calc_required_lsbs-for-pr
# Commit to gitgit add modules/encoders/x86/bmp_polyglot.rbgit commit -m "better docs for MetasploitModule#calc_required_lsbs"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-calc_required_lsbs-for-pr
hub pull-request
# Celebrate!