mirror of https://github.com/1N3/Sn1per.git
Dockerfile
This commit is contained in:
parent
32a6ee16eb
commit
e4ae91b410
28
Dockerfile
28
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"]
|
||||
Loading…
Reference in New Issue