Nmap Commands Flashcards

1
Q

nmap -sS scan syn

A

This is a fast technique (also referred to as half-open scanning) as the scanning host requests a connection without acknowledging it. The target’s response to the scan’s SYN packet identifies the port state.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

nmap -sT scan tcp

A

A half-open scan requires Nmap to have privileged access to the network driver so that it can craft packets. If privileged access is not available, Nmap must use the OS to attempt a full TCP connection. This type of scan is less stealthy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

nmap -sU scan udp

A

Scan UDP ports. As these do not use ACKs, Nmap needs to wait for a response or timeout to determine the port state, so UDP scanning can take a long time. A UDP scan can be combined with a TCP scan.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

nmap -p port range

A

Use the -p argument to specify a port range.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

nmap –top-ports

A

scans top ports

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

nmap -sV

A

probes for more information, such as software version.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly