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:
parent
e2f936d6b7
commit
369e6bcbfa
10 changed files with 860 additions and 447 deletions
|
|
@ -64,13 +64,14 @@ int exploit_deliver(exploit_ctx_t *ctx)
|
|||
|
||||
log_info("exploit_deliver: starting checkm8 on %s", ctx->chip->name);
|
||||
|
||||
/* Gaster stage order: reset -> setup (UAF) -> spray -> patch */
|
||||
if (checkm8_stage_reset(ctx) != 0)
|
||||
return -1;
|
||||
|
||||
if (checkm8_stage_spray(ctx) != 0)
|
||||
if (checkm8_stage_setup(ctx) != 0)
|
||||
return -1;
|
||||
|
||||
if (checkm8_stage_setup(ctx) != 0)
|
||||
if (checkm8_stage_spray(ctx) != 0)
|
||||
return -1;
|
||||
|
||||
if (checkm8_stage_patch(ctx) != 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue