metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#serve_static_js

Called when a client requests a .js route.
This is handy for post-XSS.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/exploits/android/browser/webview_addjavascriptinterface.rb

Contribute

# Make a new branch

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


# Commit to git

git add modules/exploits/android/browser/webview_addjavascriptinterface.rbgit commit -m "better docs for MetasploitModule#serve_static_js"


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

hub pull-request


# Celebrate!