Skip to content

Incredibly fast crawler designed for OSINT.

Evaluate entropy of found keys to avoid false positives

Somdev Sangwan65bd1221387c
diff --git a/photon.py b/photon.py
index c849e26..b7dd097 100644
--- a/photon.py
+++ b/photon.py
@@ -375,7 +375,7 @@ def extractor(url):
matches = findall(r'[\w-]{16,45}', response)
for match in matches:
if entropy(match) >= 4:
- keyss.add(url + ': ' + match)
+ keys.add(url + ': ' + match)
####
# This function extracts endpoints from JavaScript Code