Code Monkey home page Code Monkey logo

docker-evilginx's Introduction

GitHub tag (latest by date) License Commit

Evilginx2 - Standalone man-in-the-middle attack framework used for phishing login credentials along with session cookies, allowing for the bypass of 2-factor authentication

Evilginx2

Original Docker-Evilginx2 - Previous Dockerized work on evilginx2 (but version is 3.2.0 at time of this fork).

This repository is designed to be separate as it will likely have adjustments only needed for the SANS Institute SEC660: Advanced Penetration Testing and Exploit Writing course.

Usage

Here are some example snippets to help you get started creating a container.

docker

docker create \
  --name=evilginx \
  -p 10.50.50.50:443:443 \
  -p 10.50.50.50:80:80 \
  -p 7443 \
  -v /opt/evilginx/config:/config \
  -v /opt/evilginx/phishlets:/phishlets 
  --restart unless-stopped \
  jimshew/evilginx

docker-compose

Compatible with docker-compose v2 schemas.

---  -p 10.50.50.50:80:80 \

version: "2"
services:
  evilginx:
    image: jimshew/evilginx
    container_name: evilginx
    environment:
      - TZ=Europe/London
    volumes:
      - /opt/evilginx/config:/config
      - /opt/evilginx/phishlets:/phishlets
    ports:
      - 10.50.50.50:443:443
      - 10.50.50.50:80:80
      - 7443:7443
    restart: unless-stopped

Parameters

Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <external>:<internal> respectively. For example, -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 outside the container.

Parameter Function
-p 10.50.50.50:80:80 Use host's IP 10.50.50.50 and pass the port for HTTP traffic
-p 10.50.50.50:443:443 Use host's IP 10.50.50.50 and pass the port for HTTPS traffic
-e TZ=Europe/London Specify a timezone to use EG Europe/London
-v /config evilginx2 configs
-v /phishlets evilginx2 phishlets

Docker start

docker start evilginx

Application Setup

Access the webui at <your-ip>:7443, for more information check out evilginx2.

Support Info

  • Shell access whilst the container is running: docker run -it --entrypoint sh evilginx
  • To monitor the logs of the container in realtime: docker logs -f evilginx

Building locally

If you want to make local modifications to these images for development purposes or just to customize the logic:

git clone https://github.com/jimshew/docker-evilginx.git
cd docker-evilginx
docker build . -t evilginx

Versions

  • v0.1 - Draft

docker-evilginx's People

Contributors

ralphte avatar jimshew avatar almart avatar warhorse-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.