Skip to content

Commit

Permalink
add sqlite3 and upgrade pip
Browse files Browse the repository at this point in the history
  • Loading branch information
aaaguirrep committed Feb 4, 2021
1 parent 6bf81df commit c7df328
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 27 deletions.
19 changes: 6 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ RUN \
apache2 \
squid \
python3 \
python \
python-dnspython \
python3-pip \
jq \
libcurl4-openssl-dev \
Expand All @@ -67,6 +65,7 @@ RUN \
steghide \
binwalk \
foremost \
sqlite3 \
# patator dependencies
libmysqlclient-dev \
# evil-winrm dependencies
Expand Down Expand Up @@ -96,11 +95,7 @@ RUN \
evil-winrm && \
apt-get update

# Installing python-pip
RUN curl -O https://raw.githubusercontent.com/pypa/get-pip/master/get-pip.py && \
python get-pip.py && \
echo "PATH=$HOME/.local/bin/:$PATH" >> ~/.bashrc && \
rm get-pip.py
RUN python3 -m pip install --upgrade pip

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

# Install python dependencies
COPY requirements_pip3.txt /tmp
COPY requirements_pip.txt /tmp
RUN \
pip3 install -r /tmp/requirements_pip3.txt && \
pip install -r /tmp/requirements_pip.txt

# DEVELOPER TOOLS
Expand Down Expand Up @@ -321,17 +314,17 @@ RUN \
ln -s /tools/recon/httpx/httpx /usr/bin/httpx

WORKDIR /tools/recon/knock
RUN python setup.py install
RUN python3 setup.py install

# Install linkfinder
WORKDIR /tools/recon/LinkFinder
RUN \
python3 setup.py install && \
pip3 install -r requirements.txt
pip install -r requirements.txt

# Install spiderfoot
WORKDIR /tools/recon/spiderfoot
RUN pip3 install -r requirements.txt
RUN pip install -r requirements.txt

# BUILDER WORDLIST
FROM baseline as wordlist
Expand Down Expand Up @@ -430,7 +423,7 @@ FROM builder5 as builder6
COPY --from=bruteForce /temp/ /tools/bruteForce/

WORKDIR /tools/bruteForce/crowbar
RUN pip3 install -r requirements.txt
RUN pip install -r requirements.txt

# CRACKING
RUN mkdir -p /tools/cracking
Expand Down
16 changes: 15 additions & 1 deletion requirements_pip.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
pipenv
py-altdns
py-altdns
dnspython
wfuzz
ldapdomaindump
impacket
hashid
droopescan
spyse.py
#sublist3r dependency
argparse
#photon dependency
tld
#jwt-tool dependency
pycryptodomex
wafw00f
13 changes: 0 additions & 13 deletions requirements_pip3.txt

This file was deleted.

0 comments on commit c7df328

Please sign in to comment.