> For the complete documentation index, see [llms.txt](https://ir0nstone.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box.md).

# Hack The Box

- [Linux Machines](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/linux-machines.md)
- [Easy](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/linux-machines/easy-linux.md)
- [Traceback](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/linux-machines/easy-linux/traceback.md)
- [Medium](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/linux-machines/medium.md)
- [Magic](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/linux-machines/medium/magic.md): SQL injection, PHP reverse shell upload, mysqldump and PATH injection
- [UpDown](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/linux-machines/medium/updown.md): LFI to RCE using PHAR files while bypassing disabled\_functions, followed by abuse of SUID and sudo.
- [Hard](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/linux-machines/hard.md)
- [Intense](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/linux-machines/hard/intense.md): SQL Injection, Hash Length Extension, LFI and binary exploitation
- [Challenges](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/challenges.md)
- [Web](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/challenges/web.md)
- [Looking Glass](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/challenges/web/looking-glass.md)
- [Sanitize](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/challenges/web/sanitize.md)
- [Baby Auth](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/challenges/web/baby-auth.md)
- [Baby Website Rick](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/challenges/web/baby-website-rick.md)
- [Pwn](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/challenges/pwn.md)
- [Dream Diary: Chapter 1](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/challenges/pwn/dream-diary-chapter-1.md)
- [Unlink Exploit](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/challenges/pwn/dream-diary-chapter-1/unlink-exploit.md)
- [Chunk Overlap](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/challenges/pwn/dream-diary-chapter-1/chunk-overlap.md)
- [Ropme](https://ir0nstone.gitbook.io/notes/writeups/hack-the-box/challenges/pwn/ropme.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ir0nstone.gitbook.io/notes/writeups/hack-the-box.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
