Tags: equationsolver misc
Rating:
# CSAW CTF 2018: Algebra





## Description
Are you a real math wiz?
```nc misc.chal.csaw.io 9002```
## Summary
Using **sympy** library in *Python*, solve the equations given by server
## Flag
```
flag{y0u_s0_60od_aT_tH3_qU1cK_M4tH5}
```
## Detailed solution
We need to create a *Python* script that takes over the equations given by server and solves it.
For scrapping the server response, we use **pwntools** modules with its function `recvutil()`. For solving equation(that must be equal to 0), we use **sympy** module after a little processing of string equation(replace equal to minus).
After repeated results sended to server, we receive the flag.