-
Notifications
You must be signed in to change notification settings - Fork 13
/
Dockerfile.bug
95 lines (81 loc) · 2.71 KB
/
Dockerfile.bug
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
# httpx
FROM brimstone/golang:latest as httpx
RUN git clone https://github.com/projectdiscovery/httpx \
&& cd httpx/cmd/httpx \
&& go build -v \
&& pwd
# subfinder
FROM brimstone/golang:latest as subfinder
RUN git clone https://github.com/projectdiscovery/subfinder \
&& cd subfinder/v2/cmd/subfinder \
&& go build -v \
&& pwd
# nuclei
FROM brimstone/golang:latest as nuclei
RUN git clone https://github.com/projectdiscovery/nuclei \
&& cd nuclei/v2/cmd/nuclei \
&& go get -v \
&& go build -v \
&& pwd
# ureplace instead of qsreplace
FROM brimstone/golang:latest as ureplace
RUN git clone https://github.com/theblackturtle/ureplace \
&& cd ureplace \
&& go mod init \
&& go get -v \
&& go build -v \
&& pwd
# gf
FROM brimstone/golang:latest as gf
RUN git clone https://github.com/tomnomnom/gf \
&& cd gf \
&& go mod init \
&& go build -v \
&& pwd
# anew
FROM brimstone/golang:latest as anew
RUN git clone https://github.com/tomnomnom/anew \
&& cd anew \
&& go build -v \
&& pwd
# jaeles
FROM brimstone/golang:latest as jaeles
RUN git clone https://github.com/jaeles-project/jaeles \
&& cd jaeles \
&& go build -v \
&& pwd
FROM brimstone/golang:latest as ipinfo
RUN git clone https://github.com/ipinfo/cli ipinfo \
&& cd ipinfo/ipinfo \
&& go build -v \
&& pwd
FROM brimstone/kali:latest
RUN apt update \
&& apt install -y --no-install-recommends \
amass whois ffuf bsdextrautils python3 python3-pip python3-venv zip unzip \
gobuster gospider proxychains4 getallurls sqlmap whois bind9-host jq \
&& apt clean \
&& rm -rf /var/lib/apt/lists
RUN git clone https://github.com/devanshbatham/ParamSpider \
&& cd ParamSpider \
&& mv paramspider.py __main__.py \
&& pip3 install -r requirements.txt --target . \
&& zip -r paramspider.zip __main__.py core $(awk -F= '{printf $1 " "}' requirements.txt) \
&& echo '#!/usr/bin/env python3' > /usr/local/bin/paramspider \
&& cat paramspider.zip >> /usr/local/bin/paramspider \
&& chmod 755 /usr/local/bin/paramspider \
&& cd .. \
&& rm -rf ParamSpider
COPY --from=httpx /go/src/app/httpx/cmd/httpx/httpx /usr/local/bin/
COPY --from=subfinder /go/src/app/subfinder/v2/cmd/subfinder/subfinder /usr/local/bin/
COPY --from=nuclei /go/src/app/nuclei/v2/cmd/nuclei/nuclei /usr/local/bin/
COPY --from=ureplace /go/src/app/ureplace/ureplace /usr/local/bin/
COPY --from=anew /go/src/app/anew/anew /usr/local/bin/
COPY --from=gf /go/src/app/gf/gf /usr/local/bin/
RUN git clone https://github.com/1ndianl33t/gf-patterns /root/.gf/
COPY --from=gf /go/src/app/gf/examples/*.json /root/.gf/
COPY --from=jaeles /go/src/app/jaeles/jaeles /usr/local/bin/
RUN jaeles config init
COPY --from=ipinfo /go/src/app/ipinfo/ipinfo /usr/local/bin/
# bountyit
# https://github.com/Findomain/Findomain