SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sfp_torexits: Add check for empty TOR exit list (#1391)
bcolesee75f62c4120
diff --git a/modules/sfp_torexits.py b/modules/sfp_torexits.pyindex b29debd0..0f53d5e9 100644--- a/modules/sfp_torexits.py+++ b/modules/sfp_torexits.py@@ -76,6 +76,10 @@ class sfp_torexits(SpiderFootPlugin):def queryExitNodes(self, target, targetType):exit_addresses = self.retrieveExitNodes()+ if not exit_addresses:+ self.errorState = True+ return False+if targetType == "ip":if target in exit_addresses:self.sf.debug(f"IP address {target} found in TOR exit node list.")