SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
More info for debugging errors.
smicallef41c3a666bc0e
diff --git a/sflib.py b/sflib.pyindex 257c91cf..57a4ae2a 100644--- a/sflib.py+++ b/sflib.py@@ -31,6 +31,7 @@ import netaddrimport urllib2import StringIOimport threading+import tracebackfrom bs4 import BeautifulSoup, SoupStrainerfrom copy import deepcopy, copy@@ -1604,6 +1605,9 @@ class SpiderFootPlugin(object):except BaseException as e:f = open("sferror.log", "a")f.write("Module (" + listener.__module__ + ") encountered an error: " + str(e) + "\n")++ exc_type, exc_value, exc_traceback = sys.exc_info()+ f.write(repr(traceback.format_exception(exc_type, exc_value, exc_traceback)))f.close()# For modules to use to check for when they should give back control