Metasploit mailing list archives
How to find host in the database (db_host )
From: eski mo <eskimo.ganges () gmail com>
Date: Tue, 6 Apr 2010 14:56:22 +0500
Hi grp want to find a method which returns true if supplied ip_address is found in the hosts table (db_hosts) of the database .. I tried msf> db_create <snip>.. msf > irb [*] Starting IRB shell...
me = framework.db me.connect({})
want to do something like
me.has_host?('192.168.1.1') (should return true/false).... but not working
any clues? regards eskiIVI0 _______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
Current thread:
- How to find host in the database (db_host ) eski mo (Apr 06)
- Re: How to find host in the database (db_host ) HD Moore (Apr 06)