version 1.6.1.3-0.6.1.1
392
Welcome to the Arachni Docker image repository! This repository contains Docker images for Arachni, a feature-rich, modular, high-performance web application security scanner framework. The image is designed to help you quickly and easily deploy Arachni to perform security scans on your web applications.
This Docker image is licensed under the License. For more details, see the Arachni project on Github !!
To use this Docker image, you can pull it directly from Docker Hub and run it with the following commands:
# Newest Arachni version can not run as `root` user.
docker run --user 1000:1000 --rm -v /tmp/:/tmp/ hercules9/arachni \
bin/arachni --output-verbose \
--scope-include-subdomains https://example.com \
--report-save-path=/tmp/example.com.afr
After that, Arachni can define output report format from the .afr file. This is an example with html format:
docker run --rm --user 1000:1000 -v /tmp/:/tmp/ hercules9/arachni \
bin/arachni_reporter /tmp/example.com.afr \
--reporter=html:outfile=/tmp/example.com.html.zip
Here is my Dockerfile that you can use as a starting point to build your own Arachni image:
FROM ubuntu:latest
ARG ARACHNI_VERSION=arachni-1.6.1.3-0.6.1.1
ENV SERVER_ROOT_PASSWORD=arachni
ENV ARACHNI_USERNAME=arachni
ENV ARACHNI_PASSWORD=password
ENV DB_ADAPTER=sqlite
RUN apt-get update -y
RUN apt-get -y install openssh-server wget curl supervisor unzip && rm -rf /var/lib/apt/lists/*
RUN mkdir /var/run/sshd && \
mkdir -p /var/log/supervisor && \
mkdir -p /etc/supervisor/conf.d
RUN sed -ri 's/^PermitRootLogin\s+.*/PermitRootLogin yes/' /etc/ssh/sshd_config
RUN sed -ri 's/UsePAM yes/#UsePAM yes/g' /etc/ssh/sshd_config
RUN wget https://github.com/Arachni/arachni/releases/download/v1.6.1.3/arachni-1.6.1.3-0.6.1.1-linux-x86_64.tar.gz && \
tar xzvf arachni-1.6.1.3-0.6.1.1-linux-x86_64.tar.gz && \
mv arachni-1.6.1.3-0.6.1.1/ /usr/local/arachni && \
rm -rf *.tar.gz
WORKDIR /usr/local/arachni
EXPOSE 22 7331 9292
CMD ["bin/arachni"]
You can customize this Dockerfile based on your specific needs, such as adding or modifying the configuration and the version. command-line options to pass to Arachni.
docker pull hercules9/arachni:latest