Skip to content
/ vulhub Public
forked from vulhub/vulhub

Pre-Built Vulnerable Environments Based on Docker-Compose

License

Notifications You must be signed in to change notification settings

Qftm/vulhub

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

Folders and files

NameName
Last commit message
Last commit date
Aug 12, 2020
Jan 21, 2020
Jul 17, 2020
Aug 10, 2020
Sep 6, 2018
Oct 9, 2020
Sep 6, 2018
Jun 9, 2020
Aug 8, 2020
Apr 10, 2019
Sep 11, 2018
Sep 1, 2018
Jul 21, 2020
Sep 1, 2018
Sep 13, 2018
Jul 16, 2019
Dec 19, 2019
Apr 9, 2019
Feb 21, 2019
Dec 17, 2019
Feb 3, 2020
Nov 21, 2019
Sep 1, 2018
Dec 15, 2019
Sep 1, 2018
Sep 1, 2018
Sep 1, 2018
Sep 1, 2018
Sep 1, 2018
Oct 14, 2020
Nov 7, 2018
Apr 29, 2020
Mar 23, 2018
Aug 12, 2020
Jan 3, 2019
Dec 14, 2019
Oct 13, 2018
Mar 17, 2020
Jan 14, 2020
May 10, 2019
Jul 16, 2019
Sep 1, 2018
May 12, 2019
Sep 1, 2018
Jun 30, 2020
Oct 24, 2018
Apr 23, 2020
Jan 14, 2020
Apr 1, 2019
Nov 1, 2018
Jul 21, 2020
Jan 4, 2020
Sep 1, 2018
May 9, 2020
Sep 1, 2018
Sep 1, 2018
Oct 13, 2020
Sep 1, 2018
Aug 9, 2020
Mar 12, 2020
Sep 1, 2018
Feb 21, 2019
Sep 1, 2018
Mar 21, 2019
Aug 12, 2020
Mar 18, 2019
Jul 11, 2019
Sep 1, 2018
Sep 1, 2018
May 5, 2020
Oct 13, 2020
Sep 19, 2019
Dec 19, 2019
Jan 21, 2020
Sep 1, 2018
Jan 14, 2020
Sep 7, 2020
Sep 1, 2018
Aug 12, 2020
Dec 20, 2019
Feb 20, 2020
Dec 18, 2018
Jun 7, 2020
Aug 19, 2019
Nov 12, 2019
Sep 1, 2018
May 23, 2017
Apr 26, 2018
Mar 2, 2018
Sep 2, 2018
Sep 3, 2020
Jul 2, 2020
Oct 9, 2020
Sep 6, 2018

Repository files navigation

Vulhub - Pre-Built Vulnerable Environments Based on Docker-Compose

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

中文版本(Chinese version)

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.

Installation

Install the docker/docker-compose on Ubuntu 16.04:

# Install pip
curl -s https://bootstrap.pypa.io/get-pip.py | python3

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

# Run docker service
service docker start

# Install docker compose
pip install docker-compose

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, it is best to use the root user to execute the docker and docker-compose commands.
  2. Some docker images do not support running on ARM machines.

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

  • Shell 31.7%
  • Dockerfile 29.1%
  • Python 13.1%
  • Java 11.0%
  • PHP 5.4%
  • Ruby 5.3%
  • Other 4.4%