metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#find_opposite_bytes
From the list of characters given, find two bytes that when ANDed together result in 0. Returns nil if not found.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/encoders/x86/opt_sub.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-find_opposite_bytes-for-pr
# Commit to gitgit add modules/encoders/x86/opt_sub.rbgit commit -m "better docs for MetasploitModule#find_opposite_bytes"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-find_opposite_bytes-for-pr
hub pull-request
# Celebrate!