From 3b8b89ffd0ee30aaee495fb5e264d809b498238e Mon Sep 17 00:00:00 2001 From: Peter Jiping Xie Date: Tue, 22 Aug 2023 23:49:21 +1000 Subject: [PATCH] nmap: add `sudo` to `nmap -sn` example (#10623) Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- 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 e4e20b3abd..54aead56f8 100644 --- a/pages/common/nmap.md +++ b/pages/common/nmap.md @@ -8,9 +8,9 @@ `nmap -O {{ip_or_hostname}}` -- Try to determine whether the specified hosts are up (ping scan) and what their names are: +- Try to determine whether the specified hosts are up (ping scan) and what their names and MAC addresses are: -`nmap -sn {{ip_or_hostname}} {{optional_another_address}}` +`sudo nmap -sn {{ip_or_hostname}} {{optional_another_address}}` - Also enable scripts, service detection, OS fingerprinting and traceroute: