blob: 5a037411166ac81364ab6db523da85c35013167e (
plain)
1 # Description: Actively recover LEAP/PPTP passwords
2 # URL: https://www.willhackforsushi.com/?page_id=41
3 # Maintainer: Alexandr Savca, alexandrsavca89 at gmail dot com
4 # Depends on: openssl libpcap libxcrypt2.4
5
6 name=asleap
7 version=2.2
8 release=1
9 source=(http://www.willhackforsushi.com/code/$name/$version/$name-$version.tgz
10 0001-fix-build-for-CRUX.patch
11 001_add_simple_password_bruteforcing_option.patch
12 002_added_the_possibility_to_verify_MSCHAP-V2_authentication.patch
13 003_fix_and_improve_bruteforce_option.patch
14 004_add_user_opt_and_pptp_chal_resp_cmdline_parsing.patch)
15
16 build() {
17 cd $name-$version
18
19 patch -p1 -i $SRC/0001-fix-build-for-CRUX.patch
20 patch -p1 -i $SRC/001_add_simple_password_bruteforcing_option.patch
21 patch -p1 -i $SRC/002_added_the_possibility_to_verify_MSCHAP-V2_authentication.patch
22 patch -p1 -i $SRC/003_fix_and_improve_bruteforce_option.patch
23 patch -p1 -i $SRC/004_add_user_opt_and_pptp_chal_resp_cmdline_parsing.patch
24
25 sed -i -e "s/#define VER \"\(.*\)\"/#define VER \"${version}.${release}\"/" \
26 version.h
27
28 make
29
30 install -D asleap $PKG/usr/bin/asleap
31 install -D genkeys $PKG/usr/bin/genkeys
32 }
|