Commit 117843d7 by fwkz

Fixing response check.

parent 3e78ec24
......@@ -73,7 +73,7 @@ class Exploit(exploits.Exploit):
url = sanitize_url("{}:{}{}".format(self.target, self.port, self.path))
response = http_request("GET", url)
if not response:
if response is None:
return
if response.status_code != 401:
......
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