Skip to content

DOT file post-processing for the RAGE attack graph generator (see ag-gen)

Notifications You must be signed in to change notification settings

tunnelcat/graphviz-post-process

Repository files navigation

graphviz-post-process

DOT file post-processing for the RAGE attack graph generator (see ag-gen)

Current working version is v3, tested on fresh Debian install.

Requirements

  • python3
  • pip
sudo apt install python3 python3-pip

Setup

Install pipenv using pip:

sudo -H pip3 install -U pipenv

Then, in project directory, install requirements from Pipfile:

pipenv install

Activate the virtual environment:

pipenv shell

...and finally run the program using the provided testing.dot:

./graphviz_tools_v3.py testing.dot testing_out.dot -t 3

If all goes well, the output should be:

Reading from testing.dot
Generated dot file to testing_out.dot
Shortest paths to target edge 3 are:
[['1', '7'], ['14'], ['57']]
[['2', '8'], ['21'], ['74']]

Exit the virtual environment when done.

exit

About

DOT file post-processing for the RAGE attack graph generator (see ag-gen)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages