metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#w_get_ip
Get IP for given host with nslookup, return array
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/post/multi/gather/dns_srv_lookup.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-w_get_ip-for-pr
# Commit to gitgit add modules/post/multi/gather/dns_srv_lookup.rbgit commit -m "better docs for MetasploitModule#w_get_ip"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-w_get_ip-for-pr
hub pull-request
# Celebrate!