From 258795e2e0e287dbedf43567b8b14a5fd8c966f5 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 28 Sep 2022 12:09:48 +0200 Subject: [PATCH] fix #4265: nmap: suggest usin -Pn over depreacated -P0 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 --- nmap.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmap.adoc b/nmap.adoc index 3747254..7e6cc27 100644 --- 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).