How can you specify a custom network interface to use for scanning and which option achieves this?

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

How can you specify a custom network interface to use for scanning and which option achieves this?

Explanation:
Binding the scan to a specific network interface is done with the -e option followed by the interface name. This directly tells Nmap which NIC to use for sending probes and receiving replies, which is essential on systems with multiple interfaces or VPN connections. The -e switch is the explicit way to select the interface for the scan, making it the best choice for this purpose. The -S option changes the source IP address of the packets rather than which interface is used, so it doesn’t control the NIC. The other listed options either address target input or other behaviors and do not accomplish binding to a particular interface. So, -e <interface> is the correct approach.

Binding the scan to a specific network interface is done with the -e option followed by the interface name. This directly tells Nmap which NIC to use for sending probes and receiving replies, which is essential on systems with multiple interfaces or VPN connections. The -e switch is the explicit way to select the interface for the scan, making it the best choice for this purpose.

The -S option changes the source IP address of the packets rather than which interface is used, so it doesn’t control the NIC. The other listed options either address target input or other behaviors and do not accomplish binding to a particular interface. So, -e is the correct approach.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy