metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#build_script_response

Build some javascript that attempts to determine which exploits to run
for the victim's OS and browser.

Returns a raw javascript string to be eval'd on the victim

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/auxiliary/server/browser_autopwn.rb

Contribute

# Make a new branch

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


# Commit to git

git add modules/auxiliary/server/browser_autopwn.rbgit commit -m "better docs for MetasploitModule#build_script_response"


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

hub pull-request


# Celebrate!