Created
May 23, 2020 09:16
-
-
Save cimi/98af8d4f3ae504e3755953720e3747c9 to your computer and use it in GitHub Desktop.
Revisions
-
cimi created this gist
May 23, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ from pwn import * TICKET="ticket{charlie13078november:GKoPacNtB4q3dptlAjUMQlHHdNvsJxdmyjs1ABiR05oAFVa8guB34bd-hSYtx0glKQ}" HOST="intro2.satellitesabove.me" PORT=5001 ANSWER="1789224188" p = remote(HOST, PORT) print(p.recvuntil("Ticket please:").decode("utf-8")) print("-> " + TICKET) p.send(TICKET + "\n") problem = p.recvuntil("?").decode("utf-8") print(problem) p.send(ANSWER + "\n") print("-> " + ANSWER) print(p.recvall().decode('utf-8'))