Skip to content

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

Added a sticky footer to promote HX and also inform users about SpiderFoot resources.

smicallefce3eb6f46e0e
diff --git a/spiderfoot/static/css/spiderfoot.css b/spiderfoot/static/css/spiderfoot.css
index 1939b838..6f497d2d 100644
--- a/spiderfoot/static/css/spiderfoot.css
+++ b/spiderfoot/static/css/spiderfoot.css
@@ -198,3 +198,7 @@ input:checked + .slider:before {
border-radius: 50%;
}
+.footer {
+ padding: 10px;
+}
+
diff --git a/spiderfoot/templates/FOOTER.tmpl b/spiderfoot/templates/FOOTER.tmpl
index 4bd7a87e..b07fcb01 100644
--- a/spiderfoot/templates/FOOTER.tmpl
+++ b/spiderfoot/templates/FOOTER.tmpl
@@ -1,3 +1,25 @@
</div>
+ <footer class="navbar-default navbar-fixed-bottom">
+ <div class="container-fluid text-center footer">
+ <%
+ messages = [
+ "<i class='glyphicon glyphicon-flash'></i>&nbsp;&nbsp;<a target=_new href='https://www.spiderfoot.net/hx'>Create a (free) SpiderFoot HX account in seconds and try it out for yourself.</a>",
+ "<i class='glyphicon glyphicon-flash'></i>&nbsp;&nbsp;<a target=_new href='https://www.spiderfoot.net/open-source-vs-hx'>Learn about the difference between SpiderFoot and SpiderFoot HX.</a>",
+ "<i class='glyphicon glyphicon-heart'></i>&nbsp;&nbsp;<a target=_new href='https://twitter.com/intent/follow?original_referer=https%3A%2F%2Fpublish.twitter.com%2F&ref_src=twsrc%5Etfw%7Ctwcamp%5Ebuttonembed%7Ctwterm%5Efollow%7Ctwgr%5Espiderfoot&screen_name=spiderfoot'>Follow SpiderFoot on Twitter for the latest updates.</a>",
+ "<i class='glyphicon glyphicon-education'></i>&nbsp;&nbsp;<a target=_new href='https://www.spiderfoot.net/documentation'>Check out the SpiderFoot documentation to get more out of SpiderFoot.</a>",
+ "<i class='glyphicon glyphicon-heart'></i>&nbsp;&nbsp;<a target=_new href='https://discord.gg/vyvztrG'>Join the SpiderFoot community Discord!</a>",
+ "<i class='glyphicon glyphicon-flag'></i>&nbsp;&nbsp;<a target=_new href='https://github.com/smicallef/spiderfoot/issues/new/choose'>Run into a bug in SpiderFoot? Help us make SpiderFoot better - raise an issue in the repo.</a>",
+ "<i class='glyphicon glyphicon-console'></i>&nbsp;&nbsp;<a target=_new href='https://asciinema.org/~spiderfoot'>Did you know SpiderFoot also has a CLI? Check out our asciinema tutorials on how to use the SpiderFoot CLI.</a>",
+ "<i class='glyphicon glyphicon-flash'></i>&nbsp;&nbsp;<a target=_new href='https://www.spiderfoot.net/hx'>Want more OSINT automation capabilities? Check out SpiderFoot HX.</a>",
+ "<i class='glyphicon glyphicon-cloud'></i>&nbsp;&nbsp;<a target=_new href='https://www.spiderfoot.net/hx'>Don't want to manage your SpiderFoot installation yourself? Check out SpiderFoot HX.</a>"
+ ]
+
+ import random
+ message = messages[random.randint(0, len(messages)-1)]
+ %>
+ <span>${message}</span>
+ </div>
+ </footer>
+
</body>
</html>
diff --git a/spiderfoot/templates/scaninfo.tmpl b/spiderfoot/templates/scaninfo.tmpl
index 19c333b9..bfa958d8 100644
--- a/spiderfoot/templates/scaninfo.tmpl
+++ b/spiderfoot/templates/scaninfo.tmpl
@@ -754,5 +754,5 @@
refreshSummaryInterval = setInterval(refreshSummary, 5000);
</script>
-<iframe class="hidden" id='exportframe'>
+<iframe class="hidden" id='exportframe'></iframe>
<%include file="FOOTER.tmpl"/>
diff --git a/spiderfoot/templates/scanlist.tmpl b/spiderfoot/templates/scanlist.tmpl
index e9d4e1ad..688444b6 100644
--- a/spiderfoot/templates/scanlist.tmpl
+++ b/spiderfoot/templates/scanlist.tmpl
@@ -39,5 +39,7 @@
<script type='text/javascript' src="${docroot}/static/js/spiderfoot.scanlist.js"></script>
</div>
-<iframe class='hidden' id='exportframe'>
+
+<iframe class='hidden' id='exportframe'></iframe>
+
<%include file="FOOTER.tmpl"/>