nmap
Purpose
Section titled “Purpose”Scan a host, or a randomly selected target to discover open ports and basic service information.
nmap [IP:RANDOM]Arguments
Section titled “Arguments”- IP — single IPv4 address (example: 177.58.127.159)
- RANDOM — a random IPv4 address (example: random)
Examples
Section titled “Examples”nmap 177.58.127.159Result:
IP: 177.58.127.159ESSID: AstechollyBSSID: A8:F5:91:92:58:E8
HOST PORT FORWARDED STATE SERVICE VERSION---- ---- --------- ----- ------- -------192.168.0.1 0 TRUE OPEN kernel_router 1.0.0192.168.0.2 3306 TRUE CLOSED employees 1.0.0192.168.0.1 8080 FALSE CLOSED http 1.0.010.0.19.8 80 TRUE OPEN http 1.0.010.0.19.1 8080 FALSE CLOSED http 1.0.0172.16.20.1 8080 FALSE CLOSED http 1.0.0nmap randomResult:
IP: 177.58.127.159ESSID: AstechollyBSSID: A8:F5:91:92:58:E8
HOST PORT FORWARDED STATE SERVICE VERSION---- ---- --------- ----- ------- -------192.168.0.1 0 TRUE OPEN kernel_router 1.0.0192.168.0.2 3306 TRUE CLOSED employees 1.0.0192.168.0.1 8080 FALSE CLOSED http 1.0.010.0.19.8 80 TRUE OPEN http 1.0.010.0.19.1 8080 FALSE CLOSED http 1.0.0172.16.20.1 8080 FALSE CLOSED http 1.0.0