metasploit-framework

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

Ruby

Metasploit Framework

Msf::DBManager::Vuln#report_vuln

opts MUST contain
+:host+:: the host where this vulnerability resides
+:name+:: the friendly name for this vulnerability (title)

opts can contain
+:info+::   a human readable description of the vuln, free-form text
+:refs+::   an array of Ref objects or string names of references
+:details:: a hash with :key pointed to a find criteria hash and the rest containing VulnDetail fields

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

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

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Msf--DBManager--Vuln-report_vuln-for-pr


# Commit to git

git add lib/msf/core/db_manager/vuln.rbgit commit -m "better docs for Msf::DBManager::Vuln#report_vuln"


# 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--Vuln-report_vuln-for-pr

hub pull-request


# Celebrate!