Skip to content

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

Use tempStorage()

smicallefacd996dd59c4
diff --git a/modules/sfp_hackertarget.py b/modules/sfp_hackertarget.py
index 97c67f92..f5ad5fd5 100644
--- a/modules/sfp_hackertarget.py
+++ b/modules/sfp_hackertarget.py
@@ -46,12 +46,12 @@ class sfp_hackertarget(SpiderFootPlugin):
'udp_portscan': "Scan IP for commonly open UDP ports using HackerTarget.com UDP port scan."
}
- results = dict()
+ results = None
cohostcount = 0
def setup(self, sfc, userOpts=dict()):
self.sf = sfc
- self.results = dict()
+ self.results = self.tempStorage()
self.cohostcount = 0
for opt in userOpts.keys():
diff --git a/modules/sfp_threatcrowd.py b/modules/sfp_threatcrowd.py
index 57cf6904..29e8fded 100644
--- a/modules/sfp_threatcrowd.py
+++ b/modules/sfp_threatcrowd.py
@@ -42,12 +42,12 @@ class sfp_threatcrowd(SpiderFootPlugin):
# Be sure to completely clear any class variables in setup()
# or you run the risk of data persisting between scan runs.
- results = dict()
+ results = None
errorState = False
def setup(self, sfc, userOpts=dict()):
self.sf = sfc
- self.results = dict()
+ self.results = self.tempStorage()
self.errorState = False
# Clear / reset any other class member variables here