File tree Expand file tree Collapse file tree 1 file changed +79
-0
lines changed Expand file tree Collapse file tree 1 file changed +79
-0
lines changed Original file line number Diff line number Diff line change 1+ # Run ZPhiSher in Docker Compose
2+
3+ ![ docker] ( https://img.shields.io/badge/Docker-v19.03.12-blue?style=plastic&logo=docker )
4+ ![ dockercompose] ( https://img.shields.io/badge/Docker_Compose-v1.25.4-orange?style=plastic&logo=docker )
5+ ![ Maintainer] ( https://img.shields.io/badge/Maintainer-Equinockx-success?style=plastic&logo=terraform )
6+
7+
8+ ## Runnin within container
9+
10+
11+ ## Requeriments
12+
13+ - [X] Docker
14+ - [X] docker-compose
15+
16+ ## Usage Mode
17+
18+ Clone the repo from Github
19+ ``` bash
20+ git clone https://github.com/htr-tech/zphisher
21+ cd zpshisher
22+ ```
23+
24+ Run docker-compose
25+
26+ ``` bash
27+ docker-compose up --build -d
28+ ```
29+ '_ Don not need redirection of ports 'cause the container is exposed to internet_ ' <br >
30+ Verify of the container is running with:
31+
32+ ``` bash
33+ equinockx~$ docker-compose ps
34+
35+ Name Command State Ports
36+ -------------------------------------------
37+ zphisher bash zphisher.sh Up
38+
39+ ```
40+
41+
42+ Executing HiddenEye inside of container
43+
44+ ``` bash
45+ docker-compose exec zphisher bash zphisher.sh
46+ ```
47+
48+ ## Persist Data
49+
50+ When we make or buils the service with ` docker-compose up --build -d ` this persist the data templates in the same folder ` websites ` .
51+ If you add the new Template in ` websites ` this will be reflected in the container and you can use it.
52+
53+ - [X] ` equinockx~/websites$ `
54+ - [X] websites
55+
56+ ## First Start the services
57+
58+ ``` bash
59+ docker-compose up --build -d
60+ ```
61+ ## Down the container
62+ ``` bash
63+ docker-compose down
64+ ```
65+ ## Stop the services
66+
67+ ``` bash
68+ docker-compose stop
69+ ```
70+ ## Start the services
71+
72+ With this command docker-compose will initialize the service stopped
73+
74+ ``` bash
75+ docker-compose start
76+ ```
77+
78+
79+
You can’t perform that action at this time.
0 commit comments