Pantrant (Pangya Network Traffic Analysis Tool) is a tool for analyzing network traffic dumps of Pangya sessions and view them alongside recordings.
Pantrant requires Go 1.16 or higher and recommends Node 16.
If your package manager (homebrew, apt, etc.) has Go 1.16 or higher, you can install it using your package manager.
If not, you should install Go via the install guide. Unlike most software, using the pre-built version of Go is robust even on Linux.
Remember to uninstall Go from your package manager if you are installing the pre-built version.
If your package manager (homebrew, apt, etc.) has Node.JS 16 or higher, you can install it using your package manager. Make sure you install npm in addition to Node.JS.
You don't need to build the webapp unless you want to modify it. The build is versioned in the repository. If you just want to run the Analyzer Server, skip the web app section.
To build the web app, you need to install the Node.JS dependencies.
cd web
npm install
Now you can run the build:
npm run build
You can run the analyzer directly with go run
:
go run ./cmd/analyzer /path/to/cassettes.yml
You can also build the analyzer using go build
:
go build ./cmd/analyzer
./analyzer /path/to/cassettes.yml
You can run the dumper directly with go run
:
go run ./cmd/dumper /path/to/dump.pcapng
You can also build the dumper using go build
:
go build ./cmd/dumper
./dumper /path/to/dump.pcapng