# old-32 (150)

첫 화면이다.

![](/files/-M1sY2PBW2D5K-_-Jyor)

Hit 순으로 정렬되는 것 같은데 나는 맨 아래에 위치해있다.

![](/files/-M1sYHj2Kz7YiaW6NfiT)

페이지 소스의 일부는 아래와 같다.

```markup
<tr onmouseover="this.style.background='gray'" onmouseout=
"this.style.background='black'" onclick= "location.href='?hit=dominic20'" style=
"background: black;">
    <td>852</td>
    <td>dominic20</td>
    <td align="center">0 / 100</td>
</tr>
```

이름을 클릭하면 Hit가 1 증가한다.

다시 클릭하면 아래와 같이 알림이 뜨면서 Hit가 증가하지 않는다.

![](/files/-M1sbQ7vij7sNDL37GbS)

쿠키를 확인하면 아래와 같이 `vote_check` 라는 쿠키가 생성되어 있다.

![](/files/-M1sbsF3lYZM8fIC6gvh)

해당 쿠키를 금지한다.

![](/files/-M1sbzBWeEccXkUtwv0M)

그러면 아무리 이름을 클릭을 해도 알림이 뜨지 않고 Hit가 계속 증가한다.

Hit 수를 증가시키는 파이썬 코드를 짜면 아래와 같다.

```python
import requests

URL = 'https://webhacking.kr/challenge/code-5/?hit=donghyunlee00'
PHPSESSID = 'MY_PHPSESSID'

for i in range(100):
    requests.get(URL, cookies={'PHPSESSID': PHPSESSID})

```


---

# Agent Instructions: 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://donghyunlee.gitbook.io/write-up/wargame/webhacking.kr/old-32-150.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.
