Skip to content

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

Fixed bug when handling null result.

smicallefcf8f185f9ed6
diff --git a/modules/sfp_virustotal.py b/modules/sfp_virustotal.py
index 56b25024..f29b3668 100644
--- a/modules/sfp_virustotal.py
+++ b/modules/sfp_virustotal.py
@@ -149,6 +149,8 @@ class sfp_virustotal(SpiderFootPlugin):
return None
info = self.query(addr)
+ if info == None:
+ continue
if info.has_key('detected_urls'):
self.sf.info("Found VirusTotal URL data for " + addr)
if eventName in [ "IP_ADDRESS" ] or eventName.startswith("NETBLOCK_"):