Skip to main content

Nmap Basic Cheat Sheet







Scan a network and find out which servers and devices are up and running
nmap -sP 192.168.1.0/24
Scan a Single Host
nmap 192.168.1.2
Scan multiple IP address or subnet
nmap 192.168.1.1 192.168.1.2 192.168.1.3
Scan by Excluding a Host
nmap 192.168.1.0/24 --exclude 192.168.1.10
This will Exclude the Host while Scanning
Fast Nmap Scanning for a Network range
nmap -F 192.168.1.10/24
To See Packets send and receving using Nmap
nmap --packet-trace 192.168.1.10
Scan for a Port
nmap -p 22 192.168.1.10
scan for multiple ports
nmap -p 80,22,21,111
Sacn all Ports Using Nmap
nmap -p "*" 192.168.1.10
Hope this will Help you.
If you need to know more just run the command
man nmap

Comments

Popular posts from this blog

New Working Shopping Site SQLi Dorks

Most Important XSS Cheat Sheet

How to Install Mosh on you Linux ec2 Instance