SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
modules: remove unused errorState (#1199)
bcolesfa02bc8e7359
diff --git a/modules/sfp_creditcard.py b/modules/sfp_creditcard.pyindex 362c494b..55b1050d 100644--- a/modules/sfp_creditcard.py+++ b/modules/sfp_creditcard.py@@ -35,10 +35,6 @@ class sfp_creditcard(SpiderFootPlugin):# Tracking results can be helpful to avoid reporting/processing duplicatesresults = None- # Tracking the error state of the module can be useful to detect when a third party- # has failed and you don't wish to process any more events.- errorState = False-def setup(self, sfc, userOpts=dict()):self.sf = sfcself.results = self.tempStorage()@@ -66,11 +62,6 @@ class sfp_creditcard(SpiderFootPlugin):srcModuleName = event.moduleeventData = event.data- # Once we are in this state, return immediately.- if self.errorState:- return None-- # event was received.self.sf.debug(f"Received event, {eventName}, from {srcModuleName}")# Extract Credit Card numbersdiff --git a/modules/sfp_iban.py b/modules/sfp_iban.pyindex 8b8362c2..76df3728 100644--- a/modules/sfp_iban.py+++ b/modules/sfp_iban.py@@ -35,10 +35,6 @@ class sfp_iban(SpiderFootPlugin):# Tracking results can be helpful to avoid reporting/processing duplicatesresults = None- # Tracking the error state of the module can be useful to detect when a third party- # has failed and you don't wish to process any more events.- errorState = False-def setup(self, sfc, userOpts=dict()):self.sf = sfcself.results = self.tempStorage()@@ -67,11 +63,6 @@ class sfp_iban(SpiderFootPlugin):srcModuleName = event.moduleeventData = event.data- # Once we are in this state, return immediately.- if self.errorState:- return None-- # event was received.self.sf.debug(f"Received event, {eventName}, from {srcModuleName}")# Extract IBAN Card numbers