metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Msf::DBManager::Client#report_client
Report a client running on a host. opts MUST contain +:ua_string+:: the value of the User-Agent header +:host+:: the host where this client connected from, can be an ip address or a Host object opts can contain +:ua_name+:: one of the Msf::HttpClients constants +:ua_ver+:: detected version of the given client +:campaign+:: an id or Campaign object Returns a Client.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/msf/core/db_manager/client.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Msf--DBManager--Client-report_client-for-pr
# Commit to gitgit add lib/msf/core/db_manager/client.rbgit commit -m "better docs for Msf::DBManager::Client#report_client"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Msf--DBManager--Client-report_client-for-pr
hub pull-request
# Celebrate!