Your scan has been running for one hour. When observing your scan’s progress, you notice that there are several URLs that match the following pattern: .../doAction.pl?action=viewpromotions&timestamp=14:00&n=1 .../doAction.pl?action=viewpromotions&timestamp=15:30&n=1 Which action should you take to optimize your scan and prevent an infinite loop?

  1. ensure JavaScript Execute is turned on

  2. track the “viewpromotions” parameter

  3. ignore the “timestamp” parameter

  4. turn off the Redundant Path limit setting


Correct Option: C

AI Explanation

To optimize your scan and prevent an infinite loop when encountering URLs with the given pattern, you should ignore the "timestamp" parameter.

Let's go through each option to understand why it is correct or incorrect:

Option A) Ensure JavaScript Execute is turned on - This option is not relevant to preventing an infinite loop caused by the URL pattern mentioned in the question. Enabling JavaScript execution is unrelated to optimizing the scan or preventing an infinite loop.

Option B) Track the "viewpromotions" parameter - Tracking the "viewpromotions" parameter does not address the issue of the "timestamp" parameter potentially causing an infinite loop. It may help in analyzing and understanding the behavior of the scan, but it does not optimize the scan or prevent an infinite loop.

Option C) Ignore the "timestamp" parameter - This option is correct. By ignoring the "timestamp" parameter, your scan will not consider URLs with different timestamp values as separate entities. This prevents the scan from unnecessarily scanning multiple URLs with the same base URL.

Option D) Turn off the Redundant Path limit setting - The Redundant Path limit setting determines the number of times a specific URL pattern is followed before it is considered redundant. However, this option does not address the issue of the "timestamp" parameter potentially causing an infinite loop. It may help in controlling the depth or redundancy of the scan but does not specifically optimize the scan or prevent an infinite loop.

The correct answer is C) Ignore the "timestamp" parameter. This option allows you to optimize your scan by preventing an infinite loop caused by the varying "timestamp" parameter values.

Find more quizzes: