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.

Source | Google | Stack overflow

Edit

git clone [email protected]:rapid7/metasploit-framework.git

cd metasploit-framework

open modules/encoders/x86/context_stat.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-MetasploitModule-generate_shikata_block-for-pr


# Commit to git

git add modules/encoders/x86/context_stat.rbgit commit -m "better docs for MetasploitModule#generate_shikata_block"


# Open pull request

gem 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!