Skip to content

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

GEXF export bug fix.

smicallef1854bd3d0c05
diff --git a/sflib.py b/sflib.py
index c8cff8a1..7f4d6193 100644
--- a/sflib.py
+++ b/sflib.py
@@ -223,7 +223,7 @@ class SpiderFoot:
graph.node[src]['viz'] = {'color': { 'r': col[0], 'g': col[1], 'b': col[2] } }
nodelist[src] = ncounter
- graph.add_edge(str(nodelist[src]), str(nodelist[dst]))
+ graph.add_edge(src, dst)
gexf = GEXFWriter(graph=graph)
return str(gexf).encode('utf-8')