forked from p15670423/monkey
retore the upper bound from the original exploit implementation
This commit is contained in:
parent
9fcf2fe0e6
commit
bdba20133d
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue