> For the complete documentation index, see [llms.txt](https://hawksec.gitbook.io/pt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hawksec.gitbook.io/pt/writeups/anos/2024/lactf-2024/writeup-6.md).

# one\_by\_one

Challenge description:

![chall](/files/dkZZwPuW8tjwKeyR37jN)

This has the same principle of the infinite loop, we need to see the page source:

![alt text](/files/ftBqTVRk2v8z4ukg66vu)

If we take a closer look we will find a array with all the answers, we used a [website](https://codebeautify.org/c-formatter-beautifier/cb14b18a#) to format the array to make easier to see:

![alt text](/files/JuPJQt8UyJrFNsigyIYg)

You can notice that the letter `l` has a different value than the others, and is the first letter of the flag, so if you follow this logic and get all the letters, you will be able to get the flag:

`lactf{1_by_0n3_by3_un0_*,"g1'}`


---

# 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:

```
GET https://hawksec.gitbook.io/pt/writeups/anos/2024/lactf-2024/writeup-6.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
