Create a lightweight docker container for solving CTF challenges
Requires that docker is installed and running.
cd PKGBUILD
makepkg -si
make install
Use fetch-libc LIBC
to download a matching deb file from the Ubuntu archives.
Run sudo pwndocker EXEC_CMD GLIBC_DEB
from your working directory.
The arguments should be given as relative paths and the binary may need to be preceeded by ./
to be executed.
Connect to socat using:
$ nc localhost 1337
Connect to the gdbserver using:
(gdb) target extended-remote localhost:13337
make remove