# NMAP

#### #Quick Scan (1)

nmap -v -sC -sV -O -oA /home/users/Nmap/nmap.n

#### #Suspected blocked ports(2)

nmap -v -sC -sV -O **-Pn** -oA /home/users/Nmap/nmap.n

#### #Scan higher ports (3)

nmap -v -sC -sV -O **-p-** -oA /home/users/Nmap/nmap.n

#### #Aggressive scan of found ports (4)

nmap-v  -A -p80,443,445 -O -oA /home/users/Nmap/nmap.n



Ports 1 - 65535

-sV version scanning&#x20;

-sC script scanning&#x20;

-sT TCP

-sU UDP

-sV Services

-O OS Check

-A aggressive&#x20;

-T speed default is 3, 0 = 0 slow, 5=insane&#x20;

-p- all ports&#x20;

-Pn no host resolution, checks all ports regardless - firewall

-oA Output in all formats

#### script location

/usr/share/nmap/scripts

ls -ls /usr/share/nmap/scripts/smb\*
