QuestionQ57

Reconnaissance and Enumeration

A penetration tester must run an Nmap scan to identify port states for both TCP and UDP services. Which command should the tester use?

  • A nmap -sU -sW -p 1-65535 example.com
  • B nmap -sU -sY -p 1-65535 example.com
  • C nmap -sU -sT -p 1-65535 example.com
  • D nmap -sU -sN -p 1-65535 example.com
Explanation

Nmap’s -sU option performs UDP scanning, and -sT performs a TCP connect scan. Combining them scans both UDP and TCP ports in the specified range.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!