-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
107 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
FROM golang:alpine | ||
|
||
# Install required packages | ||
RUN apk update && apk add curl | ||
RUN apk update && apk add curl build-base gcc abuild binutils binutils-doc gcc-doc libpcap-dev | ||
|
||
# Install usually static dependencies first | ||
RUN wget https://github.com/findomain/findomain/releases/latest/download/findomain-linux -O /usr/local/bin/findomain | ||
RUN chmod o+x /usr/local/bin/findomain | ||
|
||
ENV GO111MODULE=on | ||
RUN go get -v github.com/projectdiscovery/nuclei/v2/cmd/[email protected] | ||
RUN go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest | ||
|
||
RUN nuclei -version | ||
RUN nuclei -update-templates | ||
|
||
RUN go get -v github.com/projectdiscovery/httpx/cmd/httpx | ||
|
||
RUN go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest | ||
|
||
# /root folder isn't accessible within lambda context, move templates and config dir to / | ||
RUN cp -R ~/nuclei-templates /nuclei-templates | ||
RUN chmod -R 777 /nuclei-templates | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters