# vsCTF
## Reversing - awa-jelly
### Solved by Raviel

**The challenge give us a [txt file](https://drive.google.com/file/d/17M5Bx9ieCx34y2t0zBSxtNwDMfRKnEsQ/view?usp=sharing), said that its a code written in [AWA5.0](https://temptempai.github.io/AWA5.0/) and told us to fine the flag that is redacted in the Input section**
> **input= <redacted\>
> output= "1o1i_awlaw_aowsay3wa0awa!iJlooHi"**
after messing around with the code, I found out some pattern about the output


with the same length it will return the same change of those characters's position

and after some run, replacing the input with the current output, it will return the original input

but doing this by hand with a 32 words-length string is extremely long, a waste of time, we already knew that the same length return the same change of order so we just need to generate a random string that contain no duplicated character and 32 words long then bruteforcing the whole process of replacing.

running this [script](https://drive.google.com/file/d/1jCUYPfPm3u0SQ8_8VSEJbHqkTUWM6hde/view?usp=sharing) will give us the flag that we need
> **vsctf{J3lly_0oooosHii11i_awawawawaawa!}**
||Holy sh1t I love Jelly so much, she cute as fck man||