Cookie Monster Secret Recipe
Easy
Time Spent: 5 minutes
https://play.picoctf.org/practice/challenge/469 🔧 Tools used
Websites
- URL Decoder : https://www.urldecoder.org/
Linux shell
base64
Steps
- Went on the website and searched in the cookies to see if there was anything. (Spoiler alert : Nothing !!)
- Tried the login form on the website
- I arrived on a page with a message said saying: “Have you checked your cookies lately?”
- So went back to cookies and found a cookie
- At 1st nothing special on the cookie value string, it looked like base 64 then I noticed at the end of the string
%3D%3D - It reminded me of URL encoding
- Went on URL Decoder website and pasted the string
- It returned the string with
==at the end, which represent the end of a base64 string.
- It returned the string with
- Decoded the base64 with :
echo "...==" | base64 -dand it gave me the flag.