centos7 docker Range

webug4.0

Docker hub pulled from the mirror

docker pull area39/webug

Boot process

docker run -d -P area39/webug

Background Administrator: admin / admin
database password: root / toor

127.0.0.1:32768


upload-labs upload vulnerability https://github.com/c0ny1/upload-labs

# Create a mirror
$ cd-Labs the Upload / Docker
$ Docker Build the Upload -t-Labs.

Create a container

$docker run -d -p 80:80 upload-labs:latest


vulhub

wget https://github.com/vulhub/vulhub/archive/master.zip -O vulhub-master.zip

unzip vulhub-master.zip

Enter one flaw / environment directory
cd / vulhub / struts2 / s2-013 /

# Start the entire environment
docker-compose up -d

# Closed environment
docker-compose down


vulstudy vulnerability set platform

Running the Project

git clone https://github.com/c0ny1/vulstudy.git

1. Run a single platform vulnerability

cd to the next platform vulnerability to run, run the following command

cd vulstudy/DVWA

docker-compose up -d # to start container

Shut down the server port 80
service httpd stop

docker-compose stop # stop the container

service httpd start to open the server port 80

2. run all the loopholes platform

Under the project root directory run the following command

cd vulstudy

docker-compose up -d # to start container

Close 80-port
service httpd stop

docker-compose stop # stop the container

Published 17 original articles · won praise 2 · Views 3517

Guess you like

Origin blog.csdn.net/Aidang/article/details/102898353