1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 13:55:24 +02:00

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

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
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

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: