blob: abb2e05ba2e32942748e88ca80e92fb8ab112d27 (
plain)
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
|
# Maintainer : lsf <lsf@lsf>
pkgname=wifite2-git
pkgver=r493.6fd209102
pkgrel=2
pkgdesc="A tool to attack multiple WEP and WPA encrypted networks at the same time"
arch=(any)
url="https://github.com/kimocoder/wifite2"
license=('GPL2')
depends=(python aircrack-ng iw iproute2 net-tools
python-argparse python-chardet)
# scapy: listed in requirements.txt, but not actually used atm
optdepends=(
'wireshark-cli: detecting WPS networks and inspecting handshake capture files'
'reaver: WPS Pixie-Dust & brute-force attacks'
'bully: WPS Pixie-Dust & brute-force attacks'
'cowpatty: detect WPA handshakes'
'pyrit: detect WPA handshakes'
'macchanger: change MAC for attacks'
'hashcat: cracking PMKID hashes'
'john: cracking PMKID hashes'
'hcxdumptool: capturing PMKID hashes'
'hcxtools: converting PMKID packet captures into hashcat format' # should be part of hcxtools?
)
# 'hcxpcapngtool: converting PMKID packet captures into hashcat format' # should be part of hcxtools?
makedepends=(git)
source=($pkgname::git+https://github.com/kimocoder/wifite2.git)
sha256sums=('SKIP')
provides=('wifite')
conflicts=('wifite')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$pkgname"
sed 's|sbin|bin|g' -i setup.cfg
}
build() {
cd "$pkgname"
python setup.py build
}
package() {
cd "$pkgname"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
|