> For the complete documentation index, see [llms.txt](https://docs.cooku222.kr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cooku222.kr/security/web-hacking/suninatas/suninatas-game-05.md).

# \[SuNiNaTaS] Game 05

문제 출처 : <http://suninatas.com/challenge/web05/web05.asp>

***

<figure><img src="https://blog.kakaocdn.net/dna/bqYPgP/dJMcafLLkOd/AAAAAAAAAAAAAAAAAAAAAK4U5IrCw5SEb-wZETUw2Gmry1H2lYqPld9WUR2KYPAf/img.png?credential=yqXZFxpELC7KVnFOS48ylbz2pIh7yKj8&#x26;expires=1782831599&#x26;allow_ip=&#x26;allow_referer=&#x26;signature=w5%2B7KyK7VmZfOZIi7d5kfX6Tt%2Fw%3D" alt="" height="167" width="403"><figcaption></figcaption></figure>

무슨 값을 입력해야할지 감이 안 와서 F12로 소스를 확인해준다.

<figure><img src="https://blog.kakaocdn.net/dna/Y1qiX/dJMcabbwFFJ/AAAAAAAAAAAAAAAAAAAAABPYKxLPEpj8Iw_7G4N63jCIDgbgSvfBmowSAg2sHIw2/img.png?credential=yqXZFxpELC7KVnFOS48ylbz2pIh7yKj8&#x26;expires=1782831599&#x26;allow_ip=&#x26;allow_referer=&#x26;signature=NXfLm8XdTQ9sOPmf6HZz5ZUHbqU%3D" alt="" height="95" width="316"><figcaption></figcaption></figure>

위의 힌트를 확인해주고 저 커맨드에 힌트 숫자를 입력해주면 답이 아니라고 뜬다. \
그럼 다른 값을 넣는게 맞을테니 더 자세하게 보기 위해 마우스 오른쪽 - \[페이지 소스 확인]으로 소스코드를 확인해준다.&#x20;

<figure><img src="https://blog.kakaocdn.net/dna/teDJ1/dJMcai9vmpr/AAAAAAAAAAAAAAAAAAAAAF4ZcfaSvKBhf9YW6CZhfIGXZHicTFwvCHM6d1M4B0qL/img.png?credential=yqXZFxpELC7KVnFOS48ylbz2pIh7yKj8&#x26;expires=1782831599&#x26;allow_ip=&#x26;allow_referer=&#x26;signature=ztVlXoo7Yuv0tTPqkyJs7%2BpFZ7s%3D" alt="" height="327" width="1086"><figcaption></figcaption></figure>

난독화된 코드가 보인다. 한줄짜리라 가독성이 떨어지니 아래의 사이트를 사용해 가독성을 높여준다. \
<https://beautifier.io/>

[Online JavaScript beautifierBeautify JavaScript, JSON, React.js, HTML, CSS, SCSS, and SASSbeautifier.io](https://beautifier.io/)

&#x20;

<figure><img src="https://blog.kakaocdn.net/dna/bl5tMO/dJMcacIgZdI/AAAAAAAAAAAAAAAAAAAAAJitaEyXAxUOwLAookt4SR-nIP7DQ4lbOdK1jX4JdnL8/img.png?credential=yqXZFxpELC7KVnFOS48ylbz2pIh7yKj8&#x26;expires=1782831599&#x26;allow_ip=&#x26;allow_referer=&#x26;signature=RDUQ6aVPsBED3Ys9HSg17kziZ6w%3D" alt="" height="625" width="1180"><figcaption></figcaption></figure>

난독화된 코드를 가독성있게 변환해준다.&#x20;

<figure><img src="https://blog.kakaocdn.net/dna/bXnZbX/dJMcaawU6Ph/AAAAAAAAAAAAAAAAAAAAAB3dmfWGtllTtOHksz12AFvSCKsjpTJiry_Bws8eBX9K/img.png?credential=yqXZFxpELC7KVnFOS48ylbz2pIh7yKj8&#x26;expires=1782831599&#x26;allow_ip=&#x26;allow_referer=&#x26;signature=r7tNyHKksdNsscFsGd6iLZcjmVI%3D" alt="" height="255" width="837"><figcaption></figcaption></figure>

위의 자바스크립트를 콘솔창에 치고 PASS() 함수안에 주어진 숫자를 입력해 Authkey를 구한다.


---

# 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://docs.cooku222.kr/security/web-hacking/suninatas/suninatas-game-05.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.
