metasploit-framework

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

Ruby

Metasploit Framework

Msf::DBManager::Web#report_web_form

Report a Web Form to the database.  WebForm must be tied to an existing Web Site

opts MUST contain
+:web_site+:: the web site object that this page should be associated with
+:path+::     the virtual host name for this particular web site
+:query+::    the query string that is appended to the path (not valid for GET)
+:method+::   the form method, one of GET, POST, or PATH
+:params+::   an ARRAY of all parameters and values specified in the form

If web_site is NOT specified, the following values are mandatory
+:host+::  the ip address of the server hosting the web site
+:port+::  the port number of the associated web site
+:vhost+:: the virtual host for this particular web site
+:ssl+::   whether or not SSL is in use on this port

Duplicate records for a given web_site, path, method, and params combination will be overwritten

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open lib/msf/core/db_manager/web.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Msf--DBManager--Web-report_web_form-for-pr


# Commit to git

git add lib/msf/core/db_manager/web.rbgit commit -m "better docs for Msf::DBManager::Web#report_web_form"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Msf--DBManager--Web-report_web_form-for-pr

hub pull-request


# Celebrate!