metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#get_payload
Target spray 0x20302020 ESI is our fake obj, with [esi]=0x20302020, [esi+4]=0x42424242, so on eax=20302020 ebx=80004002 ecx=0250d890 edx=cccccccc esi=03909b68 edi=0250d8cc eip=cccccccc esp=0250d87c ebp=0250d8a8 iopl=0 nv up ei ng nz na po cy cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010283 cccccccc ?? ???
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/exploits/windows/browser/ms10_002_ie_object.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-get_payload-for-pr
# Commit to gitgit add modules/exploits/windows/browser/ms10_002_ie_object.rbgit commit -m "better docs for MetasploitModule#get_payload"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-get_payload-for-pr
hub pull-request
# Celebrate!