From 93c67624804262f4db71264b90547c8b3a8135f4 Mon Sep 17 00:00:00 2001 From: Fabian Foerg <28877604+faf0-addepar@users.noreply.github.com> Date: Thu, 15 Apr 2021 09:52:03 -0400 Subject: [PATCH] Upgrade sqlmap and wapiti in Dockerfile Include the latest releases of sqlmap and wapiti in built Docker images. Also, add a .dockerignore to exclude the htcap-out directory that Docker mounts as a volume. --- .dockerignore | 1 + Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..8db5939 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +htcap-out diff --git a/Dockerfile b/Dockerfile index 1485a55..72b8967 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,12 +31,12 @@ RUN curl -Ls https://github.com/Arachni/arachni/releases/download/v1.5.1/arachni rm arachni.tar.gz && \ mv arachni-1.5.1-* arachni && \ ln -s /usr/local/share/arachni/bin/* /usr/local/bin/ -RUN curl -Ls https://github.com/sqlmapproject/sqlmap/archive/1.4.12.tar.gz -o sqlmap.tar.gz && \ +RUN curl -Ls https://github.com/sqlmapproject/sqlmap/archive/1.5.4.tar.gz -o sqlmap.tar.gz && \ tar xzf sqlmap.tar.gz && \ rm sqlmap.tar.gz && \ mv sqlmap-* sqlmap && \ ln -s /usr/local/share/sqlmap/sqlmap.py /usr/local/bin/sqlmap -RUN curl -Ls https://sourceforge.net/projects/wapiti/files/wapiti/wapiti-3.0.3/wapiti3-3.0.3.tar.gz/download -o wapiti.tar.gz && \ +RUN curl -Ls https://sourceforge.net/projects/wapiti/files/wapiti/wapiti-3.0.4/wapiti3-3.0.4.tar.gz/download -o wapiti.tar.gz && \ tar xzf wapiti.tar.gz && \ rm wapiti.tar.gz && \ mv wapiti3-* wapiti && \