-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
40 lines (40 loc) · 1.99 KB
/
Dockerfile
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
FROM finchsec/kali:base
LABEL org.opencontainers.image.authors="[email protected]"
ENV LANG en_US.UTF-8
#hadolint ignore=SC2046,DL3005,DL3008,SC2406,DL3015,DL4006
RUN apt-get update && \
echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/force-unsafe-io && \
apt-get dist-upgrade -y && \
apt-get install debconf-utils -y && \
echo "kismet-capture-common kismet-capture-common/install-setuid boolean false" | debconf-set-selections && \
echo "wireshark-common wireshark-common/install-setuid boolean boolean false" | debconf-set-selections && \
DEBIAN_FRONTEND=noninteractive apt-get install -y kismet kismet-plugins tshark && \
apt-get purge debconf-utils -y && \
apt-get install \
aircrack-ng tcpdump john cowpatty routerkeygenpc wpa-sycophant \
asleap bettercap hostapd-mana reaver mdk3 mdk4 termshark berate-ap \
hostapd-wpe freeradius-wpe wig-ng wifipumpkin3 airgeddon pcapfix \
wordlists hostapd wpasupplicant iwd eaphammer wireless-tools \
eapmd5pass pixiewps bully python3-simplejson iproute2 hcxtools \
$([ "$(uname -m)" != "armv7l" ] && echo hashcat-utils hashcat pocl-opencl-icd) \
openssh-client kmod wifite hcxdumptool --no-install-recommends -y && \
apt-get autoclean && \
rm -rf /var/lib/dpkg/status-old /etc/dpkg/dpkg.cfg.d/force-unsafe-io /var/lib/apt/lists/*
# Use statically compiled asleap
ARG ASLEAP_BIN="/usr/local/bin/asleap"
COPY --from=finchsec/asleap:static /usr/bin/asleap "${ASLEAP_BIN}"
COPY --from=finchsec/asleap:static /usr/bin/genkeys /usr/local/bin/genkeys
# EAP Buster
RUN wget https://raw.githubusercontent.com/blackarrowsec/EAP_buster/master/EAP_buster.sh \
-q -O /opt/EAP_buster.sh && \
chmod +x /opt/EAP_buster.sh && \
ln -s /opt/EAP_buster.sh /usr/local/sbin/EAP_buster.sh
# Add PCAP Filter
RUN wget https://gist.githubusercontent.com/r4ulcl/f3470f097d1cd21dbc5a238883e79fb2/raw/pcapFilter.sh \
-q -O /opt/pcapFilter.sh && \
chmod +x /opt/pcapFilter.sh && \
ln -s /opt/pcapFilter.sh /usr/local/bin/EAP_recon.sh
# Kismet
EXPOSE 2501
# Bettercap
EXPOSE 80