15 Mar 2026 / TryHackMe
Pickle Rick — Your First CTF
A Rick and Morty themed beginner CTF. View page source for clues, find a login panel, and execute commands on the server.
On this page
Recon
We open the website and see a Rick and Morty page — Rick needs help finding his ingredients. Let’s check the page source first (right-click → View Page Source):
<!-- Note to self, remember username: R1ckRul3s -->
Nice, a username in a HTML comment. Now let’s check robots.txt — always a good habit:
$ curl http://<IP>/robots.txt
Wubbalubbadubdub
That looks like a password. Now we need to find the login page.
Finding the Login
Running a quick directory scan with GoBuster reveals /login.php. Log in with the credentials we found:
Username: R1ckRul3s
Password: Wubbalubbadubdub
Command Execution
After login, we find a “Command Panel” — it lets us run system commands directly! Let’s explore:
$ ls
Sup3rS3cretPickl3Ingred.txt
assets clue.txt denied.php login.php
$ cat Sup3rS3cretPickl3Ingred.txt
Command disabled... (cat is blocked!)
$ less Sup3rS3cretPickl3Ingred.txt
mr. meeseek hair
The cat command is blocked, but less works fine. We find all three ingredients by exploring the filesystem with ls and less.
→ Takeaway
Always check page source and robots.txt. If one command is blocked, try alternatives.