diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index abebdc562..3f2977c17 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -80,6 +80,7 @@ - [Ovi3](https://github.com/Ovi3) - [u21h2](https://www.github.com/u21h2) - [Valentijn Scholten](https://www.github.com/valentijnscholten) +- [ajcriado](https://www.github.com/ajcriado) Special thanks to all the people who are named here! diff --git a/lib/core/scanner.py b/lib/core/scanner.py index 2817a09b7..82ade5e9e 100755 --- a/lib/core/scanner.py +++ b/lib/core/scanner.py @@ -17,9 +17,11 @@ # Author: Mauro Soria import re +import time from urllib.parse import unquote +from lib.core.data import options from lib.core.logger import logger from lib.core.settings import ( REFLECTED_PATH_MARKER, @@ -52,7 +54,8 @@ def setup(self): rand_string(TEST_PATH_LENGTH), ) first_response = self.requester.request(first_path) - self.response = first_response + self.response = first_response + time.sleep(options["delay"]) duplicate = self.get_duplicate(first_response) # Another test was performed before and has the same response as this @@ -67,6 +70,7 @@ def setup(self): rand_string(TEST_PATH_LENGTH, omit=first_path), ) second_response = self.requester.request(second_path) + time.sleep(options["delay"]) if first_response.redirect and second_response.redirect: self.wildcard_redirect_regex = self.generate_redirect_regex(