SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Py2->Py3 fixes.
smicallefa24d65f3eb26
diff --git a/sflib.py b/sflib.pyindex 377bea80..e32c56e7 100644--- a/sflib.py+++ b/sflib.py@@ -933,7 +933,7 @@ class SpiderFoot:return list(set(addrs))return Noneexcept BaseException as e:- self.debug("Unable to resolve " + host + ": " + str(e))+ self.debug("Unable to resolve " + str(host) + ": " + str(e))return None# Return a normalised resolution of an IPv4 address or None if not resolved.@@ -1687,10 +1687,6 @@ class SpiderFootPlugin(object):and eventName not in self.__outputFilter__:return None- # Convert strings to unicode- if type(sfEvent.data) == str:- sfEvent.data = str(sfEvent.data, 'utf-8', errors='replace')-storeOnly = False # Under some conditions, only store and don't notifyif sfEvent.data is None or (type(sfEvent.data) is str and len(sfEvent.data) == 0):