diff --git a/Docker/README.md b/Docker/README.md
new file mode 100644
index 00000000..ffe489eb
--- /dev/null
+++ b/Docker/README.md
@@ -0,0 +1,76 @@
+# Run ZPhiSher in Docker Compose
+
+
+
+
+
+
+## Runnin within container
+
+
+## Requeriments
+
+- [X] Docker
+- [X] docker-compose
+
+## Usage Mode
+
+Clone the repo from Github
+```bash
+git clone https://github.com/htr-tech/zphisher
+cd zpshisher
+```
+
+Run docker-compose
+
+```bash
+docker-compose up --build -d
+```
+'_Don not need redirection of ports 'cause the container is exposed to internet_'
+Verify of the container is running with:
+
+```bash
+equinockx~$ docker-compose ps
+
+ Name Command State Ports
+-------------------------------------------
+zphisher bash zphisher.sh Up
+
+```
+
+
+Executing zphisher inside of container
+
+```bash
+docker-compose exec zphisher bash zphisher.sh
+```
+
+## Persist Data
+
+When we make or buils the service with `docker-compose up --build -d` this persist the data templates in the same folder `websites`.
+If you add the new Template in `websites` this will be reflected in the container and you can use it.
+
+- [X] `equinockx~/websites$`
+- [X] websites
+
+## First Start the services
+
+```bash
+docker-compose up --build -d
+```
+## Down the container
+```bash
+docker-compose down
+```
+## Stop the services
+
+```bash
+docker-compose stop
+```
+## Start the services
+
+With this command docker-compose will initialize the service stopped
+
+```bash
+docker-compose start
+```
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..a2a76162
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,15 @@
+FROM debian:10
+LABEL MAINTAINER="Equinockx moisestapia741@gmail.com"
+
+WORKDIR /home/
+
+COPY . /home/
+
+
+RUN apt-get update && \
+ apt-get install -y --no-install-recommends openssh-server && \
+ apt-get install -y curl && \
+ apt-get install --no-install-recommends -y php && \
+ apt-get install -y unzip && \
+ apt-get clean && \
+ rm -rf /var/lib/apt/lists/*
\ No newline at end of file
diff --git a/README.md b/README.md
index 5f2da04f..378eee15 100644
--- a/README.md
+++ b/README.md
@@ -20,14 +20,14 @@
## Installation :
* `apt update`
-* `apt install git curl php openssh -y`
+* `apt install git curl php openssh-server -y`
* `git clone git://github.com/htr-tech/zphisher.git`
* `cd zphisher`
#### > Run : `bash zphisher.sh`
## Single Command :
```
-apt update ; apt install git curl php openssh -y ; git clone git://github.com/htr-tech/zphisher.git ; cd zphisher ; bash zphisher.sh
+apt update ; apt install git curl php openssh-server -y ; git clone git://github.com/htr-tech/zphisher.git ; cd zphisher ; bash zphisher.sh
```
@@ -47,6 +47,7 @@ apt update ; apt install git curl php openssh -y ; git clone git://github.com/ht #### > TheLinuxChoice (https://github.com/thelinuxchoice) #### > DarksecDevelopers (https://github.com/DarksecDevelopers) #### > UndeadSec (https://github.com/UndeadSec) +#### > Equinockx (https://github.com/MoisesTapia) ## Tunelling Options : #### > Localhost (127.0.0.1) diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..498c2d13 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,22 @@ +version: '3.7' + +networks: + internet: + driver: bridge + +services: + + zphisher: + + container_name: zphisher + + build: . + image: zphisher:v0.1 + command: bash zphisher.sh + stdin_open: true + tty: true + volumes: + - $PWD/websites:/home/websites + networks: + - internet + restart: always \ No newline at end of file