Skip to content

Instantly share code, notes, and snippets.

@leonjza
Last active June 9, 2016 17:24
Show Gist options
  • Save leonjza/0228bdf671887c7286aa680a99156c86 to your computer and use it in GitHub Desktop.
Save leonjza/0228bdf671887c7286aa680a99156c86 to your computer and use it in GitHub Desktop.
Kali Docker
# Kali Linux (Rolling) Docker Image
# 2016
#
# Build the image with:
# $ docker build -t kali-rolling .
#
# Start a container for the first time from a built image with:
# $ docker run -ti --name kali -h kali kali-rolling
#
# After the first run, start the image with:
# $ docker start -ai kali
FROM kalilinux/kali-linux-docker
MAINTAINER Leon Jacobs <[email protected]>
# Let the container know there will be no TTY
ENV DEBIAN_FRONTEND=noninteractive
# Get the latest everything
RUN apt-get -y update && \
apt-get -y dist-upgrade
# Install tools we want
RUN apt-get install -y \
hydra \
john \
metasploit-framework \
nmap \
sqlmap \
wfuzz \
exploitdb \
nikto \
commix \
hashcat \
# Wordlists
wordlists \
cewl \
responder
# Install Other tools
RUN apt-get install -y \
gdb
# Install utils
RUN apt-get install -y \
vim \
git
# Setup gdb-peda
RUN git clone https://github.com/longld/peda.git ~/peda && \
echo "source ~/peda/peda.py" >> ~/.gdbinit
CMD ["/bin/bash"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment