Skip to content

Instantly share code, notes, and snippets.

View Decencies's full-sized avatar
💭
Bri'ish

Decencies

💭
Bri'ish
View GitHub Profile
@Decencies
Decencies / sinodump.py
Last active November 19, 2023 02:33 — forked from castleberrysam/fw_decrypt.py
Image extractor/decrypter for Beiying K8xx/K9xx (sinowealth SH6xFxxx/SH7xFxxx) firmware update files
#!/usr/bin/env python3
from struct import *
from argparse import *
# Royal Kludge vendor ID
rk_venor = 0x258a
# Update File magic bytes
upf_magic = b'\x5a\xa5SINO'