File size: 184 Bytes
0d3476b
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import pwn

io = pwn.process('./stack')
with open('./payload_stack', 'rb') as f:
    payload = f.read()

io.send(payload)
output = io.recv().decode('latin-1')

print(output)