-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
109 lines (91 loc) · 3.81 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
FROM golang:alpine as builder
RUN apk add --no-cache git
RUN apk add --no-cache libpcap-dev # Needed for naabu
RUN apk add --no-cache build-base
RUN apk add --no-cache gcc
ENV GO111MODULE=on \
CGO_ENABLED=0 \
GOOS=linux \
GOARCH=amd64
RUN go get github.com/projectdiscovery/dnsx/cmd/dnsx
RUN go get github.com/haccer/subjack
# waiting for PR
# RUN go get -u github.com/lc/subjs
RUN go get -u github.com/virenpawar/subjs
RUN go get github.com/tomnomnom/hacks/concurl
RUN go get github.com/tomnomnom/gron
RUN go get github.com/projectdiscovery/httpx/cmd/httpx
RUN go get github.com/projectdiscovery/nuclei/v2/cmd/nuclei
RUN go get github.com/projectdiscovery/subfinder/v2/cmd/subfinder@dev
RUN go get -v github.com/projectdiscovery/notify/cmd/notify
RUN go get github.com/tomnomnom/meg
RUN go get github.com/tomnomnom/qsreplace
RUN go get github.com/tomnomnom/unfurl
RUN go get github.com/tomnomnom/hacks/kxss
RUN go get github.com/tomnomnom/waybackurls
RUN go get github.com/tomnomnom/assetfinder
RUN go get github.com/lc/gau
RUN go get github.com/tomnomnom/hacks/tok
RUN go get github.com/ffuf/ffuf
RUN go get github.com/OWASP/Amass/v3/...
RUN go get -u github.com/jaeles-project/gospider
RUN go get -u github.com/tomnomnom/gf
RUN go get github.com/ericchiang/pup
ENV GO111MODULE=on \
CGO_ENABLED=1 \
GOOS=linux \
GOARCH=amd64
RUN go get github.com/projectdiscovery/naabu/v2/cmd/naabu
ENV GO111MODULE=off \
CGO_ENABLED=0 \
GOOS=linux \
GOARCH=amd64
RUN go get github.com/michenriksen/aquatone
FROM kalilinux/kali-bleeding-edge
COPY --from=builder /go/bin/* /usr/bin/
ENV DEBIAN_FRONTEND noninteractive
# Install software
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y --no-install-recommends nmap
RUN apt-get install -y --no-install-recommends python3
RUN apt-get install -y --no-install-recommends whois
RUN apt-get install -y --no-install-recommends python3-pip
RUN apt-get install -y --no-install-recommends awscli
RUN apt-get install -y --no-install-recommends jq
RUN apt-get install -y --no-install-recommends curl
RUN apt-get install -y --no-install-recommends neovim
RUN apt-get install -y --no-install-recommends git
RUN apt-get install -y --no-install-recommends tree
RUN apt-get install -y --no-install-recommends tmux
RUN apt-get install -y --no-install-recommends sqlmap
RUN apt-get install -y --no-install-recommends stow
RUN apt-get install -y --no-install-recommends zsh
RUN apt-get install -y --no-install-recommends ncat
RUN apt-get install -y --no-install-recommends rlwrap
RUN apt-get install -y --no-install-recommends moreutils
RUN apt-get install -y --no-install-recommends fzf
RUN apt-get install -y --no-install-recommends fd-find
RUN apt-get install -y --no-install-recommends man
RUN apt-get install -y --no-install-recommends openssh-client
RUN apt-get install -y --no-install-recommends iputils-ping
RUN apt-get install -y --no-install-recommends less
RUN apt-get install -y --no-install-recommends build-essential
RUN apt-get install -y --no-install-recommends python3-dev
# Install gf patterns
RUN git clone https://github.com/tomnomnom/gf
RUN cp -r gf/examples /root/.gf
RUN rm -rf gf
RUN git clone https://github.com/1ndianl33t/Gf-Patterns
RUN mv Gf-Patterns/*.json /root/.gf
RUN curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o chrome.deb
RUN apt-get install -y --no-install-recommends ./chrome.deb
RUN pip install myjwt
RUN pip install shodan
RUN curl -Ls https://github.com/Edu4rdSHL/findomain/releases/latest/download/findomain-linux -o /usr/bin/findomain && chmod +x /usr/bin/findomain
# Install LinkFinder
RUN git clone https://github.com/GerbenJavado/LinkFinder.git
RUN cd LinkFinder && pip3 install -r requirements.txt && python3 setup.py install
RUN touch ~/.hushlogin
COPY ./entrypoint.sh /
COPY ./download-wordlists.sh /root
ENTRYPOINT ["/entrypoint.sh"]