Skip to content

Instantly share code, notes, and snippets.

@lcfr-eth
lcfr-eth / fgt_7.4.x_rootfs_decrypt.py
Created December 2, 2025 16:04 — forked from rrrrrrri/fgt_7.4.x_rootfs_decrypt.py
fgt_7.4.x_rootfs_decrypt
import magic
import r2pipe
import hashlib
import argparse
import subprocess
from unicorn import *
from unicorn.x86_const import *
# from udbserver import * # uncomment this line if you want to debug
def pad_size(size):