quake0day / pwnkit

All the CTF tools you need in a docker container just one command away.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pwnkit

This is a collection of tools from Kali to run on any machine with a docker image. This tool is aimed to help during CTFs.

This tool is only tested for Linux and Mac, it might or might not work on Windows.

Installation

  1. Make sure Docker is installed.
  2. Clone this repository.
  3. Optional: Add extracted location to path for easy execution.
  4. Run ./pwnkit or pwnkit.

Mounting a volume into pwnkit

Change the file ./pwnkit-start from
docker run -i -t --rm -v /challenges/:/challenges/ jasperboot/pwnkit:latest
to
docker run -i -t --rm -v [LOCAL FOLDER]:/challenges/ jasperboot/pwnkit:latest

pwnkit is used to update and start the toolkit.
pwnkit-update is used to update the image and git repo.
pwnkit-start is used to start the toolkit. To update as well, use pwnkit.
pwnkit-build is used to build the image from scratch and update it on the docker registry. pwnkit-gdb is used to attach to a gdb session setup in pwntools.

Using pwntools and gdb

  1. Add the following to your pwntools script: context.terminal = ['/root/tools/launch-in-session.sh', 'gdb-session'].
  2. When pwntools opens a gdb session, execute pwnkit-gdb on your local machine to attach.

About

All the CTF tools you need in a docker container just one command away.

License:MIT License


Languages

Language:Shell 61.2%Language:Dockerfile 38.8%