Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Bug fix.

Steve3ff6a3ee65bc
diff --git a/modules/sfp_torch.py b/modules/sfp_torch.py
index 65dddc07..1f7fdd7f 100644
--- a/modules/sfp_torch.py
+++ b/modules/sfp_torch.py
@@ -72,6 +72,9 @@ class sfp_torch(SpiderFootPlugin):
# Need the form ID to submit later for the search
m = re.findall("\<form method=\"get\" action=\"/(\S+)/search.cgi\"\>",
formpage['content'], re.IGNORECASE | re.DOTALL)
+ if not m:
+ return None
+
formid = m[0]
pagecontent = ""