ivanmedina's blog

Tags · unlink

Home

About

Archives

loading..
pwnheaplibc-2.30unlink

Safe Unlink

Safe UnlinkChecksec Tips Avoid use ‘vis’ command when corrupted the heap Some commands pwndbg> p *((struct malloc_chunk*)0x603010).fd pwndbg> dq mp_-sbrK_base pwndbg> p__free_hook pwndbg> ds m_array[0].user_data Reflected write1. Prepare chunks 2. Bypass protectionscorrupted size vs. prev_sizefd = 0xdeadbeef bk = 0xcafebabe prev_size = 0x90 f..

Read more
loading..
pwnheapunlink

Unsafe Unlink

Unsafe UnlinkNotes Chunks are considerated “small” when their size is less than 0x400. Remember that an easy way to request a chunk of a specific size is to subtract eightfrom the size you want. Analizing binariepwndbg> r Starting program: /home/user-pwn18/Escritorio/PWN/HeapLAB/unsafe_unlink/unsafe_unlink ERROR: Could not find ELF base! ============..

Read more