Skip to content

Instantly share code, notes, and snippets.

@jameshilliard
jameshilliard / decrypt.py
Last active October 9, 2019 20:51 — forked from laanwj/decrypt.py
Decrypt router configuration
#!/usr/bin/env python3
# W.J. van der Laan 2017, distributed under MIT license
import binascii
import base64
import struct
import json
import os, sys
from Crypto import Random
from Crypto.Cipher import AES