Home page logo
/

metasploit logo 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


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault