Commit 9e96d7fa by Marcin Bury

Exception, exceptions, everywhere

parent b523b783
...@@ -44,7 +44,7 @@ class Exploit(exploits.Exploit): ...@@ -44,7 +44,7 @@ class Exploit(exploits.Exploit):
try: try:
response = sock.recv(2048) response = sock.recv(2048)
except socket.timeout: except:
print_error("Exploit failed - device seems to be not vulnerable") print_error("Exploit failed - device seems to be not vulnerable")
return return
...@@ -65,7 +65,7 @@ class Exploit(exploits.Exploit): ...@@ -65,7 +65,7 @@ class Exploit(exploits.Exploit):
try: try:
response = sock.recv(2048) response = sock.recv(2048)
except socket.timeout: except:
return False # target is not vulnerable return False # target is not vulnerable
if len(response) and "UseUserCredential" in response: if len(response) and "UseUserCredential" in response:
......
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