Skip to content
项目

zhangyoufu/unifi-backup-decrypt

在 GitHub 查看

关于

decrypt UniFi Network Application backup (.unf <=> .zip)

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

UniFi backup file (.unf) / support file (.supp) decryption

Requirement

  • openssl
  • zip

Some code snippet

final Cipher instance = Cipher.getInstance("AES/CBC/NoPadding");
instance.init(2, new SecretKeySpec("bcyangkmluohmars".getBytes(), "AES"), new IvParameterSpec("ubntenterpriseap".getBytes()));
return new CipherInputStream(inputStream, instance);

malformed zip files require fixing before unzip

Database

db.gz contains a stream of BSON document for each collections of ace database.

You can view its content by gunzip -c db.gz | bsondump.

It should be trivial to write a script that helps import/export. If anybody wants to contribute, PRs are welcomed.

探索相关项目

加载中…