Skip to content

Incredibly fast crawler designed for OSINT.

fix typo

oXis4eda546b93d9
diff --git a/photon.py b/photon.py
index 1188488..d568117 100644
--- a/photon.py
+++ b/photon.py
@@ -206,7 +206,7 @@ supress_regex = False
def intel_extractor(response):
"""Extract intel from the response body."""
for rintel in rintels:
- if rintel[0] in ["MD5", "SHA1", "SHA256", "SHA512"]:
+ if rintel[1] in ["MD5", "SHA1", "SHA256", "SHA512"]:
# prevent csrf token match
rintel[0].findall(re.sub('<[^<]+?>', '', response))
else: