metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#generate_base_url

Figure out what our base URL is based on the user submitted
Host header or the address of the client.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/auxiliary/server/capture/http_javascript_keylogger.rb

Contribute

# Make a new branch

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


# Commit to git

git add modules/auxiliary/server/capture/http_javascript_keylogger.rbgit commit -m "better docs for MetasploitModule#generate_base_url"


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

hub pull-request


# Celebrate!