Rating: 4.0
# babycryptoweb (Web, Crypto)
Hi CTF player. If you have any questions about the writeup or challenge. Submit a issue and I will try to help you understand.
Also I might be wrong on some things. Enjoy :)
(P.S Check out my [CTF cheat sheet](https://github.com/flawwan/CTF-Candy))
![alt text](img/1.png "Chall")
We are presented with the source code of the script.
```php
```
Looking at the code it looks kinda confusing at first. Let's save a local copy and work with it instead so we can debug what is going on.
First, let's refactor the `$code` variable and see what it does.
```php