Skip to content

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

Fixed regexps for web frameworks and updated setup.py to include the dns module.

smicallef10f0a7fb5ab0
diff --git a/modules/sfp_webframework.py b/modules/sfp_webframework.py
index 56387e3e..f00b6813 100644
--- a/modules/sfp_webframework.py
+++ b/modules/sfp_webframework.py
@@ -19,12 +19,12 @@ sf = None
regexps = dict({
"jQuery": list(['jquery']), # unlikely false positive
"YUI": list(['\/yui\/', 'yui\-', 'yui\.']),
- "Prototype": list(['\/prototype\/', 'prototype\-', 'prototype\.']),
- "ZURB Foundation": list(['\/foundation\/', 'foundation\-', 'foundation\.']),
- "Bootstrap": list(['\/bootstrap\/', 'bootstrap\-', 'bootstrap\.']),
+ "Prototype": list(['\/prototype\/', 'prototype\-', 'prototype\.js']),
+ "ZURB Foundation": list(['\/foundation\/', 'foundation\-', 'foundation\.js']),
+ "Bootstrap": list(['\/bootstrap\/', 'bootstrap\-', 'bootstrap\.js']),
"ExtJS": list(['[\'\"\=]ext\.js', 'extjs', '\/ext\/*\.js']),
- "Mootools": list(['\/mootools\/', 'mootools\-', 'mootools\.']),
- "Dojo": list(['\/dojo\/', '[\'\"\=]dojo\-', '[\'\"\=]dojo\.'])
+ "Mootools": list(['\/mootools\/', 'mootools\-', 'mootools\.js']),
+ "Dojo": list(['\/dojo\/', '[\'\"\=]dojo\-', '[\'\"\=]dojo\.js'])
})
class sfp_webframework(SpiderFootPlugin):
diff --git a/setup.py b/setup.py
index 306a1aeb..b266beeb 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ setup(
console=['sf.py'],
options={
"py2exe": {
- "packages": ["modules", "sflib", "sfwebui", "sfdb", "mako", "cherrypy"],
+ "packages": ["modules", "dns", "sflib", "sfwebui", "sfdb", "mako", "cherrypy"],
"bundle_files": 1,
"compressed": True
}