Skip to content

graph

A module to build a graph of WiFi and LAN nodes.

Start the graph module.

Stop the graph module.

Generate a dot graph file from the current graph (filtering by an optional MAC).

Generate a JSON file from the current graph (filtering by an optional MAC).

ParameterDefaultDescription
graph.disconnectedfalseInclude disconnected edges in the output graph.
graph.dot.layoutneatoLayout for dot output.
graph.dot.namebettergraphGraph name in the dot output.
graph.dot.outputbettergraph.dotFile name for dot output.
graph.json.outputbettergraph.jsonFile name for JSON output.
graph.path/usr/local/share/bettercap/graphBase path for the graph database.
graph.privacyfalseObfuscate mac addresses.