File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ # Web CTF Container
2+ [ ![ Docker Pulls] ( https://img.shields.io/docker/pulls/hightechsec/web-ctf-container.svg?style=plastic )] ( https://hub.docker.com/r/hightechsec/web-ctf-container )
3+ ![ License] ( https://img.shields.io/badge/License-GPL-blue.svg?style=plastic )
4+
5+ A training CTF with a total of Six Different Web Challenge
6+
7+ ** WARNING** This image is vulnerable to several kinds of attacks, please don't deploy it to any public servers.
8+
9+ ## Run this image
10+
11+ To run this image you need [ docker] ( http://docker.com ) installed. Just run the command:
12+
13+ docker run --name web-ctf -d -it -p 80:80 hightechsec/web-ctf-container
14+
15+ To change the flag in flag.php from inside the container:
16+ - run ` docker exec -ti web-ctf bash `
17+ - then use nano to edit all of the flag.php file
18+
19+ ## Install in Web Server:
20+
21+ - Clone this repo (` git clone https://github.com/HightechSec/web-ctf-container ` )
22+ - Change the flag first that located in flag.php file in the all of the challenges folder
23+ - Copy the ` index.php ` file and all of the ` challenges folder ` to your public server or local server web directory
24+ - Done
25+
26+ ## Deploying Manually
27+
28+ - Clone this repo (` git clone https://github.com/HightechSec/web-ctf-container ` )
29+ - Change the flag first that located in flag.php file in the all of the challenges folder
30+ - Then run ` docker build -t "web-ctf-container" . ` and wait untill it's done
31+ - If the build is clear, run this command ` docker run --name web-ctf -d -it -p 80:80 web-ctf-container `
You can’t perform that action at this time.
0 commit comments