Created
May 27, 2018 04:06
-
-
Save hama7230/79b4ebad25da05810683952088f80e0a to your computer and use it in GitHub Desktop.
SECCON BeginnersCTF 2018 てけいさん
This file contains 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 characters
from pwn import * | |
conn = remote('tekeisan-ekusutoriim.chall.beginners.seccon.jp', 8690) | |
conn.recvuntil(' see you.') | |
for i in range(1, 101): | |
conn.recvuntil('(Stage.%d)\n'%i) | |
buf = conn.recvuntil('=')[:-1].strip() | |
conn.sendline(str(eval(buf))) | |
conn.interactive() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment