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:
parent
9375f43e37
commit
3b8b89ffd0
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue