Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueSquare1 committed Feb 1, 2024
1 parent 0659bce commit 7ef8085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/exploits/cve_2024_21733.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def accept(self, target: definitions.Target) -> bool:
timeout=DEFAULT_TIMEOUT,
)
except requests_exceptions.RequestException:
return False
continue
if resp.status_code != 404:
return True
return False
Expand All @@ -70,7 +70,7 @@ def check(self, target: definitions.Target) -> list[definitions.Vulnerability]:
timeout=DEFAULT_TIMEOUT,
)
except requests_exceptions.RequestException:
return []
continue

target_version_match = VERSION_PATTERN.search(resp.text)
if target_version_match is None:
Expand Down

0 comments on commit 7ef8085

Please sign in to comment.