Detect service versions
Probe open ports to find out which service and version runs there
nmap -sV 192.168.1.1
- tool
- nmap15 commands
More nmap commands
-
nmap -O 192.168.1.1Guess the operating system of the host, needs root
-
nmap -A 192.168.1.1Turn on OS detection, version detection, default scripts and traceroute
-
nmap 192.168.1.0/24Scan all hosts in a /24 subnet
-
nmap -sn 192.168.1.0/24Find hosts that are up, without scanning their ports
-
nmap -p 22,80,443,8080 192.168.1.1Scan only the ports in the list