metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#get_html_value

The order of name, value keeps shifting so regex is painful.
Cant use nokogiri due to security issues
Cant use REXML directly as its not strict XHTML
So we do a filthy mixture of regex and REXML

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/exploits/multi/http/mediawiki_thumb.rb

Contribute

# Make a new branch

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


# Commit to git

git add modules/exploits/multi/http/mediawiki_thumb.rbgit commit -m "better docs for MetasploitModule#get_html_value"


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

hub pull-request


# Celebrate!