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

# File Inclusion

> This room introduces file inclusion vulnerabilities, including Local File Inclusion (LFI), Remote File Inclusion (RFI), and directory traversal.

# File Inclusion

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

<div className="machine-meta">
  | ·             | ·                                                  |
  | ------------- | -------------------------------------------------- |
  | Platform      | TryHackMe                                          |
  | Type          | Walkthrough                                        |
  | Difficulty    | <span className="dbadge dbadge-easy">MEDIUM</span> |
  | Access        | 🔵 Subscriber                                      |
  | Average time  | 60 min                                             |
  | Users         | 163.791                                            |
  | Official room | [Open](https://tryhackme.com/room/fileinc)         |
</div>

## Description

This room introduces file inclusion vulnerabilities, including Local File Inclusion (LFI), Remote File Inclusion (RFI), and directory traversal.

<Note>
  This room requires a TryHackMe subscription (VIP) to access the lab. The official page will tell you if your plan covers it.
</Note>

## Solve the room

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

## Resources by skill

| Skill                       | Source               | Link                                                                                     |
| --------------------------- | -------------------- | ---------------------------------------------------------------------------------------- |
| Remote File Inclusion (RFI) | 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) |
| Directory / Path Traversal  | PortSwigger          | [Open](https://portswigger.net/web-security/file-path-traversal)                         |

## Related skills

[Remote File Inclusion (RFI)](/en/skills/rfi) · [Local File Inclusion (LFI)](/en/skills/lfi) · [Directory / Path Traversal](/en/skills/directory-traversal)

***

## 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-fileinc" data-giscus-lang="en" />

*Last updated: 2026-06-07*

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