Security Basics mailing list archives

Re: Nmap command line syntax ?


From: "Jacob Jennings" <jacob.r.jennings () gmail com>
Date: Mon, 25 Feb 2008 12:21:25 -0600

Everything you are asking for can be found here:
http://nmap.org/man/

-iL <inputfilename>

Entries can be in any of the formats accepted by Nmap on the command
line (IP address, hostname, CIDR, IPv6, or octet ranges). Each entry
must be separated by one or more spaces, tabs, or newlines.

--open

Show only open/possibly open ports

-oN <filespec>

Output to file

Cheers


On Sat, Feb 23, 2008 at 7:20 PM, Richard Pawly <rpawly () gmail com> wrote:
Can someone pleas help me with a syntax to start Nmap to do the following:

 Import ip address list from file (btw what format and contents should
 the file contain)(can i use DNS name??)
 export results to a file ( i only need to see open ports if thats a option)
 to still scan if does not respond to ping
 i only need to scan tcp/udp ports on routers
 can i scan 10,000 hosts in one command line, or 1 file import of hosts??

 I appreciate any and all direction.

 Thx

 Rich



Current thread: