0
0
Cybersecurityknowledge~10 mins

Port scanning with Nmap in Cybersecurity - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the command to scan all ports on a target IP using Nmap.

Cybersecurity
nmap -p [1] 192.168.1.1
Drag options to blanks, or click blank then click option'
A80
B443
C22
D1-65535
Attempts:
3 left
💡 Hint
Common Mistakes
Using a single port number instead of a range.
Omitting the port option entirely.
2fill in blank
medium

Complete the command to perform a TCP SYN scan on a target IP.

Cybersecurity
nmap [1] 192.168.1.1
Drag options to blanks, or click blank then click option'
A-sS
B-sT
C-sV
D-sU
Attempts:
3 left
💡 Hint
Common Mistakes
Using -sU which is for UDP scans.
Using -sT which is a full TCP connect scan.
3fill in blank
hard

Fix the error in the command to scan ports 20 to 25 on a target IP.

Cybersecurity
nmap -p [1] 192.168.1.1
Drag options to blanks, or click blank then click option'
A20,25
B20-25
C20:25
D20_25
Attempts:
3 left
💡 Hint
Common Mistakes
Using a colon or underscore instead of a hyphen.
Using commas which specify separate ports, not a range.
4fill in blank
hard

Fill both blanks to scan a target IP with service version detection and OS detection.

Cybersecurity
nmap [1] [2] 192.168.1.1
Drag options to blanks, or click blank then click option'
A-sV
B-O
C-sS
D-p
Attempts:
3 left
💡 Hint
Common Mistakes
Using port scan options instead of detection options.
Mixing up the order of options.
5fill in blank
hard

Fill all three blanks to create a command that scans ports 80 and 443, performs a TCP connect scan, and outputs results in normal format.

Cybersecurity
nmap [1] -p [2] [3] 192.168.1.1
Drag options to blanks, or click blank then click option'
A-sT
B80,443
C-oN -
D-sS
Attempts:
3 left
💡 Hint
Common Mistakes
Using -sS instead of -sT for TCP connect scan.
Listing ports with a hyphen instead of commas.
Omitting the output format option.