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:
edgeos



Nmap Development: Re: Running NMAP as a non root user - patch (capabilities)

Re: Running NMAP as a non root user - patch (capabilities)

From: Martin Mačok <martin.macok_at_underground.cz>
Date: Tue, 17 May 2005 12:19:01 +0200

On Mon, May 16, 2005 at 11:54:22AM -0700, Fyodor wrote:

> Added new --privileged command-line option and NMAP_PRIVILEGED
> environmental variable. Either of these tell Nmap to assume that
> the user has full privileges to execute raw packet scans, OS
> detection and the like.

Anyway, we could check if we have required capabilities if we are not
root. This is the way we do it (while using custom kernel module that
gives those capabilities to specified uids/gids):

http://Xtrmntr.org/ORBman/tmp/nmap-3.51-noroot_autocap.patch
(applies to 3.81 too)

Martin Mačok
ICT Security Consultant

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Received on May 17 2005

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos