vulhub / vulhub

Pre-Built Vulnerable Environments Based on Docker-Compose
https://vulhub.org
MIT License
17.74k stars 4.47k forks source link

update #196

Closed Tukali closed 4 years ago

Tukali commented 4 years ago

If vulhub is updated with a new vulnerability environment, how do I update the installed vulhub? Do I need to reinstall it

phith0n commented 4 years ago

Follow these steps:

Firstly, shut down the existing containers. If you haven't run any container, just ignore it:

cd /path/to/environment
docker-compose down -v

Then, download the newest Vulhub:

# download through Git
git pull

# or download the zip archive, just overwrite the exists codes
wget https://github.com/vulhub/vulhub/archive/master.zip
unzip master.zip

Thirdly, launch any new "vulnerability environment" that you like:

cd /path/to/new/environment
docker-compose up -d