Nmap: Difference between revisions

From DWIKI
 
(5 intermediate revisions by the same user not shown)
Line 3: Line 3:
*[https://securitytrails.com/blog/top-15-nmap-commands-to-scan-remote-hosts nmap examples]
*[https://securitytrails.com/blog/top-15-nmap-commands-to-scan-remote-hosts nmap examples]


=FAQ=
=HOWTO=


==ping range==
==Scan subnet for port==
nmap -p 80 192.168.1.0/24
 
 
==Scan all ports==
nmap -p- <host>
 
==Sync scan==
nmap -sS <host>
==ping IP range==
  nmap -sP 192.168.11.10-20
  nmap -sP 192.168.11.10-20
==OS scan==
nmap -O

Latest revision as of 09:12, 18 December 2024

Links

HOWTO

Scan subnet for port

nmap -p 80 192.168.1.0/24


Scan all ports

nmap -p- <host>

Sync scan

nmap -sS <host>

ping IP range

nmap -sP 192.168.11.10-20

OS scan

nmap -O