Nma Flashcards

1
Q

‘nmap 192.168.1.1’

A

Scans a single IP

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

‘nmap 192.168.1.1 192.168.2.1’

A

Scans specified IPs

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

‘nmap 192.168.1.1-254’

A

Scans the range

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

‘nmap scanme.nmap.org’

A

Scans the scanme.nmap.org domain

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

‘nmap 192.168.1.0/24’

A

Scans using the CIDR notation

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

‘nmap -iL targets.txt’

A

Scans targets from the targets.txt file

-iL switch is ‘Input List’

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

‘nmap -iR 100’

A

Scans 100 random targets

-iR switch chooses a certain number of random targets

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

‘nmap –exclude 192.168.1.1’

A

Excludes listed hosts

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

‘nmap 192.168.1.1 -sS’

A

TCP SYN port scan (Default)

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

‘nmap 192.168.1.1 -sT’

A

TCP connect port scan

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

‘nmap 192.168.1.1 -sU’

A

UDP Port Scan

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

‘nmap 192.168.1.1 -sA’

A

TCP ACK Port Scan

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

‘nmap 192.168.1.1 -sW’

A

TCP Window port scan

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

‘nmap 192.168.1.1 -sM’

A

TCP Maimon Port Scan

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

‘nmap 192.168.1.1 -p 21’

A

Port scan for port 21

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

‘nmap 192.168.1.1 -p 21-100’

A

Scans port range 21-100

17
Q

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

A

Scans UDP port 53 and TCP Port 21 and 80

18
Q

‘nmap 192.168.1.1 192.168.1.1 -p-‘

A

Port scans all ports

19
Q

‘nmap 192.168.1.1 -p http,https’

A

Port scan for service names

20
Q

‘nmap 192.168.1.1 -F’

A

Fast port scan (100 ports)

21
Q

‘nmap 192.168.1.1 –top-ports 2000’

A

Port scan the top x ports

22
Q

‘nmap 192.168.1.1 -p-65535’

A

Leaving off initial port in range makes the scan start at port 1

23
Q

‘nmap 192.168.1.1 -p0-‘

A

Leaving off end port in rage makes the scan through to port 65535

24
Q

‘nmap 192.168.1.1 -sV’

A

Attempts to determine the version of the service running on the port

25
Q

‘nmap 192.168.1.1 -sV –version-intensity 8’

A

Intensity level 0 to 9.

Higher number increases possibility of correctness

26
Q

‘nmap 192.168.1.1 -sV –version-light’

A

Enables light mode. Lower possibility of correctness. Faster