Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions sherlock_project/sherlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,17 +491,17 @@ 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:
pass
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("+++++++++++++++++++++")
Expand Down