about summary refs log tree commit diff
path: root/nix/templates/ctf/solve.py
blob: acc4a756b059798364572f0aace44e790ca05383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from pwn import *

context.gdbinit="/nix/store/jhvjf5drzzqq54xghzz94h0a6wsn1fs1-pwndbg/share/pwndbg/gdbinit.py"

# exe = ELF("./a.out")

p = remote("138.199.213.51", 31335)
#p = gdb.debug(exe.path, gdbscript='''
#                break main
#                c
#              ''')

p.sendlineafter(b"> ", b"asd")

p.interactive()