Difference between revisions of "NetMan - nmap"
Jump to navigation
Jump to search
(Created page with "* [https://nmap.org/book/man.html Nmap Reference Guide]") |
|||
Line 1: | Line 1: | ||
− | * [https://nmap.org/book/man.html Nmap Reference Guide] | + | *[https://nmap.org/book/man.html Nmap Reference Guide] |
+ | |||
+ | == Some useful nmap scans == | ||
+ | The following command with ''nmap'' with ''root'' privilegies (or using ''sudo''): | ||
+ | |||
+ | |||
+ | <code>sudo nmap -sP 192.168.0.0/24 | awk '/Nmap scan report for/{printf $5;}/MAC Address:/{print " => "$3;}' | sort</code> | ||
+ | |||
+ | |||
+ | results in: | ||
+ | <br /> |
Revision as of 13:50, 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: