A utility to compare outputs from ProjectDiscovery's Chaos program across different days. It helps identify added, removed, and optionally unchanged URLs for each program.
- Compares two
chaos-outputfolders line-by-line. - Organizes comparison results by program name.
- Generates:
added.txtremoved.txtunchanged.txt(optional)
- Supports verbose output, custom output directory, and filtering unchanged entries.
go install github.com/computerauditor/compare-chaos@latest
Can Build a go binary using yourself [OPTIONAL] :
go build -o compare-chaos compare-chaos.go
Move to /usr/local/bin [OPTIONAL]
mv /go/bin/compare-chaos /bin
OR
mv /go/bin/compare-chaos /usr/local/bin
chaos-output-2025-06-07/
├── mastercard.nl.txt
└── adobe.com.txt
chaos-output-2025-06-08/
├── mastercard.nl.txt
└── adobe.com.txt
results/
├── mastercard.nl/
│ ├── added.txt
│ ├── removed.txt
│ └── unchanged.txt
└── adobe.com/
├── added.txt
├── removed.txt
└── unchanged.txt
go run compare-chaos.go [options]EXAMPLE:
compare-chaos -n chaos-data/chaos-output-2025-06-08 -p chaos-data/chaos-output-2025-06-07/ -output output/results -nu| Flag(s) | Description |
|---|---|
-n, --new, --today |
Path to today’s chaos-output folder |
-p, --old, --yesterday |
Path to yesterday’s chaos-output folder |
-o, --output |
Output directory for comparison results (default: results) |
-v, --verbose |
Enable verbose output with stats |
--nu, --no-unchanged |
Skip writing unchanged.txt files |
-h, --help |
Show usage help |
go run compare-chaos.go \
-n chaos-output-2025-06-08 \
-p chaos-output-2025-06-07 \
-o results \
-v \
--nuCompares the latest
chaos-outputwith the previous day and stores added/removed entries per program in theresults/folder. Skips writing unchanged URLs.
- Go 1.18+
- Two valid folders containing
.txtfiles from thechaosertool or ProjectDiscovery Chaos outputs.
MIT License — use freely, credit appreciated. Contributions welcome.
- ProjectDiscovery
- Inspired by the chaoser automation tool
---
Let me know if you’d like:
- Badge support (Go version, License, etc.)
- GIF demo of usage
- CLI release versioning instructions
Happy reconning! 🕵️♂️