Tuesday, September 21, 2021

 NMap command to remember


NMAP -sP 192.168.1.0/24 = to ping all systems in that range

NMAP -sT -p 80,443 192.168.1.0/24 = search all IPs for defined open ports

sudo NMAP -sS -p 80,443 192.168.1.0/24 = stealth search all IPs for defined open ports

sudo NMAP -sS 192.168.1.90 = stealth search for all open ports, best to do this one machine at a time

sudo NMAP -O 192.168.1.90 = OS detection

sudo NMAP -A 192.168.1.90 = OS detection

hide yourself, -D sets the decoy IP address

sudo NMAP -sS -D 192.168.5.5 192.168.1.22

check vulnerabilities in systems

sudo NMAP --script vuln 192.168.1.90





No comments:

Post a Comment