Skip to content

Dockerfile with advanced configurations for Offensive Docker.

License

Notifications You must be signed in to change notification settings

aaaguirrep/offensive-docker-custom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Offensive Docker custom configurations

Offensive Docker


GitHub code size in bytes GitHub repo size GitHub last commit GitHub issues Docker Cloud Build Status Docker Automated build Docker Pulls Docker Image Size (latest by date) Docker Image Version (latest by date) Docker Stars GitHub

Dockerfile with advanced configurations for Offensive Docker.

Table of contents

Features

  • Provide the api keys, tokens, etc, for different offensive tools.

Tools

🛠️ Usage

Prerequisites

  • Docker service installed

Use the docker image by the next option:

Github repository

git clone --depth 1 https://github.com/aaaguirrep/offensive-docker-custom.git offensive-docker
cd offensive-docker
# Copy and paste the tokens or api keys in the dockerfile and build the docker
docker build -t offensive-docker .
docker run --rm -it --name my-offensive-docker offensive-docker /bin/zsh

Considerations to run the container

There are differents use cases for use the image and you should know how to run the container properly.

  1. Use the container to access HTB (Hack the Box) machines by HTB vpn.

     docker run --rm -it --cap-add=NET_ADMIN --device=/dev/net/tun --sysctl net.ipv6.conf.all.disable_ipv6=0 --name my-offensive-docker offensive-docker /bin/zsh
    
  2. Share information from your local directory to container directory and save information on your local directory. You should save information under /offensive directory.

     docker run --rm -it -v /path/to/local/directory:/offensive --name my-offensive-docker offensive-docker /bin/zsh
    
  3. Mount directories by umount command.

     docker run --rm -it --privileged --name my-offensive-docker offensive-docker /bin/zsh
    

✅ Environment tested

The image was tested in the following environments:

  • Docker service for Mac: Docker version 19.03.5, build 633a0ea

  • Docker service for Linux instance on Google Cloud Platform: Docker version 19.03.6, build 369ce74a3c

  • Docker service for Linux droplet on Digital Ocean: Docker version 19.03.6, build 369ce74a3c

☕ Donations

Thanks for your donations, are always appreciated.

While I drink the coffee I check more tools to add in the docker image.

Buy me a coffee

Contributing

Contributing Guide

License

MIT

Copyright (c) 2020, Arsenio Aguirre

About

Dockerfile with advanced configurations for Offensive Docker.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks