pwnmedium
They
hackerlab
Task: 64-bit login service split between a main ELF and `libanswer.so`; after valid credentials, `answer_f()` reads 145 bytes into a 32-byte stack buffer. Solution: use a short ROP chain in the non-PIE main binary to set the gate byte to 1, rewrite `ls` to `sh`, and fall back into the built-in `jmp()` path to execute `system(\"sh\")`.
$ ls tags/ techniques/
elf64x86_64ropshared_libraryno_piepartial_relronxstack_buffer_overflowcredential_recoverysystem_reuse
stack_buffer_overflowcredential_recovery_via_stringsrop_without_libc_leakwritable_memory_patchinternal_command_path_reuse
🔒
Permission denied (requires tier.pro)
Sign in to access full writeups
Create a free account with GitHub to get started.
$ssh [email protected]