pwnable.tw

Death Note

February 8, 2026 February 8, 2026
Author Author Hung Nguyen Tuong

The post is still being written, or I'm just too lazy :v

Recon

Mitigation

$ pwn checksec death_note 
[*] '/home/hungnt/ctfs/pwnable.tw/death-note/death_note'
    Arch:     i386-32-little
    RELRO:    Partial RELRO
    Stack:    Canary found
    NX:       NX unknown - GNU_STACK missing
    PIE:      No PIE (0x8048000)
    Stack:    Executable
    RWX:      Has RWX segments
$ file death_note 
death_note: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=547f3a1cf19ffe5798d45def2f4bc5c585af88f5, not stripped

Code

main()

Solve

Script