How sanidhyy/unlock-airtel-router works
This repository is a set of scripts for enabling SSH on supported Airtel/Zyxel routers and unlocking hidden web-UI controls. The main setup flow backs up and decrypts router configuration, edits SSH access settings, encrypts and restores the configuration, then uses SSH to set the UI debug flag and install a boot-time command. The shared backup tool also supports standalone download, decrypt, encrypt, and restore operations. Relationships below follow the README and shown script calls; internals not shown are represented only at the documented capability level.
Main entry points: enable_ssh.py Enable SSH · unlock_ui.py Unlock UI script · download_backup.py Download backup CLI · restore_backup.py Restore config CLI
Components 17
Router setup
- Enable SSH
enable_ssh.py - Edit SSH settings
enable_ssh.py - SSH shortcut
enable_ssh.py
Backup and restore
- Download backup CLI
download_backup.py - Restore config CLI
restore_backup.py
UI unlock
- Unlock UI script
unlock_ui.py - Set UI debug flag
unlock_ui.py - Boot-time unlock
unlock_ui.py
Shared tool
- Credential prompts
zyxel_backup_restore.py - Router login
zyxel_backup_restore.py - Backup download
zyxel_backup_restore.py - Config decryption
zyxel_backup_restore.py - Config encryption
zyxel_backup_restore.py - Config restore
zyxel_backup_restore.py
Other components
- Router owner
- Router
- SSH client
Connections 27
- Router owner → Enable SSH: runs
README.md - Enable SSH → Credential prompts: gets credentials
enable_ssh.py - Enable SSH → Router login: logs in
enable_ssh.py - Enable SSH → Backup download: downloads backup
enable_ssh.py - Enable SSH → Config decryption: decrypts backup
enable_ssh.py - Enable SSH → Edit SSH settings: edits settings
enable_ssh.py - Enable SSH → Config encryption: encrypts edited config
enable_ssh.py - Enable SSH → Config restore: submits config
enable_ssh.py - Enable SSH → SSH shortcut: offers shortcut
enable_ssh.py - Download backup CLI → Credential prompts: gets credentials
download_backup.py - Download backup CLI → Router login: logs in
download_backup.py - Download backup CLI → Backup download: downloads backup
download_backup.py - Download backup CLI → Config decryption: decrypts backup
download_backup.py - Restore config CLI → Credential prompts: gets credentials
restore_backup.py - Restore config CLI → Config encryption: encrypts config
restore_backup.py - Restore config CLI → Router login: logs in
restore_backup.py - Restore config CLI → Config restore: submits config
restore_backup.py - Router login → Router: authenticates
zyxel_backup_restore.py - Backup download → Router: requests backup
zyxel_backup_restore.py - Config restore → Router: uploads config
zyxel_backup_restore.py - Router owner → Unlock UI script: runs
README.md - Unlock UI script → Credential prompts: gets credentials
unlock_ui.py - Unlock UI script → SSH client: invokes
unlock_ui.py - SSH client → Router: runs remote script
README.md - Unlock UI script → Set UI debug flag: sets and verifies
README.md - Unlock UI script → Boot-time unlock: installs boot block
unlock_ui.py - Boot-time unlock → Set UI debug flag: reapplies after boot
unlock_ui.py