Unminify
Description
I don’t like scrolling down to read the code of my website, so I’ve squished it. As a bonus, my pages load faster! Browse here, and find the flag!
Hints
Hint 1
- Try CTRL+U / ⌘+U in your browser to view the page source. You can also add ‘view-source:’ before the URL, or try
curl <URL>in your shell.
Hint 2
- Minification reduces the size of code, but does not change its functionality.
Hint 3
- What tools do developers use when working on a website? Many text editors and browsers include formatting.
Step(s)
Before even looking at the page the Title of this challenge makes me think of minify json which compacts large json code. So with that in mind lets jump into it.
First I want to look at the console debugger to see if there is any code to look at and to my surprise there is nothing! While there is nothing in the Debugger there is always something in the inspector so lets expand everything and take a look. Alternatively we could right click the page and click on ‘View Page Source’. Lo’ and behold we found our flag!

Flag
Flag
picoCTF{pr3tty_c0d3_51d374f0}