Skip to content

Instantly share code, notes, and snippets.

View imkushalpatel's full-sized avatar
🎯
Focusing

Kushal Patel imkushalpatel

🎯
Focusing
View GitHub Profile
@imkushalpatel
imkushalpatel / nokia-router-cfg-tool.py
Created July 7, 2022 03:07 — forked from thedroidgeek/nokia-router-cfg-tool.py
Nokia/Alcatel-Lucent router backup configuration tool
#!/usr/bin/env python3
#
# Nokia/Alcatel-Lucent router backup configuration tool
#
# Features:
# - Unpack/repack .cfg files generated from the backup and restore functionnality
# in order to modify the full router configuration
# - Decrypt/encrypt the passwords/secret values present in the configuration
@imkushalpatel
imkushalpatel / zte_extract.py
Created July 8, 2022 08:44 — forked from ndunks/zte_extract.py
Modem Indihome ZTE F609 Config Extract and Repack
#!/usr/bin/env python
# https://reverseengineering.stackexchange.com/a/13395
import sys
import binascii
import struct
import zlib
if (len(sys.argv) <= 1):
print('USAGE:\n%s [configBak.cfg|config.bin]' % sys.argv[0])
exit(1)