graph module not working on Windows platform
Author: mymirai-nikkiCreated Jun 10, 2026Updated Jun 10, 2026
as the title said, graph module not working on Windows platform
Environment
- bettercap v2.41.7 (built for windows amd64 with go1.24.13)
- Windows 11 x86_64
- Using prebuilt executables from Github releases
Steps to Reproduce
- enter bettercap interactive shell
- type graph on
- get the error
Expected behavior: graph module activated
Actual behavior: graph module failed to start
192.168.0.0/22 > 192.168.1.251 » help graph
graph (not running): A module to build a graph of WiFi and LAN nodes.
graph on : Start the Module module.
graph off : Stop the Module module.
graph.to_dot MAC? : Generate a dot graph file from the current graph.
graph.to_json MAC? : Generate a JSON graph file from the current graph.
Parameters
graph.disconnected : Include disconnected edges in then output graph. (default=false)
graph.dot.layout : Layout for dot output. (default=neato)
graph.dot.name : Graph name in the dot output. (default=bettergraph)
graph.dot.output : File name for dot output. (default=bettergraph.dot)
graph.json.output : File name for JSON output. (default=bettergraph.json)
graph.path : Base path for the graph database. (default=C:\ProgramData\bettercap\graph)
graph.privacy : Obfuscate mac addresses. (default=false)
192.168.0.0/22 > 192.168.1.251 » graph on
[20:55:47] [sys.log] [err] error while reading C:\ProgramData\bettercap\graph/endpoint_8c:1d:89:fe:12:eb.json: open C:\ProgramData\bettercap\graph/endpoint_8c:1d:89:fe:12:eb.json: The filename, directory name, or volume label syntax is incorrect.Source: bettercap/bettercap