NMAP

From lathama
Jump to: navigation, search

https://nmap.org/

Examples

Single IP

nmap 192.168.1.1

Range of IP

nmap 192.168.1.1-20

Subnet

nmap 192.168.1.0/24

Single Port

nmap -p 22 192.168.1.1

Range of ports

nmap -p 1-100 192.168.1.1

100 common ports (Fast)

nmap -F 192.168.1.1

All 65535 ports

nmap -p- 192.168.1.1

TCP connect

nmap -sT 192.168.1.1

TCP SYN scan (default)

nmap -sS 192.168.1.1

UDP ports

nmap -sU -p 123,161,162 192.168.1.1

Sponsorship and Advertising space here. Please contact me if interested.