From c7df328caa43e01d99b1c5b0e970895f766a4c54 Mon Sep 17 00:00:00 2001 From: Arsenio Aguirre Date: Thu, 4 Feb 2021 14:01:21 -0300 Subject: [PATCH] add sqlite3 and upgrade pip --- Dockerfile | 19 ++++++------------- requirements_pip.txt | 16 +++++++++++++++- requirements_pip3.txt | 13 ------------- 3 files changed, 21 insertions(+), 27 deletions(-) delete mode 100644 requirements_pip3.txt diff --git a/Dockerfile b/Dockerfile index 2c477bd..5511694 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,8 +39,6 @@ RUN \ apache2 \ squid \ python3 \ - python \ - python-dnspython \ python3-pip \ jq \ libcurl4-openssl-dev \ @@ -67,6 +65,7 @@ RUN \ steghide \ binwalk \ foremost \ + sqlite3 \ # patator dependencies libmysqlclient-dev \ # evil-winrm dependencies @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/requirements_pip.txt b/requirements_pip.txt index 965d8f3..f3491f8 100644 --- a/requirements_pip.txt +++ b/requirements_pip.txt @@ -1,2 +1,16 @@ pipenv -py-altdns \ No newline at end of file +py-altdns +dnspython +wfuzz +ldapdomaindump +impacket +hashid +droopescan +spyse.py +#sublist3r dependency +argparse +#photon dependency +tld +#jwt-tool dependency +pycryptodomex +wafw00f \ No newline at end of file diff --git a/requirements_pip3.txt b/requirements_pip3.txt deleted file mode 100644 index 8aa2a50..0000000 --- a/requirements_pip3.txt +++ /dev/null @@ -1,13 +0,0 @@ -wfuzz -ldapdomaindump -impacket -hashid -droopescan -spyse.py -#sublist3r dependency -argparse -#photon dependency -tld -#jwt-tool dependency -pycryptodomex -wafw00f \ No newline at end of file