metasploit-framework

https://github.com/rapid7/metasploit-framework

Ruby

Metasploit Framework

MetasploitModule#prepare_shellcode

Conver the shellcode into a set of 4-byte chunks that can be
encoding while making sure it is 4-byte aligned.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/encoders/x86/opt_sub.rb

Contribute

# Make a new branch

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


# Commit to git

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


# 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-prepare_shellcode-for-pr

hub pull-request


# Celebrate!