Skip to content

This Repository is a collection of different ethical hacking tools and malware's for penetration testing and research purpose written in python, ruby, rust, c++, go and c.

437 B
Raw Blame
FROM golang:latest AS build-env
WORKDIR /src
ENV CGO_ENABLED=0
COPY go.mod /src/
RUN go mod download
COPY . .
RUN go build -a -o brutespray -trimpath

FROM alpine:latest

RUN apk add --no-cache ca-certificates \
    && rm -rf /var/cache/*

RUN mkdir -p /app \
    && adduser -D brutespray \
    && chown -R brutespray:brutespray /app

USER brutespray
WORKDIR /app

COPY --from=build-env /src/brutespray .

ENTRYPOINT [ "./brutespray" ]