Skip to content

Instantly share code, notes, and snippets.

@rrrrrrri
rrrrrrri / fgt_7.4.x_rootfs_decrypt.py
Created March 15, 2024 01:26
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):
[CVE ID]
CVE-2024-23721
[PRODUCT]
Draytek Vigor 3910 router
[VERSION]
Vigor3910 <= v4.3.2.5
...
[TYPE]
Sensitive information disclosure
[DESCRIPTION]