> For the complete documentation index, see [llms.txt](https://krjaeh0.gitbook.io/j-log/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://krjaeh0.gitbook.io/j-log/security/ctf-and-wargame/write-up.md).

# Write up

* 워게임 혹은 CTF 문제에서 플래그를 찾는 과정, 즉 문제를 정리하는 것을 라이트업(write-up)이라 한다.
* 대부분 CTF와 같은 대회에서는 문제를 제대로 풀었는지 확인하기 위해 라이트업을 요구한다.
* 대회 종료 후 라이트업을 공유하기도 한다.
* 자신이 푼 문제의 라이트업을 작성하면 더 정확하게 이해하고 공부할 수 있다.

### 라이트업을 봐도 괜찮을 걸까?

{% hint style="info" %}
문제를 풀지 못했는데 풀이를 봐도 되는지 고민된다면 아래 체크리스트를 확인해보세요.
{% endhint %}

* [ ] 주어진 문제가 어떤 프로그램/서비스인지 이해했다.
* [ ] 취약점(또는 이상한 부분)이 무엇인지 파악했다.
* [ ] 찾은 취약점을 어떻게 공략/공격하면 될지 구상이 되었다.
* [ ] 풀이에 필요한 코드나 페이로드를 작성했다.
* [ ] 문제를 풀 때 위 항목들은 순차적으로 풀이자가 해야 할 일입니다.
* [ ] 최소한 첫 번째 항목(문제의 성격 이해)은 스스로 해결한 뒤 라이트업을 보는 것을 권장합니다.


---

# 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://krjaeh0.gitbook.io/j-log/security/ctf-and-wargame/write-up.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.
