Results 1 to 5 of 5

Thread: Nmap no ping

  1. #1
    Junior Member
    Join Date
    May 2008
    Posts
    37

    Default Nmap no ping

    Is the nmap command for no ping
    nmap -P0 or nmap -PN

    the first one is P zero not P O
    DNA + hacker = Life hacker

  2. #2
    Senior Member
    Join Date
    Apr 2008
    Posts
    2,008

    Default

    Quote Originally Posted by Basic204 View Post
    Is the nmap command for no ping
    nmap -P0 or nmap -PN

    the first one is P zero not P O
    -P0 will treat all hosts as up and therefore not ping them, but as far as I remember -PN will also disable host enumeration.
    -Monkeys are like nature's humans.

  3. #3
    Member
    Join Date
    Sep 2008
    Posts
    306

    Default

    man nmap:

    Host discovery:

    -PN: Treat all hosts as online -- skip host discovery
    -P0 [protocoll list]: IP Protocol Ping
    Be sensitive in choosing where you ask your question. You are likely to be ignored, or written off as a loser, if you:

    * post your question to a forum where it's off topic
    * post a very elementary question to a forum where advanced technical questions are expected, or vice-versa
    * cross-post to too many different newsgroups
    * post a personal e-mail to somebody who is neither an acquaintance of yours nor personally responsible for solving your problem

  4. #4
    Member hawaii67's Avatar
    Join Date
    Feb 2006
    Posts
    318

    Default

    -PN (No ping)

    This option skips the Nmap discovery stage altogether. Normally, Nmap uses this stage to determine active machines for heavier scanning. By default, Nmap only performs heavy probing such as port scans, version detection, or OS detection against hosts that are found to be up. Disabling host discovery with -PN causes Nmap to attempt the requested scanning functions against every target IP address specified. So if a class B sized target address space (/16) is specified on the command line, all 65,536 IP addresses are scanned. Proper host discovery is skipped as with the list scan, but instead of stopping and printing the target list, Nmap continues to perform requested functions as if each target IP is active. For machines on a local ethernet network, ARP scanning will still be performed (unless --send-ip is specified) because Nmap needs MAC addresses to further scan target hosts. This option flag used to be P0 (uses zero), but was renamed to avoid confusion with protocol ping's PO (uses the letter O) flag.
    Don't eat yellow snow :rolleyes:

  5. #5
    Senior Member
    Join Date
    Apr 2008
    Posts
    2,008

    Default

    Quote Originally Posted by hawaii67 View Post
    This option flag used to be P0 (uses zero), but was renamed to avoid confusion with protocol ping's PO (uses the letter O) flag.
    I see, relied on online man pages for my answer and as usually most of them seem to be outdated.
    -Monkeys are like nature's humans.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •