Sn1per Community Edition by @xer0dayz - https://xerosecurity.com

This commit is contained in:
WP Engine Marketing 2019-08-25 18:23:23 -07:00
parent c44995807f
commit 069ebf4e7e
1 changed files with 23 additions and 22 deletions

View File

@ -1,31 +1,32 @@
FROM kalilinux/kali-linux-docker FROM kalilinux/kali-linux-docker
LABEL org.label-schema.name='Sn1per - Kali Linux' \ LABEL org.label-schema.name='Sn1per - Kali Linux'
org.label-schema.description='Automated pentest framework for offensive security experts' \ org.label-schema.description='Automated pentest framework for offensive security experts'
org.label-schema.usage='https://github.com/1N3/Sn1per' \ org.label-schema.usage='https://github.com/1N3/Sn1per'
org.label-schema.url='https://github.com/1N3/Sn1per' \ org.label-schema.url='https://github.com/1N3/Sn1per'
org.label-schema.vendor='https://xerosecurity.com' \ org.label-schema.vendor='https://xerosecurity.com'
org.label-schema.schema-version='1.0' \ org.label-schema.schema-version='1.0'
org.label-schema.docker.cmd.devel='docker run --rm -ti hariomv/sniper' \ org.label-schema.docker.cmd.devel='docker run --rm -ti hariomv/sniper'
MAINTAINER="Hariom Vashisth <hariom.devops@gmail.com>" MAINTAINER="Hariom Vashisth hariom.devops@gmail.com"
RUN echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list && \ RUN echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list &&
echo "deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list echo "deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN set -x \ RUN set -x
&& apt-get -yqq update \ && apt-get -yqq update
&& apt-get -yqq dist-upgrade \ && apt-get -yqq dist-upgrade
&& apt-get clean && 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 && msfdb reinit RUN sed -i 's/systemctl status ${PG_SERVICE}/service ${PG_SERVICE} status/g' /usr/bin/msfdb && msfdb reinit
RUN \ RUN
apt-get --yes install git \ apt-get --yes install git
&& mkdir -p security \ && mkdir -p security
&& cd security \ && cd security
&& git clone https://github.com/1N3/Sn1per.git \ && git clone https://github.com/1N3/Sn1per.git
&& cd Sn1per \ && cd Sn1per
&& ./install.sh && ./install.sh
CMD ["bash"] CMD ["bash"]