Tags: misc 

Rating:

# ECC for dummies
> Sometimes you have to force logic to do what you want it to do

## About the Challenge
We have been given a server to connect and also the source code. So we can input 8 questions and we need to guess the cards too (You can download the source code [here](ecc_for_dummies.zip))

![preview](images/preview.png)

## How to Solve?
To solve this chall, im using PyJail payload and I inputted it when the bot asked us to input the question

```
breakpoint()
```

After enterring Python debugger, run this command to obtain the flag

```
open("/jailed/flag.txt").read()
```

![flag](images/flag.png)

```
justCTF{S4nd_S0metim3s_It$_EvEn_$0lv4ble}
```

Original writeup (https://github.com/daffainfo/ctf-writeup/blob/main/justCTF%202023/ECC%20for%20dummies).