In NetCat, what does Zero-I/O mode (-z) achieve?

Study for the SANS560 GIAC Penetration Tester (GPEN) Test. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Multiple Choice

In NetCat, what does Zero-I/O mode (-z) achieve?

Explanation:
Zero-I/O mode in NetCat is used for quick port discovery. It tells nc to attempt connections to the specified ports but not to send any data after the connection is made, and to close the connection immediately if the port is open. This lets you determine which ports are listening without transferring a payload or establishing a full session. That’s why the option described as sending no data and just probing for open ports is the best fit. The other behaviors—establishing a reverse shell, logging activity, or sending a continuous data stream—aren’t what this mode does.

Zero-I/O mode in NetCat is used for quick port discovery. It tells nc to attempt connections to the specified ports but not to send any data after the connection is made, and to close the connection immediately if the port is open. This lets you determine which ports are listening without transferring a payload or establishing a full session. That’s why the option described as sending no data and just probing for open ports is the best fit. The other behaviors—establishing a reverse shell, logging activity, or sending a continuous data stream—aren’t what this mode does.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy