metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#generate_shikata_block
Returns a polymorphic decoder stub that is capable of decoding a buffer of the supplied length and encodes the last cutoff bytes of itself.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/encoders/x86/context_stat.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-generate_shikata_block-for-pr
# Commit to gitgit add modules/encoders/x86/context_stat.rbgit commit -m "better docs for MetasploitModule#generate_shikata_block"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-generate_shikata_block-for-pr
hub pull-request
# Celebrate!