feat(exploit): Replace checkm8 placeholders with real exploit data

Updated exploit stages with actual USB transfer sequences from gaster.
Added real callback overwrite structures, magic constants, and heap
spray logic (both large_leak and no-leak paths). Replaced shellcode
placeholders with actual ARM64 and ARMv7 bytes from ipwndfu binary.
Payload assembly now builds correct per-chip header structs using
the full chip_db offset table.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
tr4m0ryp 2026-04-05 02:47:24 +02:00
parent e2f936d6b7
commit 369e6bcbfa
10 changed files with 860 additions and 447 deletions

View file

@ -23,12 +23,15 @@
/* DFU state values (bState field in status response) */
/* ------------------------------------------------------------------ */
#define DFU_STATE_IDLE 0x02
#define DFU_STATE_DNLOAD_SYNC 0x03
#define DFU_STATE_DNLOAD_IDLE 0x05
#define DFU_STATE_MANIFEST_SYNC 0x06
#define DFU_STATE_UPLOAD_IDLE 0x09
#define DFU_STATE_ERROR 0x0A
#define DFU_STATE_IDLE 0x02
#define DFU_STATE_DNLOAD_SYNC 0x03
#define DFU_STATE_DNBUSY 0x04
#define DFU_STATE_DNLOAD_IDLE 0x05
#define DFU_STATE_MANIFEST_SYNC 0x06
#define DFU_STATE_MANIFEST 0x07
#define DFU_STATE_MANIFEST_WAIT_RST 0x08
#define DFU_STATE_UPLOAD_IDLE 0x09
#define DFU_STATE_ERROR 0x0A
/* ------------------------------------------------------------------ */
/* DFU status values (bStatus field in status response) */