← Back to writeups

Published September 25, 2026 • 1 min read • CSCV2026 • Pwn • Medium

Message System

Placeholder heap exploitation writeup.

Placeholder writeup body.

Leak

struct msg { char *buf; size_t len; };
void show(struct msg *m) { write(1, m->buf, m->len); }
from pwn import *
io = process("./chall")
base = leak - offset
win = base + 0x21BE
mov rdi, rax
call puts
pwndbg> x/4gx 0x555555559290
0x555555559290: 0x0000000000000000 0x0000000000000021

The address is win=PIEbase+0x21BEwin = PIE_{base} + 0x21BE.