Git Product home page Git Product logo

docker-covenant's Introduction

GitHub Release MicroBadger Layers MicroBadger Size Docker Pulls Docker Stars

Covenant - A collaborative .NET C2 framework for red teamers.

Covenant

Usage

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

docker

docker create \
  --name=covenant \
  -e TZ=Europe/London \
  -p 7443:7443 \
  -p 443:443 \
  -p 80:80 \
  -v <path to data>:/app/Data \
  --restart unless-stopped \
  warhorse/covenant

docker-compose

Compatible with docker-compose v2 schemas.

---
version: "2"
services:
  covenant:
    image: warhorse/covenant
    container_name: covenant
    environment:
      - TZ=Europe/London
    volumes:
      - <path to data>:/app/Data
    ports:
      - 7443:7443
      - 443:443
      - 80:80
    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 7443 The port for the Covenant Admin web interface
-p 80 The port for HTTP C2 traffic
-p 443 The port for HTTPS C2 traffic
-e TZ=Europe/London Specify a timezone to use EG Europe/London
-v /app/Data covenant configs

ย 

Application Setup

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

Support Info

  • Shell access whilst the container is running: docker exec -it covenant /bin/bash
  • To monitor the logs of the container in realtime: docker logs -f covenant

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/warhorse/docker-covenant.git
cd docker-covenant
docker build \
  --no-cache \
  --pull \
  -t warhorse/covenant:latest .

Versions

  • 10.30.19: - First Push

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.