Skip to content

Instantly share code, notes, and snippets.

@mmb
Created August 31, 2024 22:36
Show Gist options
  • Save mmb/d19e07c808c960e3f6c352ac0205f35c to your computer and use it in GitHub Desktop.
Save mmb/d19e07c808c960e3f6c352ac0205f35c to your computer and use it in GitHub Desktop.
Disable "Cyber Security" mode in a Quantum Fiber C5500XK modem
#!/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