Commit d8209d6c by David Lozano Jarque Committed by Marcin Bury

Fixed false positive issue #305 in version 3.1.0 (#469)

Refixed issue after code reorganization
parent 10f7f9ac
......@@ -136,7 +136,8 @@ class Exploit(HTTPClient):
session=self.session,
data=data
)
if "Username" not in response.text and "Password" not in response.text:
if ("Username" not in response.text and "Password" not in response.text and
"404 Not Found" not in response.text and response.status_code != 404):
print_success("Successful authentication")
return True
except Exception:
......
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