Created
July 11, 2020 23:33
-
-
Save rkalit/894181e9f43a74d1281695fb56c5971f to your computer and use it in GitHub Desktop.
Use to Solve MathSolver KKSI 2019
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 characters
| from pwn import * | |
| r = remote('192.168.3.100',6699) | |
| for i in range(1,11): | |
| r.recvuntil('No: (%d) ' % i) | |
| calc = r.recvuntil('=>', drop=True) | |
| print ('%d %s' % (i , str(eval(calc)))) | |
| r.send(str(eval(calc)) + '\n') | |
| print (r.recvall()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment