-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
24 lines (22 loc) · 905 Bytes
/
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
FROM finchsec/kali:base as builder
# hadolint ignore=DL3005,DL3008
RUN apt-get update && \
apt-get dist-upgrade -y && \
apt-get install wget unzip libpcap-dev build-essential -y && \
wget https://github.com/kimocoder/reaver-wps-fork-t6x/archive/refs/heads/wifite.zip && \
unzip wifite.zip
WORKDIR /reaver-wps-fork-t6x-wifite/src
RUN ./configure && \
make && \
make install
FROM finchsec/kali:base
LABEL org.opencontainers.image.authors="[email protected]"
# hadolint ignore=DL3005,DL3008
RUN apt-get update && \
apt-get dist-upgrade -y && \
apt-get install libpcap0.8 pixiewps --no-install-recommends -y && \
apt-get autoclean && \
rm -rf /var/lib/dpkg/status-old /var/lib/apt/lists/*
COPY --from=builder /reaver-wps-fork-t6x-wifite/src/reaver /usr/local/sbin/reaver
# Wash is just a symlink to reaver
RUN ln -s /usr/local/sbin/reaver /usr/local/sbin/wash