sanidhyy/unlock-airtel-router ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Python toolset that helps unlock the hidden web settings on Airtel Zyxel ONT routers.
I want one script that can connect to the router using the normal web login details, save a backup first, enable SSH, and reboot the router. Then I want another script that uses SSH to turn on the hidden debug setting so the disabled pages and buttons show up in the router web UI again, and keeps that setting enabled after every reboot. It should also be able to restore the backup if something goes wrong.
Keep it simple to run from the terminal, and make it work for the common Airtel models like AOT5221ZY and AOT5222ZY. If you need to check anything about router commands or current behavior, look up the latest docs online first. Please make sure it clearly warns the user before changing anything on the router, and saves credentials or backup files in a safe way.
Are you gonna build this?
make sure you review the code using coderabbit