Skip to content
forked from vulhub/vulhub

Pre-Built Vulnerable Environments Based on Docker-Compose

License

Notifications You must be signed in to change notification settings

dingafter/vulhub

This branch is 222 commits behind vulhub/vulhub:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4e59a9c · Aug 9, 2024
Apr 8, 2024
Dec 30, 2023
Jul 8, 2023
May 28, 2023
May 20, 2024
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
Jul 15, 2024
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
Feb 2, 2024
Jan 29, 2024
Jan 22, 2024
May 28, 2023
May 28, 2023
Nov 3, 2023
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
Jun 2, 2023
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
Jul 2, 2024
May 28, 2023
May 28, 2023
May 28, 2023
May 6, 2024
May 6, 2024
Mar 6, 2024
May 28, 2023
May 5, 2024
May 24, 2024
May 24, 2024
May 28, 2023
May 28, 2023
Sep 21, 2023
May 24, 2024
May 5, 2024
May 28, 2023
Oct 24, 2023
Oct 18, 2023
Jan 26, 2024
May 28, 2023
May 5, 2024
May 28, 2023
May 5, 2024
May 28, 2023
Oct 9, 2023
May 5, 2024
May 28, 2023
May 24, 2024
Apr 18, 2024
May 28, 2023
May 24, 2024
May 28, 2023
May 28, 2023
Feb 24, 2024
May 28, 2023
Jul 28, 2023
Feb 22, 2024
May 28, 2023
Jun 1, 2024
May 28, 2023
May 28, 2023
May 28, 2023
Jul 17, 2024
Apr 5, 2024
May 24, 2024
May 28, 2023
May 28, 2023
May 28, 2023
Dec 30, 2023
Jun 17, 2023
May 24, 2024
Jun 1, 2024
May 28, 2023
Feb 28, 2024
May 24, 2024
Apr 5, 2024
May 28, 2024
Feb 8, 2024
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
Jul 28, 2023
Sep 1, 2023
May 5, 2024
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
Jun 4, 2024
May 28, 2023
Feb 24, 2024
May 28, 2023
May 28, 2023
Oct 24, 2023
May 28, 2023
Jan 31, 2024
Jul 15, 2024
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
Sep 7, 2023
May 28, 2023
May 28, 2023
May 28, 2023
May 28, 2023
Oct 1, 2023
Apr 26, 2018
Mar 2, 2018
Sep 2, 2018
Feb 29, 2024
Feb 29, 2024
Oct 9, 2020
Sep 6, 2018
Jul 15, 2024

Repository files navigation

Vulhub

GitHub Chat on Discord Backers and sponors on Patreon Backers and sponors on Opencollective

Vulhub is an open-source collection of pre-built vulnerable docker environments. No pre-existing knowledge of docker is required, just execute two simple commands and you have a vulnerable environment.

中文版本(Chinese version)

Installation

Install Docker on Ubuntu 22.04:

# Install the latest version docker
curl -s https://get.docker.com/ | sh

# Run docker service
systemctl start docker

Note that as of April 2022, docker compose is merged into Docker as a subcommand as Docker Compose V2, the Python version of docker-compose will be deprecated after June 2023. So Vulhub will no longer require the installation of additional docker-compose, and all documentation will be modified to use the docker compose instead.

The installation steps of Docker and Docker Compose for other operating systems might be slightly different, please refer to the docker documentation for details.

Usage

# Download project
wget https://github.com/vulhub/vulhub/archive/master.zip -O vulhub-master.zip
unzip vulhub-master.zip
cd vulhub-master

# Enter the directory of vulnerability/environment
cd flask/ssti

# Compile environment
docker compose build

# Run environment
docker compose up -d

There is a README document in each environment directory, please read this file for vulnerability/environment testing and usage.

After the test, delete the environment with the following command.

docker compose down -v

It is recommended to use a VPS of at least 1GB memory to build a vulnerability environment. The your-ip mentioned in the documentation refers to the IP address of your VPS. If you are using a virtual machine, it refers to your virtual machine IP, not the IP inside the docker container.

All environments in this project are for testing purposes only and should not be used as a production environment!

Notice

  1. To prevent permission errors, please ensure that the docker container has permission to access all files in the current directory.
  2. Vulhub does not support running on machines with non-x86 architecture such as ARM for now.

Contribution

This project relies on docker. So any error during compilation and running are thrown by docker and related programs. Please find the cause of the error by yourself first. If it is determined that the dockerfile is written incorrectly (or the code is wrong in vulhub), then submit the issue. More details please 👉Common reasons for compilation failure, hope it can help you.

For more question, please contact:

Thanks for the following contributors:

More contributors:Contributors List

Partner

Our Partners and users:

Sponsor vulhub on patreon 🙏

Sponsor vulhub on opencollective 🙏

More Donate.

License

Vulhub is licensed under the MIT License. See LICENSE for the full license text.

About

Pre-Built Vulnerable Environments Based on Docker-Compose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 33.0%
  • Python 28.9%
  • Java 14.3%
  • Shell 13.1%
  • PHP 4.1%
  • HTML 3.8%
  • Other 2.8%