Home page logo

nmap-dev logo Nmap Development mailing list archives

nmap target selection questions
From: Dexter Liu <dexliu () us ibm com>
Date: Tue, 24 May 2011 14:53:21 -0700

Hi nmap-dev:

I'm not sure this if this is the best place to post this (so if there's a 
better place please point the way!). I'm trying to use nmap to scan a 
whole bunch of IPs I got from an arp call on Windows. So I'm running 
something like this:

C:\testing\nmap-5.21-win32\nmap-5.21\nmap.exe -sV -sS -sU -p 
T:22,T:23,T:80,T:135,T:139,T:445,T:235,T:61616,U:52311 -O --osscan-guess 
-T 4 -oX nmapoutput,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

nmap fails when at with this error message: nexthost: Failed to 
determine dst MAC address for target QUITTING!

I have a couple of questions:

-First is there a switch or option that lets me continue scanning the rest 
of the IPs even though nmap fails on a particular IP? If was 
the first target I specified, I would have errored out at the beginning 
and gotten zero results
-Second if I specify specific network interfaces with -e (specifically 
lo0), scans as well, but other IPs fail. Is there a way I can 
specify a pool of network interfaces nmap should use when doing scanning, 
so that if one interface fails it can try again on another?
-Also I thought nmap was supposed to automatically figure out interfaces 
to run the scan on. It seems to work the large majority of the time. Why 
did I have to -e for some of them to get results? What are different about 
those IPs?

Thanks thanks thanks much in advance!

Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

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