Netcat can grab multiple service strings from a series of ports on a target by connecting to ports in a specific sequence. This sequence starts at port Y and decrements by 1 until reaching port X. Which description best matches this port sequence?

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

Netcat can grab multiple service strings from a series of ports on a target by connecting to ports in a specific sequence. This sequence starts at port Y and decrements by 1 until reaching port X. Which description best matches this port sequence?

Explanation:
Port scanning often involves stepping through a contiguous set of ports to elicit responses. If you start at Y and subtract 1 each time until you reach X, you’re moving to smaller port numbers with every step. That describes a decreasing (descending) sequence from Y down to X. It captures both the continuous range and the directional order the sequence follows. An increasing sequence would go from X up to Y, which isn’t the described order. A random selection wouldn’t be a continuous decrement, and checking only a single port would not gather multiple service strings across ports.

Port scanning often involves stepping through a contiguous set of ports to elicit responses. If you start at Y and subtract 1 each time until you reach X, you’re moving to smaller port numbers with every step. That describes a decreasing (descending) sequence from Y down to X. It captures both the continuous range and the directional order the sequence follows. An increasing sequence would go from X up to Y, which isn’t the described order. A random selection wouldn’t be a continuous decrement, and checking only a single port would not gather multiple service strings across ports.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy