SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Better loading indicator.
smicallefd5e45ae6d351
diff --git a/dyn/scaninfo.tmpl b/dyn/scaninfo.tmplindex 0083102e..44867d9c 100644--- a/dyn/scaninfo.tmpl+++ b/dyn/scaninfo.tmpl@@ -1,5 +1,5 @@<%include file="HEADER.tmpl"/>-<h2>${name}</h2>+<h2>${name} <img id=loader src=/static/img/loader.gif></h2><div class="btn-toolbar"><div class="btn-group"><a id='btn-browse' class="btn active" href="#" onClick='browseEventList("${id}")'>Browse</a>@@ -8,13 +8,6 @@</div></div>-<div id=loader>-Loading...-<div class="progress progress-striped active">- <div class="bar" style="width: 100%"></div>-</div>-</div>-<script type='text/javascript'>function navTo(target) {var targets = [ "btn-browse", "btn-info", "btn-export" ]@@ -44,7 +37,7 @@ Loading...table += "<td>" + data[i][2] + "</td>";}table += "</tbody></table>"- $("#loader").fadeOut(250);+ $("#loader").fadeOut(500);$("#mainbody").append(table);});}@@ -61,7 +54,7 @@ Loading...table += "<tr><td width=50%><pre>" + data[i][1] + "</pre></td><td>" + data[i][0] + "</td><td>" + data[i][2] + "</td><td>" + data[i][3] + "</td></tr>";}table += "</tbody></table>"- $("#loader").fadeOut(250);+ $("#loader").fadeOut(500);$("#mainbody").append(table);});}@@ -102,7 +95,7 @@ Loading...}table += "</table></div>";- $("#loader").fadeOut(250);+ $("#loader").fadeOut(500);$("#mainbody").append(table);});}diff --git a/dyn/scanlist.tmpl b/dyn/scanlist.tmplindex 03aa2595..19a0e193 100644--- a/dyn/scanlist.tmpl+++ b/dyn/scanlist.tmpl@@ -1,5 +1,5 @@<%include file="HEADER.tmpl"/>- <h2>Scans</h2>+ <h2>Scans<img id=loader src=/static/img/loader.gif></h2>% if newscan:<div class="alert alert-success"><button type="button" class="close" data-dismiss="alert">×</button>@@ -14,16 +14,10 @@Please allow a minute or two for the scan to cleanly shut itself down.</div>% endif-<div id=loader>-Loading...-<div class="progress progress-striped active">- <div class="bar" style="width: 100%"></div>-</div>-</div><script type='text/javascript'>sf.fetchData('/scanlist', null, function(data) {if (data.length == 0) {- $("#loader").fadeOut(250);+ $("#loader").fadeOut(500);welcome = "<div class='alert alert-info'>";welcome += "<h4>Run your first scan!</h4>";welcome += "There is currently no history of previously run scans. Please click 'New Scan' to initiate a new scan."@@ -62,7 +56,7 @@ Loading...table += "</tr>";}table += "</tbody></table>";- $("#loader").fadeOut(250);+ $("#loader").fadeOut(500);$("#mainbody").append(table);});</script>diff --git a/static/img/loader.gif b/static/img/loader.gifnew file mode 100644index 00000000..1560b646Binary files /dev/null and b/static/img/loader.gif differ