Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 67b9ea0

Browse files
committed
latest version
0 parents  commit 67b9ea0

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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`

0 commit comments

Comments
 (0)