Skip to content

Instantly share code, notes, and snippets.

@hama7230
Created May 27, 2018 04:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hama7230/79b4ebad25da05810683952088f80e0a to your computer and use it in GitHub Desktop.
Save hama7230/79b4ebad25da05810683952088f80e0a to your computer and use it in GitHub Desktop.
SECCON BeginnersCTF 2018 てけいさん
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