nmap: add `sudo` to `nmap -sn` example (#10623)

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
pull/23/head
Peter Jiping Xie 2023-08-22 23:49:21 +10:00 committed by GitHub
parent 9375f43e37
commit 3b8b89ffd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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: