Commit a06b266f by 0BuRner Committed by Marcin Bury

rom-0 exploit : fix false positive (#315) (#316)

parent 14217a35
......@@ -97,7 +97,10 @@ class Exploit(exploits.Exploit):
if response is None:
response = http_request(method="GET", url=url)
if response is not None and response.status_code == 200:
if response is not None \
and response.status_code == 200 \
and "<html>" not in response.text \
and len(response.text) > 500:
return True
return False
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment