Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:




nmap-dev logo 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:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]