Skip to content

Commit b4708d7

Browse files
authored
Update README.md
1 parent bf38125 commit b4708d7

File tree

1 file changed

+36
-6
lines changed

1 file changed

+36
-6
lines changed

README.md

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,39 @@
1+
12
# hostapd-wpe-openwrt
2-
Updated: 08/06/2015
3+
Updated: 20/12/2020
4+
5+
Hostapd-wpe (Wireless Pwnage Edition) packages for OpenWRT 19.07. Some effort was done to make the build as small as possible and to reuse OpenWrt components where possible. The build uses openssl and libubox as only dependencies
6+
7+
The WPE patch was taken from the [aircrack-ng repository](https://github.com/aircrack-ng/aircrack-ng/blob/master/patches/wpe/hostapd-wpe/hostapd-wpe.patch) and applied to the hostapd in OpenWrt. This build includes Cupid attack (for HeartBleed), Karma mode and Mschapv2 password fixes.
8+
9+
## Add this repository to your build
10+
11+
Clone this repository.
12+
13+
`git clone https://github.com/jekkos/hostapd-wpe-openwrt`
14+
15+
Next edit `feeds.conf.default` in OpenWrt root folder and add following line to the end of the file.
16+
17+
`src-link hostapd-wpe /path/to/hostapd-wpe-openwrt`
18+
19+
Next in OpenWrt root update the feeds and install the buildfiles
20+
21+
`./scripts/feeds update -a`
22+
`./scripts/feeds install -a`
23+
24+
Then compile the package
25+
26+
`make package/network/services/hostapd-wpe/compile V=s`
27+
28+
.ipk files can then be fonud in `bin/packages/<arch>/base/` (in this case arch=mips)
29+
30+
* hostapd-wpe_git-2_mips_24kc.ipk
31+
* hostapd-common_2019-08-08-ca8c2bd2-4_mips_24kc.ipk
32+
* libubox20191228_2020-05-25-66195aee-1_mips_24kc.ipk (you probably already have this installed)
33+
* libopenssl1.1_1.1.1i-1_mips_24kc.ipk (you probably already have this installed)
334

4-
Hostapd-wpe (Wireless Pwnage Edition) v2.2packages for OpenWRT Barrier Breaker 14.07
5-
Build includes Cupid attack (for HeartBleed) and mschapv2 password fixes from https://github.com/Rogdham/hostapd-wpe/commit/92b1090a3e0787dee985fc0e40641ca9e1bfa38f
35+
## Download and install .ipk directly
36+
The package is here precompiled for mips24kc. It only has openssl as a dependency.
637

7-
More information at:
8-
- https://www.acrylicwifi.com/en/blog/hostapd-wpe-openwrt-barrier-breaker/
9-
- https://www.acrylicwifi.com/en/blog/attacks-on-wpa-enterprise-infrastructures-with-hostapd-wpe/
38+
## Run on OpenWrt
39+
`hostapd-wpe -i wlan1 -k /etc/hostapd-wpe/hostapd-wpe.conf` to start the process. A config file can be found in `/etc/hostapd-wpe/hostapd-wpe.conf`

0 commit comments

Comments
 (0)