-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
59 lines (46 loc) · 1.8 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
FROM debian:10
#------------------------------------------------------------------
# System requirements
#------------------------------------------------------------------
RUN apt update && \
apt install -y \
python3 \
python3-pip \
git \
tor \
nmap \
curl \
jq \
procps
#------------------------------------------------------------------
# Python requirements
#------------------------------------------------------------------
COPY python-requirements.txt ShellBot.sh bot.sh dorks.list ./
RUN pip3 install -r python-requirements.txt
RUN pip3 install -U setuptools && easy_install shodan
#------------------------------------------------------------------
# Install pwned or not
#------------------------------------------------------------------
RUN git clone https://github.com/thewhiteh4t/pwnedOrNot.git && \
cd pwnedOrNot && \
ln -s $PWD/pwnedornot.py /usr/bin/pwnedornot
#------------------------------------------------------------------
# Install Karma
#------------------------------------------------------------------
RUN git clone https://github.com/decoxviii/karma && \
cd karma && \
python3 setup.py build && \
python3 setup.py install
#------------------------------------------------------------------
# Install Sherlock
#------------------------------------------------------------------
RUN git clone https://github.com/sherlock-project/sherlock.git && \
cd sherlock && \
ln -s $PWD/sherlock.py /usr/bin/sherlock
#------------------------------------------------------------------
# Install TheHarvester
#------------------------------------------------------------------
RUN git clone https://github.com/laramies/theHarvester && \
cd theHarvester && \
ln -s $PWD/theHarvester.py /usr/bin/theHarvester.py
ENTRYPOINT ["./bot.sh"]