> For the complete documentation index, see [llms.txt](https://mw1po.gitbook.io/devsecops/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mw1po.gitbook.io/devsecops/it-security-roles/web-application-security-testing/self-hosted-training-lab/vulnerable-web-apps.md).

# Vulnerable Web Apps

## Java

{% embed url="<https://github.com/CSPF-Founder/JavaVulnerableLab>" %}

I recommend installing it with docker (you need docker-compose as well). Inside the project directory run

```
$ docker-compose up
```

### WebGoat Java Web App

`git clone https://github.com/hamhc/WebGoat-7.1.git webapp`

## Python

Get <https://github.com/stamparm/DSVW> or a dockerized app <https://github.com/anxolerd/dvpwa> &#x20;

## Php

Damn Vulnerable Web App. To get it on your machine I recommend to use the docker image, so you don't need to configure it <https://hub.docker.com/r/vulnerables/web-dvwa/>

```
$ docker run --rm -it -p 80:80 vulnerables/web-dvwa
```

bWAPP - buggy web application

<http://www.itsecgames.com/> has over 100 vulnerabilities

## Javascript

Juice Shop is written in Node.js, Express and Angular. Get it on <https://github.com/bkimminich/juice-shop>

```
docker pull bkimminich/juice-shop
docker run --rm -p 3000:3000 bkimminich/juice-shop
```

{% hint style="success" %}
More vulnerable web apps can be found in a curated list here <https://owasp.org/www-project-vulnerable-web-applications-directory/>
{% endhint %}


---

# 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, and the optional `goal` query parameter:

```
GET https://mw1po.gitbook.io/devsecops/it-security-roles/web-application-security-testing/self-hosted-training-lab/vulnerable-web-apps.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
