手把手教你在kali-Linux 2020.3安装webgoat

文章目录

前言

一、webgoat是什么?

二、安装过程

1.下载webgoat

2.直接拖入kali并创建一个webgoat的文件夹

3.检测Java环境~

4.在终端打开webgoat-server-8.0.0.M26.jar的文件夹

5.输入代码运行~

6.waiting~

 7.启动成功

8.浏览器直接访问

9.注册登入即可访问

 三、可能存在的问题

总结



前言

随着社会的发展,网络安全意识已深入人心。对于初入安全行业的小白来说,需要一个集学习、练习于一体的平台,webgoat便应运而生。kali是一个集成的多工具平台且预装Java环境,题目练习时直接使用kali工具省时省力~下面笔者将介绍如何在kali-Linux 2020.3上安装webgoat。


一、webgoat是什么?

WebGoat是OWASP组织研制出的用于进行web漏洞实验的应用平台,用来说明web应用中存在的安全漏洞。WebGoat运行在带有java虚拟机的平台之上,当前提供的训练课程有30多个,其中包括:跨站点脚本攻击(XSS)、访问控制、线程安全、操作隐藏字段、操纵参数、弱会话cookie、SQL盲注、数字型SQL注入、字符串型SQL注入、web服务、Open Authentication失效、危险的HTML注释等等。WebGoat提供了一系列web安全学习的教程,某些课程也给出了视频演示,指导用户利用这些漏洞进行攻击。

owasp中关于webgoat的介绍:http://www.owasp.org.cn/owasp-project/webscan-platform/

Github:https://github.com/WebGoat/WebGoat

二、安装过程

1.下载webgoat

地址:https://github.com/WebGoat/WebGoat/releases

2.直接拖入kali并创建一个webgoat的文件夹

3.检测Java环境~

kali预装Java环境的~省时省力

java -version

4.在终端打开webgoat-server-8.0.0.M26.jar的文件夹

5.输入代码运行~

代码实现如下

java -jar webgoat-server-8.0.0.M26.jar

6.waiting~

 7.启动成功


2021-07-29 01:53:43.655  INFO 1523 --- [           main] org.owasp.webgoat.StartWebGoat           : Started StartWebGoat in 13.01 seconds (JVM running for 13.612)

8.浏览器直接访问

地址:127.0.0.1:8080/WebGoat/login.html

9.注册登入即可访问

 三、可能存在的问题

        在使用平台的过程中一定不能把启动成功的终端关闭!!!切记!!!否则可能出现...


总结

以上就是安装WebGoat的步骤,如有不妥,欢迎各位师傅批评指正~

### WebGoat Installation and Usage on Linux For installing and using WebGoat on a Linux environment, the process involves several key steps that ensure proper setup of this educational tool designed to teach web application security lessons. #### Prerequisites Before proceeding with the installation of WebGoat, it is necessary to have Java installed since WebGoat runs as a Java application. One can verify if Java is already present by executing `java -version` in the terminal. If not available, install OpenJDK or Oracle JDK depending upon preference[^1]. ```bash sudo apt update && sudo apt install default-jdk ``` #### Downloading WebGoat The latest version of WebGoat should be downloaded from its official GitHub repository or website. This ensures obtaining an up-to-date copy which includes recent fixes and features added by developers. ```bash wget https://github.com/WebGoat/WebGoat/releases/download/8.0/webgoat-server-8.0.jar ``` #### Running WebGoat Once downloaded, running WebGoat requires specifying sufficient heap space for optimal performance during exercises. Use the command below where `-Xmx512m` allocates memory accordingly: ```bash java -jar webgoat-server-8.0.jar --spring.profiles.active=WebGoat ``` This starts the server locally at port 8080 typically unless specified otherwise within configuration files or through additional parameters passed along while invoking java jar file execution. #### Accessing WebGoat Interface After starting successfully without errors, open any modern browser navigating towards `http://localhost:8080/WebGoat`. Here users will find instructions guiding them further into creating accounts before diving straight into learning modules covering various aspects related specifically but not limited only around OWASP Top Ten vulnerabilities found commonly across insecure applications today. #### Configuration Adjustments (Optional) Depending on network settings or requirements outside standard localhost deployment scenarios, adjustments might need making inside properties files located under resources folder bundled together alongside executable JAR archive provided officially via downloads section mentioned earlier above here too.
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

M0nH1N

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值