summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 07b0081261041d52437b745e64deccdeb0c24980 (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
# Contributor: Alexandre Bolelli <semeion7@hotmail.com>
# Maintainer: Alexandre Bolelli <semeion7@hotmail.com>

pkgname=handshake-cracker
pkgver=32.55ba7da
pkgrel=1
pkgdesc="Capture handshakes with aircrack-ng, crack with hashcat using john the ripper mangled wordlists."
arch=('any')
url='https://github.com/semeion/handshake-cracker'
license=('GPL3')
depends=('aircrack-ng' 'hcxtools' 'hashcat' 'mdk4' 'xterm' 'ncurses' 'psmisc' 'gawk'
         'macchanger' 'coreutils' 'glibc' 'sed' 'gzip' 'bzip2' 'unzip' 'wget' 'sudo' 'less' 'john' 'python' 'python-lxml')
#optdepends=('hcxdumptool')
makedepends=('git')
source=('git+https://github.com/semeion/handshake-cracker.git')
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/${pkgname}"
  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package()
{
    cd "${srcdir}/${pkgname}"
    # Install script
    install -D -m755 crack "${pkgdir}/usr/bin/crack"
    install -D -m755 crawler-dicionarioinformal "${pkgdir}/usr/bin/crawler-dicionarioinformal"
    install -D -m755 crawler-dictionary "${pkgdir}/usr/bin/crawler-dictionary"
    install -D -m755 handshake "${pkgdir}/usr/bin/handshake"
    install -D -m755 wordlist "${pkgdir}/usr/bin/wordlist"
    # Install john config with custom rules
    install -D -m644 john.conf.custom "${pkgdir}/etc/john/john.conf.custom"
}