forked from XaviTorello/kali-full-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
59 lines (46 loc) · 2.17 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
FROM kalilinux/kali-rolling:latest
# Forked from https://github.com/XaviTorello/kali-full-docker
# Original author="Xavi Torelló"
LABEL maintainer="https://github.com/jtollefson/kali-full-docker"
LABEL author="J. Tollefson"
ENV DEBIAN_FRONTEND noninteractive
# Install Kali Full
RUN rm -fR /var/lib/apt/ && \
apt-get clean && \
apt-get update -y && \
apt-get install -y software-properties-common kali-linux-headless --fix-missing && \
echo 'VERSION_CODENAME=kali-rolling' >> /etc/os-release
# Some system tools
RUN apt-get install -y git colordiff colortail unzip vim tmux curl telnet strace ltrace less build-essential wget python3-setuptools python3-pip zstd net-tools bash-completion iputils* dnsutils netcat nmap tcpdump
# secLists!
RUN git clone https://github.com/danielmiessler/SecLists /usr/share/seclists
# nmapAutomator
RUN git clone https://github.com/21y4d/nmapAutomator.git /tools/nmapAutomator \
&& ln -s /tools/nmapAutomator/nmapAutomator.sh /usr/local/bin/nmapAutomator
# Install vimrc awesome
RUN git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime \
&& bash ~/.vim_runtime/install_awesome_vimrc.sh \
&& python3 ~/.vim_runtime/update_plugins.py
# Install subscraper
RUN git clone https://github.com/m8r0wn/subscraper /tools/subscraper \
&& cd /tools/subscraper \
&& pip3 install -r requirements.txt \
&& ln -s /tools/subscraper/subscraper.py /usr/local/bin/subscraper
# WebCopilot
RUN git clone https://github.com/h4r5h1t/webcopilot \
&& cd webcopilot/ \
&& chmod +x webcopilot install.sh \
&& mv webcopilot /usr/bin/ \
&& ./install.sh
# virtualenv config
RUN pip install virtualenvwrapper && \
echo 'export WORKON_HOME=$HOME/.virtualenvs' >> /etc/profile && \
echo 'export PROJECT_HOME=$HOME/projects' >> /etc/profile && mkdir /root/projects && \
echo 'export VIRTUALENVWRAPPER_SCRIPT=/usr/local/bin/virtualenvwrapper.sh' >> /etc/profile && \
bash /usr/local/bin/virtualenvwrapper.sh && \
echo 'source /usr/local/bin/virtualenvwrapper.sh' >> /etc/profile
# Update DB and clean'up!
RUN updatedb && \
apt-get autoremove -y && \
apt-get clean
CMD ["/bin/bash", "--init-file", "/etc/profile"]