Skip to content

Commit 518e8cf

Browse files
committed
Merge branch 'dev'
2 parents de98def + 9d875d0 commit 518e8cf

File tree

3 files changed

+25
-28
lines changed

3 files changed

+25
-28
lines changed

Dockerfile

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ RUN \
3939
apache2 \
4040
squid \
4141
python3 \
42-
python \
43-
python-dnspython \
4442
python3-pip \
4543
jq \
4644
libcurl4-openssl-dev \
@@ -67,6 +65,7 @@ RUN \
6765
steghide \
6866
binwalk \
6967
foremost \
68+
sqlite3 \
7069
# patator dependencies
7170
libmysqlclient-dev \
7271
# evil-winrm dependencies
@@ -96,11 +95,7 @@ RUN \
9695
evil-winrm && \
9796
apt-get update
9897

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
10499

105100
FROM baseline as builder
106101
# SERVICES
@@ -125,10 +120,8 @@ RUN \
125120
sed -i '78i autoload -U compinit && compinit' /root/.zshrc
126121

127122
# Install python dependencies
128-
COPY requirements_pip3.txt /tmp
129123
COPY requirements_pip.txt /tmp
130124
RUN \
131-
pip3 install -r /tmp/requirements_pip3.txt && \
132125
pip install -r /tmp/requirements_pip.txt
133126

134127
# DEVELOPER TOOLS
@@ -321,17 +314,17 @@ RUN \
321314
ln -s /tools/recon/httpx/httpx /usr/bin/httpx
322315

323316
WORKDIR /tools/recon/knock
324-
RUN python setup.py install
317+
RUN python3 setup.py install
325318

326319
# Install linkfinder
327320
WORKDIR /tools/recon/LinkFinder
328321
RUN \
329322
python3 setup.py install && \
330-
pip3 install -r requirements.txt
323+
pip install -r requirements.txt
331324

332325
# Install spiderfoot
333326
WORKDIR /tools/recon/spiderfoot
334-
RUN pip3 install -r requirements.txt
327+
RUN pip install -r requirements.txt
335328

336329
# BUILDER WORDLIST
337330
FROM baseline as wordlist
@@ -430,7 +423,7 @@ FROM builder5 as builder6
430423
COPY --from=bruteForce /temp/ /tools/bruteForce/
431424

432425
WORKDIR /tools/bruteForce/crowbar
433-
RUN pip3 install -r requirements.txt
426+
RUN pip install -r requirements.txt
434427

435428
# CRACKING
436429
RUN mkdir -p /tools/cracking
@@ -468,7 +461,9 @@ RUN chmod +x LinEnum.sh
468461
# Download enum4linux
469462
WORKDIR /temp
470463
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 && \
472467
# Download PEASS - Privilege Escalation Awesome Scripts SUITE
473468
mkdir -p /temp/peass
474469

requirements_pip.txt

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
11
pipenv
2-
py-altdns
2+
py-altdns
3+
dnspython
4+
wfuzz
5+
ldapdomaindump
6+
impacket
7+
hashid
8+
droopescan
9+
spyse.py
10+
#sublist3r dependency
11+
argparse
12+
#photon dependency
13+
tld
14+
#jwt-tool dependency
15+
pycryptodomex
16+
wafw00f
17+
pyyaml

requirements_pip3.txt

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)