π Hidden Deep Into My Heart β TryHackMe Write-Up
This blog serves as a beginner-friendly guide to understanding the world of cybersecurity. From defining what cybersecurity is to exploring its two major domainsβoffensive and defensive securityβit breaks down various career paths such as Security Analyst, Engineer, Penetration Tester, and more. Whether you're just curious or planning a career, this blog gives you the insight and direction to get started in the cybersecurity field.
π Hidden Deep Into My Heart β TryHackMe Write-Up
Room: Hidden Deep Into My Heart
Platform: TryHackMe
Category: Web
Difficulty: Easy
Flag: THM{l0v3_is_in_th3_r0b0ts_txt}
π Challenge Overview
In this room, we were given a web application running at:
http://10.49.167.20:5000
The mission was simple:
Find what's hidden deep inside this website.
The hint strongly suggested that something was hidden, so this was clearly a web enumeration challenge.
π Step 1: Initial Recon
First, I opened the website in the browser.
It looked like a simple webpage β nothing suspicious on the surface.
Whenever I see a basic website in a CTF, my first thought is:
Check source code
Check
robots.txtEnumerate directories
π€ Step 2: Checking robots.txt
I navigated to:
http://10.49.167.20:5000/robots.txt
And boom! π₯
There was useful information inside robots.txt.
This file contained:
A hidden directory path
Login credentials (username & password)
This is a very common CTF trick β developers accidentally leave sensitive information inside robots.txt.
π Lesson: Always check robots.txt in web challenges.
π Step 3: Directory Enumeration with dirsearch
To find hidden directories, I used dirsearch.
dirsearch -u http://10.49.167.20:5000
After scanning, a new directory appeared:
/administore
This looked like an admin login panel.
π Step 4: Accessing the Admin Panel
I visited:
http://10.49.167.20:5000/administore
There was a login page.
From robots.txt, I already had:
Username: admin
Password: (from robots.txt)
I entered the credentialsβ¦
And successfully logged in! π
π© Step 5: Finding the Flag
After logging into the admin panel, I searched around the page.
Inside, I found the flag:
THM{l0v3_is_in_th3_r0b0ts_txt}
Mission complete π
π Key Takeaways
β Always check robots.txt
β Use directory brute-forcing tools like dirsearch
β Never ignore hidden paths
β Developers sometimes expose credentials in public files
β Enumeration is the key in web CTF challenges
π Tools Used
Browser
dirsearchBasic web enumeration techniques
π‘ Final Thoughts
This was an easy but very educational web challenge.
The main vulnerability was:
Sensitive information exposed in
robots.txt.
Even small misconfigurations can lead to full compromise.