Skip to content

reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities

Dockerfile modified

six2dez251b01a22586
diff --git a/Dockerfile b/Dockerfile
index fe59d17..f38d671 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,4 @@
FROM golang:1.15.7-alpine3.13
-ARG RECONFTW_VERSION=0.9-beta1
WORKDIR /app
ENV LANG="en_US.UTF-8" \
LANGUAGE="en_US:en" \
@@ -8,9 +7,16 @@ ENV LANG="en_US.UTF-8" \
GOPATH="/go" \
GOROOT="/usr/local/go"
RUN apk add --update --no-cache bash python3 py3-pip sudo nmap && \
- apk add --no-cache --virtual .install-deps git gcc-go make libc-dev python3-dev libpcap-dev openssl-dev libxslt-dev libffi-dev libxml2-dev zlib-dev && \
- git clone --depth 1 https://github.com/six2dez/reconftw.git -b $RECONFTW_VERSION . && \
+ apk add --no-cache --virtual .install-deps git gcc-go make libc-dev python3-dev libpcap-dev openssl-dev libxslt-dev libffi-dev libxml2-dev jq zlib-dev && \
+ echo "Cloning reconftw repository..." && \
+ git clone --depth 1 https://github.com/six2dez/reconftw.git -b main . &>/dev/null && \
chmod +x install.sh && \
- bash -x ./install.sh && \
- apk del .install-deps
+ echo "Installing dependencies..." && \
+ bash -x ./install.sh &>/dev/null && \
+ apk del .install-deps && \
+ echo "Build finished!" && \
+ echo "To run this container:" && \
+ echo "" && \
+ echo "docker run --rm reconftw/reconftw"
+ADD . /app/
ENTRYPOINT ["/app/reconftw.sh"]