jcadima
1/6/2016 - 5:12 PM

Nmap scanning examples

Nmap scanning examples

SCANNING

find you home network IP:
$ netstat -nr | grep default
will give you something like  10.1.10.1

use that result to find live hosts in your network:
$ nmap -sP 10.1.10.*


detect status ports:
$ nmap 10.1.10.1  


Scan multiple targets:
$ nmap ip1  ip2  ip3 ... ipn


Scan a range of IPs
$ nmap 10.1.10.1-100


Scan an entire subnet
$ nmap 10.1.10.1/24


Scan list of IPs in  list.txt
$ nmap -iL list.txt


Agressive Scan
$ nmap -A 10.3.3.2