From fe3577bb4e6c6b5215fef27618b20c835a347ce9 Mon Sep 17 00:00:00 2001 From: Fazle Arefin Date: Sun, 4 Aug 2024 21:51:47 +1000 Subject: [PATCH] nmap: edit page (#13344) Co-authored-by: spageektti --- pages/common/nmap.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/nmap.md b/pages/common/nmap.md index 63f32d85a..a0c73373a 100644 --- a/pages/common/nmap.md +++ b/pages/common/nmap.md @@ -12,9 +12,9 @@ `nmap -T5 -sn {{192.168.0.0/24|ip_or_hostname1,ip_or_hostname2,...}}` -- Enable OS detection, version detection, script scanning, and traceroute: +- Enable OS detection, version detection, script scanning, and traceroute of hosts from a file: -`sudo nmap -A {{ip_or_hostname1,ip_or_hostname2,...}}` +`sudo nmap -A -iL {{path/to/file.txt}}` - Scan a specific list of ports (use `-p-` for all ports from 1 to 65535):