File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ RUN go mod download
3434COPY cmd/ ./cmd/
3535COPY internal/ ./internal/
3636
37+ # Fetch katana (new direct dependency) and regenerate go.sum inside the builder.
38+ # This is required because go.sum was created without katana entries.
39+ RUN go get github.com/projectdiscovery/katana@latest && go mod tidy
40+
3741# Build main autoar binary from cmd/autoar (CGO enabled for naabu/libpcap)
3842RUN CGO_ENABLED=1 GOOS=linux go build -ldflags="-s -w" -o /app/autoar ./cmd/autoar
3943
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ require (
2727 github.com/projectdiscovery/httpx v1.8.1
2828 github.com/projectdiscovery/naabu/v2 v2.3.7
2929 github.com/projectdiscovery/nuclei/v3 v3.7.1
30- github.com/projectdiscovery/katana v1.1.2
3130 github.com/projectdiscovery/subfinder/v2 v2.6.7
3231 github.com/projectdiscovery/tlsx v1.2.2
3332 github.com/rs/zerolog v1.28.0
You can’t perform that action at this time.
0 commit comments