Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: -PN network scan
From: Daniel Miller <bonsaiviking () gmail com>
Date: Fri, 20 May 2011 06:51:49 -0500

Saad,

-PN is a no-ping scan. It's tricky to find, since it implies the absence of
code to do a ping. The relevant code to the option is in nmap.cc, line 1064,
which sets o.pingtype = PINGTYPE_NONE. o.pingtype is an integer that holds a
number of flag values. Using -PN blanks them all out, so that when
scan_engine.cc tests for any of the valid ping types, none of them is found.

Dan

On Fri, May 20, 2011 at 4:35 AM, Saad Talaat <saadtalaat () gmail com> wrote:

I just need to know where is the -PN scan code?

--
Saad Talaat <http://www.saadtalaat.wordpress.com>
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


  By Date           By Thread  

Current thread:
  • -PN network scan Saad Talaat (May 20)
    • Re: -PN network scan Daniel Miller (May 20)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]