]> git.proxmox.com Git - pmg-docs.git/commitdiff
fix #4265: nmap: suggest usin -Pn over depreacated -P0
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Sep 2022 10:09:48 +0000 (12:09 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Sep 2022 10:09:49 +0000 (12:09 +0200)
While, unlike the report suggests, they're currently (nmap 7.91 from
Bullseye) *exactly* the same, besides a deprecation warning in
verbose mode, it still makes sense to recommend the newer syntax
already which was present already in current oldoldstable Debian
Stretch, so really not bleeding edge anymore.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
nmap.adoc

index 3747254a6eb19ed379a87cb4521e264e0dde1152..7e6cc273a507f7df6492460371d4abc376f58350 100644 (file)
--- a/nmap.adoc
+++ b/nmap.adoc
@@ -9,7 +9,7 @@ to see if the required ports are open.
 
 .Test Razor port (tcp port 2703):
 ----
-# nmap -P0 -sS -p 2703 c301.cloudmark.com
+# nmap -Pn -sS -p 2703 c301.cloudmark.com
 Starting Nmap 7.70 ( https://nmap.org ) at 2020-04-14 12:20 CEST
 Nmap scan report for c301.cloudmark.com (208.83.137.114)
 Host is up (0.13s latency).