SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Fixed issues #5, #7 and #9.
smicallefd6a1ea3bd885
diff --git a/README b/READMEindex f80d9bc2..cfcde8b9 100644--- a/README+++ b/README@@ -19,13 +19,15 @@ https://github.com/smicallef/spiderfootINSTALLING AND RUNNING ON *NIX===============================-SpiderFoot is written in Python (2.7), so to run on Linux/Solaris/etc. you need Python 2.7 installed, in addition to the CherryPy and Mako modules.+SpiderFoot is written in Python (2.6-2.7), so to run on Linux/Solaris/etc. you need Python 2.6 or 2.7 installed, in addition to the CherryPy and Mako modules. Support for Python 3 will come in the near future.To install the dependencies using PIP (https://pypi.python.org/pypi/pip), do the following:$ pip install cherrypy$ pip install mako+SpiderFoot was developed against 3.2.2 of CherryPy and 0.7.2 of Mako. If you run into any issues on newer versions, please let me know.+All other module dependencies, such as SQLite3, are included with Python, so nothing further should be needed.To run SpiderFoot, simply execute sf.py from the directory you extracted SpiderFoot into:diff --git a/modules/sfp_spider.py b/modules/sfp_spider.pyindex a829b72a..d3f3f2e0 100644--- a/modules/sfp_spider.py+++ b/modules/sfp_spider.py@@ -150,13 +150,13 @@ class sfp_spider(SpiderFootPlugin):continue# If we are respecting robots.txt, filter those out too- checkRobots = lambda blocked: str.lower(blocked) in str.lower(str(link)) or blocked == '*'+ checkRobots = lambda blocked: str.lower(blocked) in link.lower() or blocked == '*'if self.opts['robotsonly'] and filter(checkRobots, self.robotsRules[linkBase]):sf.debug("Ignoring page found in robots.txt: " + link)continue# Filter out certain file types (if user chooses to)- checkExts = lambda ext: '.' + str.lower(ext) in str.lower(str(link))+ checkExts = lambda ext: '.' + ext.lower() in link.lower()if filter(checkExts, self.opts['filterfiles']):sf.debug('Ignoring filtered extension: ' + link)continuediff --git a/modules/sfp_stor_db.py b/modules/sfp_stor_db.pyindex 673a06f8..4d455f84 100644--- a/modules/sfp_stor_db.py+++ b/modules/sfp_stor_db.py@@ -60,7 +60,7 @@ class sfp_stor_db(SpiderFootPlugin):# Convert to a string in case we get passed integers or other thingsif type(sfEvent.data) is not unicode:- sfEvent.data = unicode(sfEvent.data, 'utf-8', errors='ignore')+ sfEvent.data = unicode(sfEvent.data, 'utf-8', errors='replace')if self.opts['maxstorage'] != 0:if len(sfEvent.data) > self.opts['maxstorage']: