Created
August 31, 2024 22:36
-
-
Save mmb/d19e07c808c960e3f6c352ac0205f35c to your computer and use it in GitHub Desktop.
Disable "Cyber Security" mode in a Quantum Fiber C5500XK modem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -eu | |
MODEM_URL='https://192.168.0.1' | |
USERNAME='admin' | |
PASSWORD='your password' | |
curl \ | |
--cookie-jar cookie \ | |
--data-raw "username=$USERNAME&password=$PASSWORD" \ | |
--insecure \ | |
"$MODEM_URL/cgi/cgi_action" | |
curl \ | |
--cookie cookie \ | |
--data-raw 'Object=Device.X_AXON_SecurityAgent&Operation=Modify&Mode=Disabled' \ | |
--insecure \ | |
"$MODEM_URL/cgi/cgi_set" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment