Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: NSE Failed to resolve hostname
From: David Fifield <david () bamsoftware com>
Date: Fri, 25 Mar 2011 05:16:26 -0700

On Fri, Mar 25, 2011 at 08:24:43AM +0200, Dan wrote:
Hello everybody,

 I’m working on a script that takes the host argument and combines it
with some variations and then runs some tests on those target names.
The script works fine if the hostname is valid, but otherwise the
script fails to run.
Changing the hostrule into portrule isn’t an option because if the
targeted port isn’t open, the script won’t run.

Perhaps run with -Pn to disable host discovery? Another option is to use
a prerule instead of hostrule and give the names as a script argument.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

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