Which command initiates a UDP scan and targets UDP port 123?

Prepare for the Nmap and ZenMap Tests. Access flashcards and multiple choice questions, with hints and explanations for each question. Ensure success in your exam!

Multiple Choice

Which command initiates a UDP scan and targets UDP port 123?

Explanation:
UDP scanning in Nmap is requested with the -sU switch. This tells Nmap to use UDP, rather than TCP, for the probe. Pairing it with -p 123 directs the scan to UDP port 123. The other switches are for TCP-based scans (for example, a TCP connect scan, a TCP NULL/ACK scan), so they won’t perform a UDP scan. Therefore, combining -sU with -p 123 is the right approach to initiate a UDP scan on UDP port 123.

UDP scanning in Nmap is requested with the -sU switch. This tells Nmap to use UDP, rather than TCP, for the probe. Pairing it with -p 123 directs the scan to UDP port 123. The other switches are for TCP-based scans (for example, a TCP connect scan, a TCP NULL/ACK scan), so they won’t perform a UDP scan. Therefore, combining -sU with -p 123 is the right approach to initiate a UDP scan on UDP port 123.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy