> ## Documentation Index
> Fetch the complete documentation index at: https://rootea.es/llms.txt
> Use this file to discover all available pages before exploring further.

# dogcat

> I made a website where you can look at pictures of dogs and/or cats! Exploit a PHP application via LFI and break out of a docker container.

# dogcat

<p className="machine-summary"><span className="prompt"><code>\$ tldr</code></span> TryHackMe · Challenge · Medium</p>

<div className="machine-meta">
  | ·             | ·                                                  |
  | ------------- | -------------------------------------------------- |
  | Platform      | TryHackMe                                          |
  | Type          | Challenge                                          |
  | Difficulty    | <span className="dbadge dbadge-easy">MEDIUM</span> |
  | Access        | 🟢 Free                                            |
  | Average time  | 75 min                                             |
  | Users         | 42.934                                             |
  | Official room | [Open](https://tryhackme.com/room/dogcat)          |
</div>

## Description

I made a website where you can look at pictures of dogs and/or cats! Exploit a PHP application via LFI and break out of a docker container.

## Solve the room

| Language | Author        | Format      | Link                                      |
| -------- | ------------- | ----------- | ----------------------------------------- |
| 🇬🇧 EN  | **TryHackMe** | Lab oficial | [Open](https://tryhackme.com/room/dogcat) |

## Resources by skill

| Skill                      | Source               | Link                                                                                     |
| -------------------------- | -------------------- | ---------------------------------------------------------------------------------------- |
| Local File Inclusion (LFI) | HackTricks           | [Open](https://book.hacktricks.wiki/en/pentesting-web/file-inclusion/index.html)         |
| Local File Inclusion (LFI) | PayloadsAllTheThings | [Open](https://github.com/swisskyrepo/PayloadsAllTheThings/tree/master/File%20Inclusion) |

## Related skills

[Local File Inclusion (LFI)](/en/skills/lfi)

***

## Comments & tips

Solved this room a different way? Share it here — comments live in [GitHub Discussions](https://github.com/FFuson/HTB_Writeups/discussions).

<div className="rootea-giscus-wrap" data-giscus-term="thm:tryhackme-dogcat" data-giscus-lang="en" />

*Last updated: 2026-06-07*

<script type="application/ld+json">
  {`{"@context":"https://schema.org","@type":"TechArticle","name":"dogcat","headline":"dogcat — TryHackMe room index","url":"https://rootea.es/en/tryhackme/rooms/dogcat","inLanguage":"en","about":[{"@type":"Thing","name":"TryHackMe"},{"@type":"Thing","name":"Challenge"}],"isPartOf":{"@type":"WebSite","name":"rootea.es","url":"https://rootea.es"},"author":{"@type":"Organization","name":"rootea.es"}}`}
</script>
