nmap network mapper

nmap ist ein Scanner für ein Netzwerk. Er kann zum Beispiel eingesetzt werden um alle Rechner in einem Netzwerk zu suchen.

Das folgende Beispiel ist ein Ping Scan. Nmap sendet dafür ein ping zu jeder möglichen IP Adresse in einem Bereich von Adressen. Wenn es eine Antwort vom Host gibt, dann wird dieser Host mit seiner IP Adresse, MAC Adresse und dem Herstellernamen ausgegeben.

sudo nmap -sP 192.168.1.0/24

Starting Nmap 7.01 ( https://nmap.org ) at 2017-01-14 16:17 CET
Nmap scan report for 192.168.1.1
Host is up (0.00087s latency).
MAC Address: 00:1F:3F:2C:A9:4A (AVM GmbH)
Nmap scan report for fritz.box (192.168.1.3)
Host is up (0.0016s latency).
MAC Address: 08:96:D7:6B:56:D7 (AVM GmbH)
Nmap scan report for 192.168.1.5
Host is up (0.0018s latency).
MAC Address: 00:15:99:AC:88:05 (Samsung Electronics)
Nmap done: 256 IP addresses (xyz hosts up) scanned in 6.46 seconds

Das nächste Beispiel zeigt Details zu einem bestimmten Host an:

nmap -A -T4 192.168.1.201

Starting Nmap 7.01 ( https://nmap.org ) at 2017-01-14 16:37 CET
Nmap scan report for 192.168.1.201
Host is up (0.024s latency).
Not shown: 997 closed ports
PORT   STATE SERVICE VERSION
22/tcp open  ssh     Dropbear sshd 2015.67 (protocol 2.0)
53/tcp open  domain  dnsmasq 2.73
| dns-nsid:
|_  bind.version: dnsmasq-2.73
80/tcp open  http    LuCI Lua http config
|_http-title: Site doesn't have a title (text/html).
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 68.33 seconds

[1] Dokumentation nmap