From bdba20133d43989c37bf8ab15164ee25fdf5678a Mon Sep 17 00:00:00 2001 From: ophirharpazg Date: Tue, 1 Sep 2020 12:39:36 +0300 Subject: [PATCH] retore the upper bound from the original exploit implementation --- monkey/infection_monkey/exploit/drupal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/exploit/drupal.py b/monkey/infection_monkey/exploit/drupal.py index c4c834559..33321052e 100644 --- a/monkey/infection_monkey/exploit/drupal.py +++ b/monkey/infection_monkey/exploit/drupal.py @@ -122,7 +122,7 @@ def is_response_cached(r: requests.Response) -> bool: return 'X-Drupal-Cache' in r.headers and r.headers['X-Drupal-Cache'] == 'HIT' -def find_exploitbale_article_ids(base_url: str, lower: int = 1, upper: int = 10) -> set: +def find_exploitbale_article_ids(base_url: str, lower: int = 1, upper: int = 100) -> set: """ Find target articles that do not 404 and are not cached """ articles = set() while lower < upper: