Skip to content

Docker container with tools for binary reverse engineering and exploitation.

Notifications You must be signed in to change notification settings

aliasrobotics/pwnbox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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. You need to have jq installed. See https://stedolan.github.io/jq/ for installation details.
  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. Execute run.sh script and pass it the name of the container. Eg: sudo ./run.sh my_ctf. This will create a volume for your container drop you into a tmux session.
  4. If you detach or quit the container, you can re-attach to it by using sudo docker start my_ctf && ./my_ctf-attach.sh.
  5. You can delete the volume and container using sudo ./my_ctf-stop.sh.

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

•_•)

( •_•)>⌐■-■

(⌐■_■)

About

Docker container with tools for binary reverse engineering and exploitation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 63.4%
  • Shell 19.2%
  • Dockerfile 16.6%
  • GDB 0.8%