SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Define apikey needed for Bing, add timestamp to error logs (issue #483).
smicallef20bbf50798d6
diff --git a/modules/sfp_bingsharedip.py b/modules/sfp_bingsharedip.pyindex 7eda3566..34c13d22 100644--- a/modules/sfp_bingsharedip.py+++ b/modules/sfp_bingsharedip.py@@ -15,7 +15,7 @@ from sflib import SpiderFoot, SpiderFootPlugin, SpiderFootEventclass sfp_bingsharedip(SpiderFootPlugin):- """Bing (Shared IPs):Footprint,Investigate,Passive:Search Engines::Search Bing for hosts sharing the same IP."""+ """Bing (Shared IPs):Footprint,Investigate,Passive:Search Engines:apikey:Search Bing for hosts sharing the same IP."""# Default optionsopts = {diff --git a/sflib.py b/sflib.pyindex 924d8993..37584be4 100644--- a/sflib.py+++ b/sflib.py@@ -1802,7 +1802,7 @@ class SpiderFootPlugin(object):listener.handleEvent(sfEvent)except BaseException as e:f = open("sferror.log", "a")- f.write("Module (" + listener.__module__ + ") encountered an error: " + str(e) + "\n")+ f.write("[" + time.ctime() + "]: 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)))