IMLENA

[WEB hacking] WebGoat 8 & JAVA 설치 with Centos7 본문

기타

[WEB hacking] WebGoat 8 & JAVA 설치 with Centos7

IM레나2 2021. 3. 22. 02:21

Web Hacking 연습을 위한 WEBGOAT를 설치 해보도록 하겠습니다.

 

WEBGOAT는 JAVA 기반이라 먼저 JAVA를 설치 해 줘야합니다.

JDK 11 이상 버전 부터 지원

 

1. JDK 11 설치

 

#yum update

#yum install java-11-openjdk-devel

#yum install java-11-openjdk

 

#www.oracle.com/java/technologies/javase-jdk11-downloads.html

#위 사이트에서 x86 64bit 버전 rpm 다운로드

#yum localinstall jdk-11.0.10_linux-x64_bin.rpm < 실제 다운받은 파일 이름과 동일하게 맞춰야 한다.

 

#java -version

자바 버젼 확인

 

2. webgoat 설치

Releases · WebGoat/WebGoat · GitHub

 

Releases · WebGoat/WebGoat

WebGoat is a deliberately insecure application. Contribute to WebGoat/WebGoat development by creating an account on GitHub.

github.com

에서 최신 패치된 파일 을 wget으로 다운로드 한다.

 

#wget https://github.com/WebGoat/WebGoat/releases/download/v8.1.0/webgoat-server-8.1.0.jar

 

WEBGOAT 실행

#java -jar webgoat-server-8.1.0.jar

 

#특정포트, 특정 IP를 설정하는 경우도 있으나 하지 않았음

 

요런 그림이 뜨고 난뒤에 

 

http://localhost:8080/WebGoat/login 

으로 접속

 

 

new user 등록하면 끝~~

 

이제 study 하는 일만 남았습니당~

Comments