nmap:nmap
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nmap:nmap [2020/06/08 23:24] – peter | nmap:nmap [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== NMAP ====== | ====== NMAP ====== | ||
- | |||
- | [[NMAP: | ||
===== Nmap Target Selection ===== | ===== Nmap Target Selection ===== | ||
Line 21: | Line 19: | ||
---- | ---- | ||
- | ==== Nmap Port Selection ==== | + | ===== Nmap Port Selection |
|Scan a single Port|nmap -p 22 192.168.1.1| | |Scan a single Port|nmap -p 22 192.168.1.1| | ||
Line 30: | Line 28: | ||
---- | ---- | ||
- | === Nmap Port Scan types === | + | ===== Nmap Port Scan types ===== |
|Scan using TCP connect|nmap -sT 192.168.1.1| | |Scan using TCP connect|nmap -sT 192.168.1.1| | ||
Line 54: | Line 52: | ||
---- | ---- | ||
- | == Service and OS Detection == | + | ===== Service and OS Detection |
Service and OS detection rely on different methods to determine the operating system or service running on a particular port. | Service and OS detection rely on different methods to determine the operating system or service running on a particular port. | ||
Line 70: | Line 68: | ||
---- | ---- | ||
- | == Nmap Output Formats == | + | ===== Nmap Output Formats |
|Save default output to file|nmap -oN outputfile.txt 192.168.1.1| | |Save default output to file|nmap -oN outputfile.txt 192.168.1.1| | ||
Line 83: | Line 81: | ||
---- | ---- | ||
- | == Digging deeper with NSE Scripts == | + | ===== Digging deeper with NSE Scripts |
|Scan using default safe scripts|nmap -sV -sC 192.168.1.1| | |Scan using default safe scripts|nmap -sV -sC 192.168.1.1| | ||
Line 98: | Line 96: | ||
---- | ---- | ||
- | == Search for DDOS reflection UDP services == | + | ===== Search for DDOS reflection UDP services |
|Scan for UDP DDOS reflectors|nmap –sU –A –PN –n –pU: | |Scan for UDP DDOS reflectors|nmap –sU –A –PN –n –pU: | ||
Line 106: | Line 104: | ||
---- | ---- | ||
- | == HTTP Service Information == | + | ===== HTTP Service Information |
|Gather page titles from HTTP services|nmap --script=http-title 192.168.1.0/ | |Gather page titles from HTTP services|nmap --script=http-title 192.168.1.0/ | ||
Line 116: | Line 114: | ||
---- | ---- | ||
- | == Detect Heartbleed SSL Vulnerability == | + | ===== Detect Heartbleed SSL Vulnerability |
|Heartbleed Testing|nmap -sV -p 443 --script=ssl-heartbleed 192.168.1.0/ | |Heartbleed Testing|nmap -sV -p 443 --script=ssl-heartbleed 192.168.1.0/ | ||
Line 124: | Line 122: | ||
---- | ---- | ||
- | ===== IP Address information ===== | + | ====== IP Address information |
Gather information related to the IP address and netblock owner of the IP address. | Gather information related to the IP address and netblock owner of the IP address. |
nmap/nmap.1591658679.txt.gz · Last modified: 2020/07/15 09:30 (external edit)