Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

nmap Cheat Sheet, Study notes of Statistics

nmap 192.168.1.1 -n. Never do DNS resolution. Host Discovery. Nmap Cheat Sheet. Switch. Example. Description nmap 192.168.1.1. Scan a single IP.

Typology: Study notes

2021/2022

Uploaded on 07/05/2022

carol_78
carol_78 🇦🇺

4.8

(53)

1K documents

Partial preview of the text

Download nmap Cheat Sheet and more Study notes Statistics in PDF only on Docsity! nmap Cheat Sheet See-Security Technologies nmap Cheat Sheet Built by Yuval (tisf) Nativ from See-Security's Hacking Defined Experts program This nmap cheat sheet is uniting a few other cheat sheets Basic Scanning Techniques • Scan a single target nmap [target] • Scan multiple targets nmap [target1,target2,etc] • Scan a list of targets nmap -iL [list.txt] • Scan a range of hosts nmap [range of IP addresses] • Scan an entire subnet nmap [IP address/cdir] • Scan random hosts nmap -iR [number] • Excluding targets from a scan nmap [targets] –exclude [targets] • Excluding targets using a list nmap [targets] –excludefile [list.txt] • Perform an aggressive scan nmap -A [target] • Scan an IPv6 target nmap -6 [target] Discovery Options • Perform a ping scan only nmap -sP [target] • Don’t ping nmap -PN [target] • TCP SYN Ping nmap -PS [target] • TCP ACK ping nmap -PA [target] • UDP ping nmap -PU [target] • SCTP Init Ping nmap -PY [target] • ICMP echo ping nmap -PE [target] • ICMP Timestamp ping nmap -PP [target] • ICMP address mask ping nmap -PM [target] • IP protocol ping nmap -PO [target] • ARP ping nmap -PR [target] • Traceroute nmap –traceroute [target] • Force reverse DNS resolution nmap -R [target] • Disable reverse DNS resolution nmap -n [target] • Alternative DNS lookup nmap –system-dns [target] • Manually specify DNS servers nmap –dns-servers [servers] [target] • Create a host list nmap -sL [targets] nmap Cheat Sheet See-Security Technologies Firewall Evasion Techniques • Fragment packets nmap -f [target] • Specify a specific MTU nmap –mtu [MTU] [target] • Use a decoy nmap -D RND: [number] [target] • Idle zombie scan nmap -sI [zombie] [target] • Manually specify a source port nmap –source-port [port] [target] • Append random data nmap –data-length [size] [target] • Randomize target scan order nmap –randomize-hosts [target] • Spoof MAC Address nmap –spoof-mac [MAC|0|vendor] [target] • Send bad checksums nmap –badsum [target] Version Detection • Operating system detection nmap -O [target] • Attempt to guess an unknown nmap -O –osscan-guess [target] • Service version detection nmap -sV [target] • Troubleshooting version scans nmap -sV –version-trace [target] • Perform a RPC scan nmap -sR [target] Output Options • Save output to a text file nmap -oN [scan.txt] [target] • Save output to a xml file nmap -oX [scan.xml] [target] • Grepable output nmap -oG [scan.txt] [target] • Output all supported file types nmap -oA [path/filename] [target] • Periodically display statistics nmap –stats-every [time] [target] • 133t output nmap -oS [scan.txt] [target] Ndiff • Comparison using Ndiff ndiff [scan1.xml] [scan2.xml] • Ndiff verbose mode ndiff -v [scan1.xml] [scan2.xml] • XML output mode ndiff –xml [scan1.xm] [scan2.xml]
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved