Skip to content

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

Escaped search string in case it contains HTML/JS.

smicallef593c30a292cb
diff --git a/dyn/scaninfo.tmpl b/dyn/scaninfo.tmpl
index 4ef10b56..6e1ade7b 100644
--- a/dyn/scaninfo.tmpl
+++ b/dyn/scaninfo.tmpl
@@ -104,7 +104,7 @@
crumbs += "'browseEventData(\"" + instanceId + "\",\"" + currentTypeName + "\",\"" + typeName + "\",\"full\");'>";
crumbs += unescape(currentTypeName) + "</a><span class='divider'>&gt;</span></li>";
}
- crumbs += "<li>Search results for '" + query + "'";
+ crumbs += "<li>Search results for '" + $(query).text() + "'";
crumbs += " (" + data.length + " records)</li></ul>";
if (data.length == 0) {