File: Dockerfile

package info (click to toggle)
wifite 2.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,196 kB
  • sloc: python: 6,457; sh: 10; makefile: 2
file content (112 lines) | stat: -rw-r--r-- 2,904 bytes parent folder | download
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
FROM python:3.14.0-slim

ENV DEBIAN_FRONTEND=noninteractive
ENV HASHCAT_VERSION=hashcat-6.2.6
ENV HASHCAT_UTILS_VERSION=1.9

RUN echo "deb http://deb.debian.org/debian trixie main" > /etc/apt/sources.list && \
    echo "deb-src http://deb.debian.org/debian trixie main" >> /etc/apt/sources.list && \
    apt update && \
    apt install -y --no-install-recommends \
        clang ca-certificates gcc openssl make kmod nano wget p7zip-full build-essential \
        libsqlite3-dev libpcap0.8-dev libpcap-dev sqlite3 pkg-config libnl-genl-3-dev \
        libssl-dev net-tools iw ethtool usbutils pciutils wireless-tools git curl libcurl3-dev unzip \
        macchanger tshark rfkill autoconf automake libtool && \
    apt build-dep -y aircrack-ng && \
    apt clean && \
    rm -rf /var/lib/apt/lists/*

# Install Aircrack from Source
RUN wget https://download.aircrack-ng.org/aircrack-ng-1.7.tar.gz
RUN tar xzvf aircrack-ng-1.7.tar.gz
WORKDIR /aircrack-ng-1.7/
RUN autoreconf -i
RUN ./configure --with-experimental
RUN make
RUN make install
RUN airodump-ng-oui-update

# Workdir /
WORKDIR /

# Install wps-pixie
RUN git clone https://github.com/wiire/pixiewps
WORKDIR /pixiewps/
RUN make
RUN make install

# Workdir /
WORKDIR /

# Install hcxdump
RUN git clone https://github.com/ZerBea/hcxdumptool.git
WORKDIR /hcxdumptool/
RUN make
RUN make install

# Workdir /
WORKDIR /

# Install hcxtools
RUN git clone https://github.com/ZerBea/hcxtools.git
WORKDIR /hcxtools/
RUN make
RUN make install

# Workdir /
WORKDIR /

# Install bully
RUN git clone https://github.com/kimocoder/bully
WORKDIR /bully/src/
RUN make
RUN make install

# Workdir /
WORKDIR /

# Install and configure hashcat
RUN mkdir /hashcat

# Install and configure hashcat: it's either the latest release or in legacy files
RUN cd /hashcat && \
    wget --no-check-certificate https://hashcat.net/files/${HASHCAT_VERSION}.7z && \
    7zr x ${HASHCAT_VERSION}.7z && \
    rm ${HASHCAT_VERSION}.7z

RUN cd /hashcat && \
    wget https://github.com/hashcat/hashcat-utils/releases/download/v${HASHCAT_UTILS_VERSION}/hashcat-utils-${HASHCAT_UTILS_VERSION}.7z && \
    7zr x hashcat-utils-${HASHCAT_UTILS_VERSION}.7z && \
    rm hashcat-utils-${HASHCAT_UTILS_VERSION}.7z

# Add link for binary
RUN ln -s /hashcat/${HASHCAT_VERSION}/hashcat64.bin /usr/bin/hashcat
RUN ln -s /hashcat/hashcat-utils-${HASHCAT_UTILS_VERSION}/bin/cap2hccapx.bin /usr/bin/cap2hccapx

# Workdir /
WORKDIR /

# Install reaver
RUN git clone https://github.com/t6x/reaver-wps-fork-t6x
WORKDIR /reaver-wps-fork-t6x/src/
RUN ./configure
RUN make
RUN make install

# Workdir /
WORKDIR /

# Install cowpatty
RUN git clone https://github.com/joswr1ght/cowpatty
WORKDIR /cowpatty/
RUN make

# Workdir /
WORKDIR /

# Install wifite
RUN git clone https://github.com/kimocoder/wifite2.git
RUN chmod -R 777 /wifite2/
WORKDIR /wifite2/
RUN apt install rfkill -y
#ENTRYPOINT ["/bin/bash"]