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.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/auxiliary/scanner/udp/example.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-scan_host-for-pr
# Commit to gitgit add modules/auxiliary/scanner/udp/example.rbgit commit -m "better docs for MetasploitModule#scan_host"
# Open pull requestgem 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!