From e4ae91b410b5dd3b813e5dbdf97defe00924a0fc Mon Sep 17 00:00:00 2001 From: Cameron Banowsky Date: Thu, 24 Oct 2019 12:01:38 -0700 Subject: [PATCH] Dockerfile --- Dockerfile | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 62078be..505024e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,20 +14,24 @@ RUN echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /e ENV DEBIAN_FRONTEND noninteractive RUN set -x \ - && apt-get -yqq update \ - && apt-get -yqq dist-upgrade \ - && apt-get clean + && apt-get -yqq update \ + && apt-get -yqq upgrade \ + && apt-get -yqq dist-upgrade \ + && apt-get clean + RUN apt-get install -y metasploit-framework RUN sed -i 's/systemctl status ${PG_SERVICE}/service ${PG_SERVICE} status/g' /usr/bin/msfdb && \ service postgresql start && \ msfdb reinit - -RUN apt-get --yes install git \ - && mkdir -p security \ - && cd security \ - && git clone https://github.com/1N3/Sn1per.git \ - && cd Sn1per \ - && ./install.sh - -CMD ["bash"] +# Establish a working directory +RUN apt-get install -y git \ + && cd /root \ + && git clone --recursive git://github.com/anoncam/Sn1per.git \ + && cd /root/Sn1per \ + && bash /root/Sn1per/install.sh +# Add the following to run the professional version. +# cd /usr/share/sniper/ +# wget https://xerosecurity.com/pro/6.0/[YOURCUSTOMLICENSEKEYHERE]/pro.sh -O pro.sh +# If you did that: you need to configure the entrypoint and config/expose the web service. +CMD ["/bin/bash"] \ No newline at end of file