-
-
Save zachriggle/9214d4f3b9d8e2a5045278c14b0a088f to your computer and use it in GitHub Desktop.
GDB on Kali is broken
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== DOCKERFILE === | |
from kalilinux/kali-linux-docker:latest | |
RUN apt-get update | |
RUN apt-get install -y gdb | |
================== | |
$ docker build -t kali . | |
Sending build context to Docker daemon 2.048kB | |
Step 1/3 : FROM kalilinux/kali-linux-docker:latest | |
---> 8ececeaf404d | |
Step 2/3 : RUN apt-get update | |
---> Using cache | |
---> 4d28b24f6096 | |
Step 3/3 : RUN apt-get install -y gdb | |
---> Using cache | |
---> 9c34a12e3b02 | |
Successfully built 9c34a12e3b02 | |
Successfully tagged kali:latest | |
$ docker run -it kali | |
root@5652d5a1faea:/# gdb -q | |
(gdb) pi | |
>>> import os | |
Segmentation fault |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment