/unifi-backup-decrypt

decrypt .unf backup into .zip

Primary LanguageJavaThe UnlicenseUnlicense

Installation of tools used:

apt-get install openssl python3-bson python3-pymongo unzip 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