Decrypt and decompress configuration backups from the Speedport Plus 2 (Sercomm VD4224BDT). Useful when migrating to a third-party router and you want to recover your PPPoE credentials, VLAN ID, WiFi settings and so on.
pip install cryptography
Requires Python 3.9 or newer.
python decrypt.py configurationBackup.cfg yourpassword
tar -xzf configurationBackup.tar.gz
python unpack.py VD4224BDT_Config/psi_wifi
After that, PPPoE credentials and VLAN settings are in syscfg.db (plain text key=value) and WiFi SSIDs and passphrases are in the unpacked psi_wifi.xml.
Both scripts accept -o/--output to override the default output path.
MIT