-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile-Cluri7
38 lines (27 loc) · 888 Bytes
/
Dockerfile-Cluri7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Base image.
FROM debian:jessie
# Timezone
ENV TIMEZONE Asia/Jakarta
# Update.
RUN apt-get update && apt-get install -y
# System Requirement.
RUN apt-get install -y nano wget python python-pip git apache2 libapache2-mod-php5
RUN apt-get clean
# Go to.
WORKDIR /cluri7
# Get tools from github/contrib.
RUN mkdir contrib
## sqlmap
RUN git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git ./contrib/sqlmap
## nikto
RUN git clone --depth 1 https://github.com/sullo/nikto.git ./contrib/nikto
## zap-cli
RUN git clone --depth 1 https://github.com/Grunny/zap-cli.git ./contrib/zap-cli && cd contrib/zap-cli/ && pip install -e .[dev] && cd ../../
# Get custom module.
RUN mkdir custom
# Server Conf.
ADD sys/000-default.conf /etc/apache2/sites-available/000-default.conf
ADD sys/run.sh /service/run.sh
RUN chmod 755 /service/run.sh
EXPOSE 80
ENTRYPOINT ["/service/run.sh"]