Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couple dependency issues resolved (Wapiti & Arachni) #35

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
FROM kalilinux/kali-linux-docker

MAINTAINER @viyatb [email protected], @alexandrasandulescu [email protected]
MAINTAINER r3naissance
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't change this here - I'll add your name to a contributors section in the README.


# Kali signatures preventive update
RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y gnupg
RUN wget -q -O - archive.kali.org/archive-key.asc | apt-key add
RUN apt-get update && apt-get dist-upgrade -y

# install required packages from Kali repos
COPY packages.sh /
Expand All @@ -14,11 +12,17 @@ RUN ["sh", "packages.sh"]
RUN apt-get clean
RUN apt-get -y autoremove

# dowload optional packages archives
COPY optional_tools.sh /usr/bin/
RUN chmod +x /usr/bin/optional_tools.sh
RUN apt-get install -y kali-linux-web

RUN /bin/bash /usr/bin/optional_tools.sh
# Fixing Wapiti
RUN apt-get remove -y wapiti
RUN wget https://phoenixnap.dl.sourceforge.net/project/wapiti/wapiti/wapiti-3.0.1/wapiti3-3.0.1.tar.gz && tar -xf wapiti3-3.0.1.tar.gz
RUN cd wapiti3-3.0.1 && python3 setup.py install
RUN wget -P /root/config http://cirt.net/nikto/UPDATES/2.1.5/db_tests && mv /root/config/db_tests /root/config/nikto_db

# Fixing Arachni
RUN rm -rf /usr/share/arachni && wget http://downloads.arachni-scanner.com/nightlies/arachni-2.0dev-1.0dev-linux-x86_64.tar.gz
RUN tar -xf arachni-2.0dev-1.0dev-linux-x86_64.tar.gz && mv arachni-2.0dev-1.0dev /usr/share/arachni

#Kali SSL lib-fix
ENV PYCURL_SSL_LIBRARY openssl
Expand Down
1 change: 1 addition & 0 deletions optional_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ PACKAGES="theharvester \
wapiti \
hydra \
metagoofil \
arachni \
o-saft"

if [ "$1" = "--download-only" ]; then
Expand Down