Giter Club home page Giter Club logo

pwnbox-1's Introduction

About

Pwnbox is a Docker container with tools for binary reverse engineering and exploitation. It's primarily geared towards Capture The Flag competitions.

Installation

You can grab the container from Docker Hub: docker pull superkojiman/pwnbox

  1. Make sure you have Docker installed. For OS X users, you'll need to create a Docker machine. Pick one depending on your hypervisor:

    # VMware Fusion
    docker-machine create --driver vmwarefusion \
        --vmwarefusion-disk-size 4000 \
        --vmwarefusion-memory-size 1000 \
        --vmwarefusion-no-share ctf
    
    # VirtualBox
    docker-machine create --driver virtualbox \
        --virtualbox-disk-size 4000 \
        --virtualbox-memory 1000 \
        --virtualbox-no-share ctf
    
  2. Optional: Create a ./rc directory. Your custom configuration files in $HOME go here. Eg: .gdbinit, .radare2rc, .bashrc, .vimrc, etc. The contents of rc gets copied into /root on the container.

  3. Get the run.sh script from https://raw.githubusercontent.com/superkojiman/pwnbox/master/run.sh.

  4. Execute run.sh script which creates a container named ctfname-ctf. Eg:

    $ ./run.sh defcon
    f383e644c0e2504f30487f1d658d8b61a66fca2bdb961fabb0277b05660f5367
                             ______
    ___________      ___________  /___________  __
    ___  __ \_ | /| / /_  __ \_  __ \  __ \_  |/_/
    __  /_/ /_ |/ |/ /_  / / /  /_/ / /_/ /_>  <
    _  .___/____/|__/ /_/ /_//_.___/\____//_/|_|
    /_/                           by superkojiman
    
    #
    
  5. When you're ready to delete the container, use the ctfname-ctf-stop.sh script.

Limitations

  1. If you need to edit anything in /proc, you must edit run.sh to use the --privileged option to docker instead of --security-opt seccomp:unconfined.
  2. The container is designed to be isolated so no directories are mounted from the host. This allows you to have multiple containers hosting files from different CTFs.

Go forth, and CTF

•_•)

( •_•)>⌐■-■

(⌐■_■)

pwnbox-1's People

Contributors

superkojiman avatar rasta-mouse avatar

Watchers

. avatar  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.