From 59436e679947d9d7865bb88e9f01dd22a4a7f3c1 Mon Sep 17 00:00:00 2001 From: Chapman Schleiss Date: Sat, 19 May 2018 21:37:55 -0600 Subject: [PATCH 1/8] Remove Archive --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index edbeb2f..483b174 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,6 @@ FROM kalilinux/kali-linux-docker -MAINTAINER @viyatb viyat.bhalodia@owasp.org, @alexandrasandulescu alecsandra.sandulescu@gmail.com - -# Kali signatures preventive update -RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y gnupg -RUN wget -q -O - archive.kali.org/archive-key.asc | apt-key add +MAINTAINER r3naissance # install required packages from Kali repos COPY packages.sh / From 6048dfdf1ca7be07f434ed881088e59e1a6ad478 Mon Sep 17 00:00:00 2001 From: Chapman Schleiss Date: Sat, 19 May 2018 21:38:27 -0600 Subject: [PATCH 2/8] Added Arachni --- optional_tools.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/optional_tools.sh b/optional_tools.sh index 1b74542..e0cd701 100644 --- a/optional_tools.sh +++ b/optional_tools.sh @@ -11,6 +11,7 @@ PACKAGES="theharvester \ wapiti \ hydra \ metagoofil \ + arachni \ o-saft" if [ "$1" = "--download-only" ]; then From 33b30bad4c738973f3611325eed37bfdd2ec98ce Mon Sep 17 00:00:00 2001 From: Chapman Schleiss Date: Sat, 19 May 2018 21:47:33 -0600 Subject: [PATCH 3/8] Apt update --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 483b174..55e1020 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,8 @@ FROM kalilinux/kali-linux-docker MAINTAINER r3naissance +RUN apt-get update && apt-get dist-upgrade -y + # install required packages from Kali repos COPY packages.sh / RUN ["sh", "packages.sh"] From 04136a5a87befec223537c7daa4fb365ae0f3f49 Mon Sep 17 00:00:00 2001 From: Chapman Schleiss Date: Sat, 19 May 2018 21:51:20 -0600 Subject: [PATCH 4/8] Kali --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 55e1020..df00acf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,11 +12,7 @@ RUN ["sh", "packages.sh"] RUN apt-get clean RUN apt-get -y autoremove -# dowload optional packages archives -COPY optional_tools.sh /usr/bin/ -RUN chmod +x /usr/bin/optional_tools.sh - -RUN /bin/bash /usr/bin/optional_tools.sh +RUN apt-get install kali-linux-full #Kali SSL lib-fix ENV PYCURL_SSL_LIBRARY openssl From 22507e43d9dd7c7224bc8a1e734a33b9d7062ff9 Mon Sep 17 00:00:00 2001 From: Chapman Schleiss Date: Sat, 19 May 2018 21:56:39 -0600 Subject: [PATCH 5/8] Kali top10 and web --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index df00acf..de6d32b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN ["sh", "packages.sh"] RUN apt-get clean RUN apt-get -y autoremove -RUN apt-get install kali-linux-full +RUN apt-get install kali-linux-top10 kali-linux-web #Kali SSL lib-fix ENV PYCURL_SSL_LIBRARY openssl From 2860cfae6cfe7680c2dba6a296ea94a3fd2db5c4 Mon Sep 17 00:00:00 2001 From: Chapman Schleiss Date: Sat, 19 May 2018 22:06:24 -0600 Subject: [PATCH 6/8] Apt -y --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index de6d32b..256032f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,9 @@ RUN ["sh", "packages.sh"] RUN apt-get clean RUN apt-get -y autoremove -RUN apt-get install kali-linux-top10 kali-linux-web +# Install some Kali components +# See https://www.kali.org/news/kali-linux-metapackages/ for details +RUN apt-get install -y kali-linux-top10 kali-linux-web #Kali SSL lib-fix ENV PYCURL_SSL_LIBRARY openssl From 275aee58c04266c7de4ea78d3389d73a7d970060 Mon Sep 17 00:00:00 2001 From: Chapman Schleiss Date: Sat, 19 May 2018 23:42:28 -0600 Subject: [PATCH 7/8] Consolidated dependencies Upgraded Wapiti to version 3 - API change needed in owtf/owtf repo (PR coming) Upgraded Arachni to version 2 --- Dockerfile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 256032f..ff4d817 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,15 +12,23 @@ RUN ["sh", "packages.sh"] RUN apt-get clean RUN apt-get -y autoremove -# Install some Kali components -# See https://www.kali.org/news/kali-linux-metapackages/ for details -RUN apt-get install -y kali-linux-top10 kali-linux-web +RUN apt-get install -y kali-linux-web + +# Fixing Wapiti +RUN apt-get remove -y wapiti +RUN wget https://phoenixnap.dl.sourceforge.net/project/wapiti/wapiti/wapiti-3.0.1/wapiti3-3.0.1.tar.gz && tar -xf wapiti3-3.0.1.tar.gz +RUN cd wapiti3-3.0.1 && python3 setup.py install +RUN wget -P /root/config http://cirt.net/nikto/UPDATES/2.1.5/db_tests && mv /root/config/db_tests /root/config/nikto_db + +# Fixing Arachni +RUN rm -rf /usr/share/arachni && wget http://downloads.arachni-scanner.com/nightlies/arachni-2.0dev-1.0dev-linux-x86_64.tar.gz +RUN tar -xf arachni-2.0dev-1.0dev-linux-x86_64.tar.gz && mv arachni-2.0dev-1.0dev /usr/share/arachni #Kali SSL lib-fix ENV PYCURL_SSL_LIBRARY openssl #download latest OWTF -RUN git clone -b master https://github.com/owtf/owtf.git +RUN git clone -b master https://github.com/r3naissance/owtf.git RUN mkdir -p /owtf/data/tools/restricted ENV TERM xterm From 42e28cdfb6cd12cdaf825781407cb6c74ba6af85 Mon Sep 17 00:00:00 2001 From: Chapman Schleiss Date: Sat, 19 May 2018 23:53:20 -0600 Subject: [PATCH 8/8] Updated to owtf repo --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ff4d817..3bd2831 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,7 @@ RUN tar -xf arachni-2.0dev-1.0dev-linux-x86_64.tar.gz && mv arachni-2.0dev-1.0de ENV PYCURL_SSL_LIBRARY openssl #download latest OWTF -RUN git clone -b master https://github.com/r3naissance/owtf.git +RUN git clone -b master https://github.com/owtf/owtf.git RUN mkdir -p /owtf/data/tools/restricted ENV TERM xterm