Skip to content

Commit 967d03f

Browse files
committed
build: update Dockerfile with full security toolset and dependencies
- Added subfinder, httpx, naabu, katana, ffuf, gau, waybackurls, dalfox, anew, interlace, misconfig-mapper to builder. - Added python3, sqlmap, nmap to runtime. - Grouped Go tool installations for better caching and smaller layers.
1 parent 098a526 commit 967d03f

1 file changed

Lines changed: 17 additions & 8 deletions

File tree

Dockerfile

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,25 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1111
pkg-config libssl-dev \
1212
&& rm -rf /var/lib/apt/lists/*
1313

14-
# Install external Go-based CLI tools used by AutoAR (nuclei, trufflehog)
15-
# Install Nuclei
16-
RUN GOBIN=/go/bin go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
17-
18-
# Install TruffleHog
14+
# Install external Go-based CLI tools used by AutoAR
15+
RUN GOBIN=/go/bin go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest && \
16+
GOBIN=/go/bin go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest && \
17+
GOBIN=/go/bin go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest && \
18+
GOBIN=/go/bin go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest && \
19+
GOBIN=/go/bin go install -v github.com/projectdiscovery/katana/cmd/katana@latest && \
20+
GOBIN=/go/bin go install -v github.com/ffuf/ffuf/v2@latest && \
21+
GOBIN=/go/bin go install -v github.com/lc/gau/v2/cmd/gau@latest && \
22+
GOBIN=/go/bin go install -v github.com/tomnomnom/waybackurls@latest && \
23+
GOBIN=/go/bin go install -v github.com/hahwul/dalfox/v2@latest && \
24+
GOBIN=/go/bin go install -v github.com/tomnomnom/anew@latest && \
25+
GOBIN=/go/bin go install -v github.com/codingo/interlace@latest && \
26+
GOBIN=/go/bin go install -v github.com/deletescape/goop@latest && \
27+
GOBIN=/go/bin go install -v github.com/h0tak88r/misconfig-mapper@latest || true
28+
29+
# Install TruffleHog (binary handled via custom build)
1930
RUN git clone --depth 1 https://github.com/trufflesecurity/trufflehog.git /tmp/trufflehog && \
2031
cd /tmp/trufflehog && go build -o /go/bin/trufflehog . && \
2132
rm -rf /tmp/trufflehog
22-
23-
# Install Goop
24-
RUN go install github.com/deletescape/goop@latest
2533
# Build AutoAR main CLI and entrypoint
2634
WORKDIR /app
2735

@@ -57,6 +65,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
5765
git curl ca-certificates tini jq dnsutils libpcap0.8 \
5866
postgresql-client docker.io \
5967
openjdk-17-jre-headless unzip \
68+
python3 python3-pip sqlmap nmap \
6069
&& rm -rf /var/lib/apt/lists/*
6170

6271
# Install jadx decompiler for apkX analysis

0 commit comments

Comments
 (0)