PT0-003 · Question #95
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?
The correct answer is C. nmap -sU -sT -p 1-65535 example.com. 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…
Question
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?
Options
- Anmap -sU -sW -p 1-65535 example.com
- Bnmap -sU -sY -p 1-65535 example.com
- Cnmap -sU -sT -p 1-65535 example.com
- Dnmap -sU -sN -p 1-65535 example.com
How the community answered
(27 responses)- A4% (1)
- C93% (25)
- D4% (1)
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 This command will scan both TCP and UDP ports from 1 to 65535 on the target example.com. Combining -sU and -sT ensures that both types of services are scanned.
Topics
Community Discussion
No community discussion yet for this question.