Generatore Poco Casuale — Shellcode Injection via Leaked Stack Address

The binary leaks a runtime stack address disguised as a ‘random number’. Add 6 to land inside the shellcode region, then spray that address 800 times to cover the return target and get a shell.

January 1, 2024 · 2 min · giordii

Terminator — Canary Leak + Full ret2libc

Overwrite the canary’s null byte to leak the full 8-byte cookie over printf, simultaneously leak a saved RBP to base the stack, then use puts@got to find libc base and call system(’/bin/sh’) — all in two trips through the same vulnerable function.

January 1, 2024 · 3 min · giordii