39
39
apache2 \
40
40
squid \
41
41
python3 \
42
- python \
43
- python-dnspython \
44
42
python3-pip \
45
43
jq \
46
44
libcurl4-openssl-dev \
67
65
steghide \
68
66
binwalk \
69
67
foremost \
68
+ sqlite3 \
70
69
# patator dependencies
71
70
libmysqlclient-dev \
72
71
# evil-winrm dependencies
96
95
evil-winrm && \
97
96
apt-get update
98
97
99
- # Installing python-pip
100
- RUN curl -O https://raw.githubusercontent.com/pypa/get-pip/master/get-pip.py && \
101
- python get-pip.py && \
102
- echo "PATH=$HOME/.local/bin/:$PATH" >> ~/.bashrc && \
103
- rm get-pip.py
98
+ RUN python3 -m pip install --upgrade pip
104
99
105
100
FROM baseline as builder
106
101
# SERVICES
@@ -125,10 +120,8 @@ RUN \
125
120
sed -i '78i autoload -U compinit && compinit' /root/.zshrc
126
121
127
122
# Install python dependencies
128
- COPY requirements_pip3.txt /tmp
129
123
COPY requirements_pip.txt /tmp
130
124
RUN \
131
- pip3 install -r /tmp/requirements_pip3.txt && \
132
125
pip install -r /tmp/requirements_pip.txt
133
126
134
127
# DEVELOPER TOOLS
@@ -321,17 +314,17 @@ RUN \
321
314
ln -s /tools/recon/httpx/httpx /usr/bin/httpx
322
315
323
316
WORKDIR /tools/recon/knock
324
- RUN python setup.py install
317
+ RUN python3 setup.py install
325
318
326
319
# Install linkfinder
327
320
WORKDIR /tools/recon/LinkFinder
328
321
RUN \
329
322
python3 setup.py install && \
330
- pip3 install -r requirements.txt
323
+ pip install -r requirements.txt
331
324
332
325
# Install spiderfoot
333
326
WORKDIR /tools/recon/spiderfoot
334
- RUN pip3 install -r requirements.txt
327
+ RUN pip install -r requirements.txt
335
328
336
329
# BUILDER WORDLIST
337
330
FROM baseline as wordlist
@@ -430,7 +423,7 @@ FROM builder5 as builder6
430
423
COPY --from=bruteForce /temp/ /tools/bruteForce/
431
424
432
425
WORKDIR /tools/bruteForce/crowbar
433
- RUN pip3 install -r requirements.txt
426
+ RUN pip install -r requirements.txt
434
427
435
428
# CRACKING
436
429
RUN mkdir -p /tools/cracking
@@ -468,7 +461,9 @@ RUN chmod +x LinEnum.sh
468
461
# Download enum4linux
469
462
WORKDIR /temp
470
463
RUN \
471
- git clone --depth 1 https://github.com/portcullislabs/enum4linux.git && \
464
+ git clone --depth 1 https://github.com/CiscoCXSecurity/enum4linux.git && \
465
+ # Download enum4linx-ng
466
+ git clone https://github.com/cddmp/enum4linux-ng.git && \
472
467
# Download PEASS - Privilege Escalation Awesome Scripts SUITE
473
468
mkdir -p /temp/peass
474
469
0 commit comments