|
Nmap Development
mailing list archives
Re: Patch for fastscan with specific services/protocols file
From: Fyodor <fyodor () insecure org>
Date: Tue, 25 Feb 2003 21:01:10 -0800
On Mon, Feb 24, 2003 at 10:31:10PM -0500, Gerard Fowley wrote:
I often need to scan a unique list of tcp/udp/ip services for multiple
hosts (too many to easily pass to -p on the command line). Symlinking
nmap-services works but only allows for one host to be scanned at a time
because I need to symlink to a different services file for each
host.
The present version of Nmap has an undocumented $NMAPDIR environmental
variable you can set. Nmap will look in that directory first for
nmap-services, nmap-protocols, nmap-rpc, and nmap-os-fingerprints. ny
files not found there, are searched for in ~/nmap, and then a
compiled-in location such as /usr/share/nmap . As a last resort, Nmap
will look in the current working directory.
While the environmental variable can be easily used to set
per-nmap-execution service files, I agree that command line options
are often more convenient. So I just added a --datadir option for the
next version of Nmap. That option has even higher priority than the
environmental variable. I also documented it this time.
I hope to release the next version tonight or tomorrow.
Cheers,
-F
---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to
nmap-dev-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).
By Date
By Thread
Current thread:
|