Difference between revisions of "NetMan - nmap"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
results in: | results in: | ||
− | + | ||
+ | 192.168.0.80 => 00:50:56:AF:56:FB | ||
+ | 192.168.0.97 => 00:26:73:78:51:42 | ||
+ | server1.company.internal.local => 3C:D9:2B:70:BC:99 | ||
+ | ... |
Revision as of 13:51, 18 December 2020
Some useful nmap scans
The following command with nmap with root privilegies (or using sudo):
sudo nmap -sP 192.168.0.0/24 | awk '/Nmap scan report for/{printf $5;}/MAC Address:/{print " => "$3;}' | sort
results in:
192.168.0.80 => 00:50:56:AF:56:FB 192.168.0.97 => 00:26:73:78:51:42 server1.company.internal.local => 3C:D9:2B:70:BC:99 ...