Skip to main content

Command Palette

Search for a command to run...

πŸ’˜ Hidden Deep Into My Heart – TryHackMe Write-Up

Published
β€’2 min readβ€’View as Markdown
S

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.txt

  • Enumerate 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

  • dirsearch

  • Basic 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.

More from this blog

A

A's BLACKHOLE

76 posts

This blog serves as a beginner-friendly guide to understanding the world of cybersecurity.