ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 35 - PT0-003 discussion

Report
Export

A penetration tester needs to launch an Nmap scan to find the state of the port for both TCP and UDP services. Which of the following commands should the tester use?

A.
nmap -sU -sW -p 1-65535 example.com
Answers
A.
nmap -sU -sW -p 1-65535 example.com
B.
nmap -sU -sY -p 1-65535 example.com
Answers
B.
nmap -sU -sY -p 1-65535 example.com
C.
nmap -sU -sT -p 1-65535 example.com
Answers
C.
nmap -sU -sT -p 1-65535 example.com
D.
nmap -sU -sN -p 1-65535 example.com
Answers
D.
nmap -sU -sN -p 1-65535 example.com
Suggested answer: C

Explanation:

To find the state of both TCP and UDP ports using Nmap, the appropriate command should combine both TCP and UDP scan options:

Understanding the Options:

-sU: Performs a UDP scan.

-sT: Performs a TCP connect scan.

Command Explanation:

Command: nmap -sU -sT -p 1-65535 example.com

Comparison with Other Options:

-sW: Initiates a TCP Window scan, not relevant for identifying the state of TCP and UDP services.

-sY: Initiates a SCTP INIT scan, not relevant for this context.

-sN: Initiates a TCP Null scan, which is not used for discovering UDP services.

asked 02/10/2024
Haider Nassiry
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first