Port Specification Flashcards

1
Q

Port scan for port x

A

-p

nmap 192.168.1.1 -p 21

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

Port range

A

-p

nmap 192.168.1.1 -p 21-100

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

Port scan multiple TCP and UDP ports

A

-p

nmap 192.168.1.1 -p U:53,T:21-25,80

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

Port scan all ports

A

-p-

nmap 192.168.1.1 -p-

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

Port scan from service name

A

-p

nmap 192.168.1.1 -p http,https

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

Fast port scan (100 ports)

A

-F

nmap 192.168.1.1 -F

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

Port scan the top x ports

A

–top-ports

nmap 192.168.1.1 –top-ports 2000

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

Leaving off initial port in range

makes the scan start at port 1

A

-p-65535

nmap 192.168.1.1 -p-65535

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

Leaving off end port in range

makes the scan go through to port 65535

A

-p0-

nmap 192.168.1.1 -p0-

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