Which flag enables IPv6 scanning, and what is a correct example of its usage?

Study for the Nmap/ZenMap Switches Test. Prepare with flashcards and multiple choice questions, each question provides hints and explanations. Get ready for your exam!

Multiple Choice

Which flag enables IPv6 scanning, and what is a correct example of its usage?

Explanation:
The flag that makes Nmap use IPv6 for targets is -6. By forcing the address family to IPv6, Nmap will connect to and scan IPv6 addresses rather than IPv4 ones. The example nmap -6 2001:db8::1 correctly uses an IPv6 literal as the target, demonstrating how to apply the flag in practice. The other options aren’t correct because -4 specifically forces IPv4, not IPv6; there is no standard -8 option in Nmap for IPv6; and saying -6 enables IPv4 scanning conflicts with what -6 does, as shown by the IPv4 example.

The flag that makes Nmap use IPv6 for targets is -6. By forcing the address family to IPv6, Nmap will connect to and scan IPv6 addresses rather than IPv4 ones. The example nmap -6 2001:db8::1 correctly uses an IPv6 literal as the target, demonstrating how to apply the flag in practice.

The other options aren’t correct because -4 specifically forces IPv4, not IPv6; there is no standard -8 option in Nmap for IPv6; and saying -6 enables IPv4 scanning conflicts with what -6 does, as shown by the IPv4 example.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy