metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#scan_host

TODO: this is called for each IP in the batch.  This will send all of the
necessary probes.  If something different must be done for each IP, do it
here, otherwise remove it.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/auxiliary/scanner/udp/example.rb

Contribute

# Make a new branch

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


# Commit to git

git add modules/auxiliary/scanner/udp/example.rbgit commit -m "better docs for MetasploitModule#scan_host"


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

hub pull-request


# Celebrate!