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

msf > irb
[*] Starting IRB shell...
me = framework.db

want to do something like
me.has_host?('') (should return true/false).... but not working

any clues?


  By Date           By Thread  

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