This commit is contained in:
dollaransh17 2026-01-06 02:23:16 +07:00 committed by GitHub
commit 181ced4367
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -463,8 +463,8 @@ def sherlock(
print("Results...")
try:
print(f"RESPONSE CODE : {r.status_code}")
except Exception:
pass
except Exception as e:
print(f"WARNING: Could not retrieve response code: {e}")
try:
print(f"ERROR TEXT : {net_info['errorMsg']}")
except KeyError:
@ -472,8 +472,8 @@ def sherlock(
print(">>>>> BEGIN RESPONSE TEXT")
try:
print(r.text)
except Exception:
pass
except Exception as e:
print(f"WARNING: Could not retrieve response text: {e}")
print("<<<<< END RESPONSE TEXT")
print("VERDICT : " + str(query_status))
print("+++++++++++++++++++++")