> For the complete documentation index, see [llms.txt](https://repo.4pfsec.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://repo.4pfsec.com/tryhackme/advent-of-cyber-3-2021/day-3-christmas-blackout.md). Agents can also search and read this documentation through its [MCP server](https://repo.4pfsec.com/~gitbook/mcp).

# \[Day 3] Christmas Blackout

{Web Exploitation = Content Discovery}

## Challenge

Accessing the site reveals a login form as shown below.

![](https://561482365-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdOcy1ba9EGn2GQ7ELK%2Fuploads%2FfdUmRbNPNV5oR4LmsEXD%2Fimage.png?alt=media\&token=e0e3e7b4-b599-4d37-bd7f-05844f53bf1f)

Since there was no attack vector via the main page, I scanned the web directory for hidden directories with the command below.

```
gobuster dir -u http://10.10.11.109/ -e -w /usr/share/wordlists/dirb/common.txt -t 100 -x .php,.txt,.html,.cnf,.conf | tee gobuster.log
```

While running that, I noticed a URL `10.10.11.109/admin` with a redirect status code.

![](https://561482365-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdOcy1ba9EGn2GQ7ELK%2Fuploads%2F9MP05g5HHqe8jhlTJ0Oq%2Fimage.png?alt=media\&token=967b62cc-5608-4b89-b8c0-a8bb2b78c57f)

{% hint style="success" %}
Using a common wordlist for discovering content, enumerate <http://10.10.11.109> to find the location of the administrator dashboard. What is the name of the folder?

* admin
  {% endhint %}

`10.10.11.109/admin/` returned the following.

![](https://561482365-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdOcy1ba9EGn2GQ7ELK%2Fuploads%2FAu29SxwEDhTEvAZ8oOum%2Fimage.png?alt=media\&token=f1521250-9671-4f71-b478-b3e7ef55c456)

Trying `administrator:administrator` logged me into the admin portal and revealed the flag!

{% hint style="success" %}
In your web browser, try some default credentials on the newly discovered login form for the "administrator" user. What is the password?

* administrator
  {% endhint %}

![](https://561482365-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdOcy1ba9EGn2GQ7ELK%2Fuploads%2F6jvnSdWXKIfGUgD3veJO%2Fimage.png?alt=media\&token=5e3c26d1-6926-4791-9516-b44cc7fc8ffb)

{% hint style="success" %}
Access the admin panel. What is the value of the flag?

* THM{ADM1N\_\*\*\*\*\*}
  {% endhint %}
