Skip to content

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

Fixed bug parsing & in config options, and BGP AS neighbors to be reported as ASs only.

smicallefa45e8cc9e95b
diff --git a/modules/sfp_ir.py b/modules/sfp_ir.py
index 185451b6..51e4c2f4 100644
--- a/modules/sfp_ir.py
+++ b/modules/sfp_ir.py
@@ -269,7 +269,7 @@ class sfp_ir(SpiderFootPlugin):
ownertext = ownertext + k + ": " + ', '.join(v) + "\n"
if len(ownerinfo) > 0:
- evt = SpiderFootEvent("BGP_AS_PEER", ownertext,
+ evt = SpiderFootEvent("BGP_AS_PEER", nasn,
self.__name__, event)
self.notifyListeners(evt)
diff --git a/sfwebui.py b/sfwebui.py
index d396c986..c5c2dbb2 100644
--- a/sfwebui.py
+++ b/sfwebui.py
@@ -65,6 +65,8 @@ class SpiderFootWebUi:
for item in inputList:
c = cgi.escape(item, True)
c = c.replace('\'', '"')
+ # We don't actually want & translated to &
+ c = c.replace("&", "&")
ret.append(c)
return ret