Ready to take your network scanning skills to the next level? ππ Here's a breakdown of essential Nmap commands to help you become a scanning ninja! π€Ίπ»
πΉ Basic Scan πΉ
nmap target
Discover open ports on a target.
πΉ Intense Scan πΉ
nmap -T4 -A target
Aggressive scan with OS detection and version information.
πΉ UDP Scan πΉ
nmap -sU target
Scan UDP ports for hidden vulnerabilities.
πΉ Port Range Scan πΉ
nmap target -p 1-100
Scan a range of ports.
πΉ Operating System Detection πΉ
nmap -O target
Identify the target's operating system.
πΉ Service Version Detection πΉ
nmap -sV target
Retrieve service version information.
πΉ Script Scanning πΉ
nmap --script=<script> target
Execute custom NSE scripts for specific tasks.
πΉ Output to File πΉ
nmap -oN output.txt target
Save scan results to a file.
πΉ Aggressive Timing πΉ
nmap -T4 target
Speed up the scan with aggressive timing.
πΉ Ping Scan πΉ
nmap -sn target
Check if hosts are up without scanning ports.
πΉ Exclude Hosts πΉ
nmap target --exclude host
Exclude specific hosts from the scan.
πΉ Scan a Network Range πΉ
nmap 192.168.1.0/24
Scan an entire network range.
πΉ Firewall Evasion πΉ
nmap -f target
Evade firewalls using fragmentation.
πΉ Timing Templates πΉ
nmap --timing <0-5> target
Adjust scan timing with templates.
πΉ Verbose Output πΉ
nmap -v target
Get detailed verbose output.
πΉ Fast Scan πΉ
nmap -F target
Scan fewer ports, suitable for a quick network overview.
πΉ Traceroute πΉ
nmap --traceroute target
Perform a traceroute to discover the path to the target.
πΉ Exclude Ports πΉ
nmap target --exclude-ports <port1,port2,...>
Exclude specific ports from the scan.
πΉ Scan Multiple Targets πΉ
nmap target1 target2 target3
Scan multiple targets in a single command.
πΉ Output in XML Format πΉ
nmap -oX output.xml target
Save scan results in XML format for easy parsing.
πΉ Ping-Only Scan πΉ
nmap -sn target
Perform a ping-only scan to check host availability.
πΉ Scan IPv6 Addresses πΉ
nmap -6 target
Scan IPv6 addresses instead of IPv4.
πΉ Aggressive Script Scan πΉ
nmap -A target
Document your findings! Save scan results for analysis.
Remember, with great power comes great responsibility. Always ensure you have proper authorization before scanning any network or system! π€π
Perform an aggressive scan with OS detection, version detection, script scanning, and traceroute.
These are just some of the powerful Nmap commands at your disposal. Which one is your go-to for network reconnaissance? Share your favorites and tips below! ππ¬
Top comments (0)