Metasploit mailing list archives

Re: using db_nmap to scan database addresses


From: Marshal Graham <marshal.graham () gmail com>
Date: Fri, 9 Sep 2011 22:11:33 -0500

Thanks to both of you, your suggestions work. Carlos the resource file
is just what I needed. I don't know how useful it will be for others
but it fits my needs perfectly.

Marshal

On Fri, Sep 9, 2011 at 6:54 PM, Carlos Perez
<dark0perator () pauldotcom com> wrote:


This should get you going, if a lot of people feel like it could be useful I can make it in to a plugin so you will 
have the commands at hand

Her
On Sep 9, 2011, at 7:02 PM, Marshal Graham wrote:

This seems like a simple task but I can't seem to figure it out. Can I
run db_nmap against the IP addresses in the database? Here's the
scenario, I run a scanner like ssh_login or smb_version and it
populates the database with addresses. I would like to take those
addresses and run db_nmap to find out what other services are
listening on those hosts. I have tried some combinations of backticks
and pipes but neither seems to work. In my mind, the command would be
similiar to this
db_nmap -sS -Pn -A `hosts -c address`

but that does not seem to work. Thanks for any ideas.

Marshal
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


Current thread: