Unverified Commit 6f604e6d by Marcin Bury Committed by GitHub

Fix Netgear RAX30 exploit check (#824)

parent 9c9f87dd
......@@ -53,7 +53,7 @@ class Exploit(HTTPClient):
path="/"
)
if "WWW-Authenticate" in response.headers.keys() and \
if response and "WWW-Authenticate" in response.headers.keys() and \
'Basic realm="RAX30"' in response.headers["WWW-Authenticate"]:
return True
......
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