metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#connect

http://msdn.microsoft.com/en-us/library/windows/desktop/ms684323(v=vs.85).aspx
method to connect to remote host using windows api

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/exploits/linux/misc/nagios_nrpe_arguments.rb

Contribute

# Make a new branch

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


# Commit to git

git add modules/exploits/linux/misc/nagios_nrpe_arguments.rbgit commit -m "better docs for MetasploitModule#connect"


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

hub pull-request


# Celebrate!