metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#get_html

Notes:
* A custom spray is used (see function putPayload), because document.write() keeps freeing
  our other sprays like js_property_spray or the heaplib + substring approach. This spray
  seems unstable for Win 7, we'll have to invest more time on that.
* Object size = 0x30

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/exploits/windows/browser/ms13_069_caret.rb

Contribute

# Make a new branch

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


# Commit to git

git add modules/exploits/windows/browser/ms13_069_caret.rbgit commit -m "better docs for MetasploitModule#get_html"


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

hub pull-request


# Celebrate!