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 Hackers: Re: Promiscuous mode detection

Re: Promiscuous mode detection

From: Andrew Brown <atatat_at_atatdot.net>
Date: Thu, 4 Mar 1999 16:34:08 -0500

>The Attached src should do what you ask

the attached source only detects interfaces in promiscuous mode on the
local machine.

this can be accomplished by doing

% echo "interface(s)" `ifconfig -a | grep -B3 PROMISC | grep -i mtu | cut -d' ' -f1` "are in promiscuous mode"

and reading the one line of output. remove the -B3 to deal with just
about every other flavor unix.

is what you really want, bruce, something that will detect them
remotely? that's a lot harder...kinda like trying to guess if the
person sitting next to you is eavesdropping on your phone
conversation.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior_at_daemon.org             * "ah!  i see you have the internet
twofsonet_at_graffiti.com (Andrew Brown)                that goes *ping*!"
andrew_at_crossbar.com       * "information is power -- share the wealth."
Received on Mar 04 1999
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos