-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
52 lines (42 loc) · 1.16 KB
/
Dockerfile
File metadata and controls
52 lines (42 loc) · 1.16 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
FROM kalilinux/kali-rolling
RUN apt update -y && DEBIAN_FRONTEND="noninteractive" apt install -y kali-linux-headless
#RUN apt install -y kali-linux-headless
RUN DEBIAN_FRONTEND="noninteractive" apt install -y \
git \
wget \
curl \
nmap \
nikto \
nuclei \
sslyze \
gowitness \
ssh-audit \
ffuf \
ldap-utils \
snmp \
bind9-host \
sudo \
iputils-ping
# wpscan \
# joomscan \
# droopescan \
# snmpwalk \
# ldapsearch \
# smbmap \
# enum4linux \
# odat \
#RUN mkdir ~/.nmap/scripts
#RUN nmap --script-updatedb
# Create a directory for application data
RUN mkdir -p /scanner
# Declare a volume to persist application data
VOLUME ["/scanner"]
WORKDIR /scanner
#RUN apt -y install python3-pip golang
RUN rm -rf /scanner/nmapAutomatorNG/*
RUN git clone https://github.com/security-companion/nmapAutomatorNG.git && \
ln -s /scanner/nmapAutomatorNG/nmapAutomatorNG.sh /usr/local/bin/
# Clean
RUN DEBIAN_FRONTEND="noninteractive" apt-get clean && rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "/bin/bash", "/scanner/nmapAutomatorNG/nmapAutomatorNG.sh"]
#, "/scanner/nmapAutomatorNG/nmapAutomatorNG.sh"