> 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/webgoat/webgoat-webgoat.md).

# \[Webgoat] Webgoat 설치 방법

우선 최신 버전의 자바 JDK를 설치해주어야 한다.

{% embed url="<https://coding-factory.tistory.com/838>" %}

위 블로그를 참고했다.\
\
<https://github.com/WebGoat/WebGoat/releases/tag/v8.2.2>

그리고 위 링크에 접속해 웹 고트를 다운 받아준다.\
명령 프롬프트를 관리자 권한으로 켜서 아래의 명령어를 입력해준다.&#x20;

<figure><img src="https://blog.kakaocdn.net/dna/b39GYP/dJMcabvLpAf/AAAAAAAAAAAAAAAAAAAAAK7miQ_IltjDq-rXY5DH02hHCF_9EAtKjuI8YpfqhVKj/img.png?credential=yqXZFxpELC7KVnFOS48ylbz2pIh7yKj8&#x26;expires=1782831599&#x26;allow_ip=&#x26;allow_referer=&#x26;signature=j4y9EE%2B%2BhC5SaOmn%2FFyUQ3jq20w%3D" alt="" height="70" width="662"><figcaption><p>java -jar .\[웹고트 버전 명]</p></figcaption></figure>

<figure><img src="https://blog.kakaocdn.net/dna/cpEqLr/dJMcacg8woh/AAAAAAAAAAAAAAAAAAAAAOopQMsJPFwqmLEsbCuK6mzGqXsRzLksBRN44Rbm6BM3/img.png?credential=yqXZFxpELC7KVnFOS48ylbz2pIh7yKj8&#x26;expires=1782831599&#x26;allow_ip=&#x26;allow_referer=&#x26;signature=gHfGgxHTmesAgz%2FJlYxQgDVQzI0%3D" alt="" height="568" width="1912"><figcaption></figcaption></figure>

그럼 이런 화면이 뜨면서 실행이 된다. \
참고로 정말 간혹 포트 충돌나는 사람들이 있는데!(는 내 얘기임)\
안 쓰는 포트번호인지 확인하고(!!) 아래의 명령어를 써주면 된다.

```
taskkill /PID [PID 번호] /F
```

다시 돌아와서 크롬 브라우저든 엣지 브라우저든 브라우저로 웹 고트를 접속하면 된다.\
굳이 원리를 설명하자면 내 자바로 자체 서버를 구동시켜 접속할 수 있는 사이트이다. \
<http://127.0.0.1:8080/WebGoat로> 접속하면 된다.

<figure><img src="https://blog.kakaocdn.net/dna/bklP52/dJMcadmOnHF/AAAAAAAAAAAAAAAAAAAAADDIAdpwAkyvOmLria6azJPVyC9jG3lHPz5N4liUBUFM/img.png?credential=yqXZFxpELC7KVnFOS48ylbz2pIh7yKj8&#x26;expires=1782831599&#x26;allow_ip=&#x26;allow_referer=&#x26;signature=Z%2Bqj1f%2FeS5lflBZIBm%2BVoNHyljY%3D" alt="" height="885" width="1855"><figcaption></figcaption></figure>

로그인하면 HTTP Basics부터 보인다. &#x20;


---

# 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/webgoat/webgoat-webgoat.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.
