Skip to content

Latest commit

 

History

History
60 lines (46 loc) · 1.97 KB

README.md

File metadata and controls

60 lines (46 loc) · 1.97 KB

UniFi-Reserata

Command-line tool to decrypt UniFi Controller backup .unf and support .supp files.

Reserata - unlocked, open up, unseal. -- Latin

🔓 Use the application

Place the application in a directory containing your UniFi Controller backup .unf and support .supp files.

directory
├── network_backup_21.11.2023_15-57_v7.4.162.unf
├── network_support_20-11-2023.supp
└── unifireserata.exe

Run the application:

PS directory> .\unifireserata.exe
1) network_backup_21.11.2023_15-57_v7.4.162.unf
2) network_support_20-11-2023.supp
Select a File
1
PS directory .\unifireserata.exe
1) network_backup_21.11.2023_15-57_v7.4.162.unf
2) network_support_20-11-2023.supp
Select a File
2

A .zip file with the same name as the file selected will be created in the same directory.
This .zip file can be browsed using 7-Zip.

⚡️ Quick start

Head over to the repository's Release page, if you want to download a ready-made Windows or Linux packages built with GoReleaser.

Build from Source

Download and install Go. Version 1.21.4 or higher is required.

Install dependencies and tools:

go mod download
go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo@latest

Run the go generate command to build the resource.syso needed to set Windows .exe versioninfo using goversioninfo.

Build the package using the go build command:

GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o ./bin/unifireserata
GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -o ./bin/unifireserata.exe

There is also a makefile:

make build # if on Linux
make buildwin # if on Windows