Skip to content

moratorium08/libc-pwn

Repository files navigation

Libc Box for pwners

Usage

$ docker run -w "/problem" -v "$PWD:/problem" -it moratorium08/libc:2.23 /bin/bash

You can attach the container and debug it by gdb with peda and pwngdb:

$ docker exec -it <container_id> /bin/bash
$ gdb -p `pgrep xxxx`

Supported libc versions

  • 2.32
  • 2.31
  • 2.30
  • 2.29
  • 2.28
  • 2.27
  • 2.26
  • 2.24
  • 2.23

Detail: Docker Hub

Build & Push

Generate Dockerfiles

1.Write config.yaml

Example

docker:
    id: moratorium08
    repo: libc

2. Run python script

$ pip install -r requirements.txt
$ ./gen.sh

Build Dockerfiles

$ ./build.sh

Push Dockerfiles

$ ./push.sh

About

libc 2.* docker images with pwntools/peda/pwndbg/etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published