SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
sfp_torexits: Replace self.sf.error with self.debug (#1474)
bcoles643e2da1e34f
diff --git a/modules/sfp_torexits.py b/modules/sfp_torexits.pyindex 7c6e9149..0c0a559c 100644--- a/modules/sfp_torexits.py+++ b/modules/sfp_torexits.py@@ -147,7 +147,7 @@ class sfp_torexits(SpiderFootPlugin):try:results = json.loads(data)except Exception as e:- self.sf.error(f"Error processing JSON response: {e}")+ self.error(f"Error processing JSON response: {e}")return Nonerelays = results.get('relays')@@ -216,7 +216,7 @@ class sfp_torexits(SpiderFootPlugin):targetType = 'netblock'evtType = 'MALICIOUS_SUBNET'else:- self.sf.debug(f"Unexpected event type {eventName}, skipping")+ self.debug(f"Unexpected event type {eventName}, skipping")returnself.debug(f"Checking if {eventData} ({eventName}) is a TOR exit node")