-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
174 lines (142 loc) · 4.95 KB
/
Copy pathDockerfile
File metadata and controls
174 lines (142 loc) · 4.95 KB
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
FROM alpine:latest
LABEL maintainer="Kakudou"
# install mitmproxy and mitmproxy2swagger
RUN \
apk add --update --no-cache cargo gcc python3 python3-dev libffi-dev curl g++
ENV PIP_INSTALL_ARGS="--no-cache-dir"
RUN rm /usr/lib/python*/EXTERNALLY-MANAGED && \
python3 -m ensurepip && \
python3 -m pip install --upgrade pip setuptools wheel pyopenssl==22.1 && \
python3 -m pip install mitmproxy==9.0.1 && \
python3 -m pip install mitmproxy2swagger==0.10.0
# install ffuf
RUN \
apk add --update --no-cache go && \
go install -v github.com/ffuf/ffuf@latest && \
ln -s /root/go/bin/ffuf /usr/local/bin/ffuf
# install waybackurls
RUN \
apk add --update --no-cache go && \
go install -v github.com/tomnomnom/waybackurls@latest && \
ln -s /root/go/bin/waybackurls /usr/local/bin/waybackurls
# install httpx
RUN \
apk add --update --no-cache go && \
go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest && \
ln -s /root/go/bin/httpx /usr/local/bin/httpx
# install subfinder
RUN \
apk add --update --no-cache go && \
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest && \
ln -s /root/go/bin/subfinder /usr/local/bin/subfinder
# install nuclei
RUN \
apk add --update --no-cache go && \
go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest && \
ln -s /root/go/bin/nuclei /usr/local/bin/nuclei && \
go install -v github.com/projectdiscovery/uncover/cmd/uncover@latest && \
ln -s /root/go/bin/uncover /usr/local/bin/uncover && \
uncover -up && nuclei -update-templates
# install katana
RUN \
apk add --update --no-cache go && \
go install -v github.com/projectdiscovery/katana/cmd/katana@latest && \
ln -s /root/go/bin/katana /usr/local/bin/katana
# install interactsh
RUN \
apk add --update --no-cache go && \
go install -v github.com/projectdiscovery/interactsh/cmd/interactsh-client@latest && \
ln -s /root/go/bin/interactsh-client /usr/local/bin/interactsh-client
# install naabu
RUN \
apk add --update --no-cache go libpcap-dev && \
go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest && \
ln -s /root/go/bin/naabu /usr/local/bin/naabu
# install dnsx
RUN \
apk add --update --no-cache go && \
go install -v github.com/projectdiscovery/dnsx/cmd/dnsx@latest && \
ln -s /root/go/bin/dnsx /usr/local/bin/dnsx
# Get SecLists
WORKDIR /Bebop
RUN \
apk add --update --no-cache git && \
git clone https://github.com/danielmiessler/SecLists.git
# install SpiderFoot
WORKDIR /Bebop
RUN \
apk add --update --no-cache musl-dev gcc python3 python3-dev libffi-dev git
ENV PIP_INSTALL_ARGS="--no-cache-dir"
RUN \
python3 -m ensurepip && \
python3 -m pip install --upgrade pip setuptools wheel
RUN \
git clone https://github.com/smicallef/spiderfoot.git && \
cd spiderfoot && \
python3 -m pip install -r requirements.txt && \
echo -e "#!/bin/sh\ncd /Bebop/spiderfoot\n python3 /Bebop/spiderfoot/sf.py \$@" > /usr/local/bin/spiderfoot && \
chmod +x /usr/local/bin/spiderfoot
# install CyberChef
WORKDIR /Bebop
RUN \
apk add --update --no-cache git npm nodejs && \
git clone https://github.com/gchq/CyberChef.git && \
cd CyberChef && \
npm install && \
echo -e "#!/bin/sh\ncd /Bebop/CyberChef\n npm start" > /usr/local/bin/cyberchef && \
chmod +x /usr/local/bin/cyberchef
# install SQLMap
WORKDIR /Bebop
RUN \
apk add --update --no-cache git python3 python3-dev
ENV PIP_INSTALL_ARGS="--no-cache-dir"
RUN \
python3 -m ensurepip && \
python3 -m pip install --upgrade pip setuptools wheel
RUN \
git clone https://github.com/sqlmapproject/sqlmap.git && \
echo -e "#!/bin/sh\npython3 /Bebop/sqlmap/sqlmap.py \$@" > /usr/local/bin/sqlmap && \
chmod +x /usr/local/bin/sqlmap
# install Clairvoyance
WORKDIR /Bebop
RUN \
apk add --update --no-cache python3 python3-dev
ENV PIP_INSTALL_ARGS="--no-cache-dir"
RUN \
python3 -m ensurepip && \
python3 -m pip install --upgrade pip setuptools wheel && \
python3 -m pip install clairvoyance
# install Radare2
WORKDIR /Bebop
RUN \
apk add --update --no-cache git patch linux-headers make gcc musl-dev
RUN \
git clone https://github.com/radareorg/radare2.git && \
cd radare2 && \
./sys/install.sh
# Install John the Ripper
RUN \
apk add john
# Install tshark
RUN \
apk add tshark
# Install slurp
RUN \
apk add --update --no-cache git go && \
git clone https://github.com/0xbharath/slurp.git && \
cd slurp && \
go build && \
ln -s /Bebop/slurp/slurp /usr/local/bin/slurp
# Install dig
RUN \
apk add --update --no-cache bind-tools
# Install trufflehog
RUN \
apk add --update --no-cache git go && \
git clone https://github.com/trufflesecurity/trufflehog.git && \
cd trufflehog && \
go install && \
ln -s /root/go/bin/trufflehog /usr/local/bin/trufflehog
# Force python pyopenssl==22.1 required for mitmproxy
RUN \
python3 -m pip install pyopenssl==22.1