Skip to content

Instantly share code, notes, and snippets.

@p4p1
Created October 16, 2022 02:21
Show Gist options
  • Save p4p1/c552d08492b24f5981931419a456b2b3 to your computer and use it in GitHub Desktop.
Save p4p1/c552d08492b24f5981931419a456b2b3 to your computer and use it in GitHub Desktop.
🐠🐠🐠🐠
# docker-compose.yml
# Created on: Sun 16 Oct 2022 03:11:58 AM BST
#
# ____ __ ____ __
# ( _ \ /. |( _ \/ )
# )___/(_ _))___/ )(
# (__) (_)(__) (__)
# http://leosmith.xyz/blog/gophish-setup-tutorial.html
#
# Description:
# A docker-compose to deploy easily gophish and evilginx2 to do phishing campains
# note that evilginx2 is not persistent and gophish is.
# Dependencies:
# sudo apt install docker docker-compose
# Usefull information
# Run the following command before starting to clone the evilginx2 repo and remove
# the last line of the Dockerfile wich causes errors on starting the compose:
# $ git clone https://github.com/kgretzky/evilginx2 && sed -i \$d evilginx2/Dockerfile
# The following command allows you to interact with the evilginx2 server:
# $ docker run --user root -p 80:80 -p 443:443 -p53:53/udp -it root_evilginx2 /app/evilginx
#
version: '3'
services:
gophish:
container_name: gophish
image: "gophish/gophish:latest"
ports:
- "127.0.0.1:3333:3333"
restart: unless-stopped
evilginx2:
stdin_open: true
tty: true
container_name: evilginx2
build:
./evilginx2
environment:
- TZ=Europe/London
volumes:
- ./evilginx2/phishlets:/app/phishlets
ports:
- "127.0.0.1:7443:7443"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment