Skip to content

Instantly share code, notes, and snippets.

View Bluebotlabz's full-sized avatar
👨‍💻

Bluebotlabz

👨‍💻
  • Bluebotlaboratories
View GitHub Profile
@Bluebotlabz
Bluebotlabz / HG633 Router Config Editor
Created May 28, 2021 13:54
Decrypts and Re-encrypts the HG633 config file (I didn't make this)
#! /usr/bin/env python
# hg658c.wordpress.com
# This is for the Huawei HG633
"""
To decrypt encrypted values in the config, use
echo -n "RvldRxOemFEAL+AInOj90g==" | base64 -d | openssl enc -d -aes-128-cbc
-K BBB1182E7453BD73B8ECC4465FA402F9 -iv 6C76E0304A94A2B711C6BE8884F4D06C -nopad ; echo
"""