Thread: [Fremantle Maemo5] [ANNOUNCE] Wpspixie & Reaver v1.5.2 to N900
View Single Post
Guest | Posts: n/a | Thanked: 0 times | Joined on
#1
Adding the Pixie Dust WPS attack and modified Reaver v1.5.2 (reaver-wps-fork-t6x) to Nokia N900:

For Pixiewps see this link for more information.

This will require you to first install libssl-dev:

Code:
sudo apt-get install libssl-dev
The normal procedure for installation:
1. git clone https://github.com/wiire/pixiewps.git
2. cd pixiewps/src
3. make
4. sudo make install

At step 3 I got an error from /usr/include/asm/byteorder.h
Code:
cc -std=c99 -O3 -Wno-deprecated-declarations -o pixiewps pixiewps.c random_r.c -lcrypto
In file included from pixiewps.c:58:
/usr/include/asm/byteorder.h: In function ‘___arch__swab32’:
/usr/include/asm/byteorder.h:32: error: expected ‘)’ before ‘:’ token
In file included from pixiewps.c:62:
pixiewps.h: At top level:
pixiewps.h:169: warning: C99 inline functions are not supported; using GNU89
pixiewps.h:169: warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
pixiewps.h:181: warning: C99 inline functions are not supported; using GNU89
/var/tmp/ccL4emQQ.s: Assembler messages:
/var/tmp/ccL4emQQ.s:168: rdhi, rdlo and rm must all be different
/var/tmp/ccL4emQQ.s:284: rdhi, rdlo and rm must all be different
make: *** [all] Error 1
The byteorder.h had line 32 as:
Code:
asm ("eor\t%0, %1, %1, ror #16" : "=r" (t) : "r" (x));
However I found out that by modifying the byteorder.h with __asm__ resulted in succesful make and make install afterwards.

Modified line 32:
Code:
__asm__ ("eor\t%0, %1, %1, ror #16" : "=r" (t) : "r" (x));
If someone more versed in these could tell us that is it safe to leave that line as such or should it be modified back to prior state? Until then just to be on the safe side modify it back to normal after you have compiled the tool.


For Reaver (reaver-wps-fork-t6x) see this link for more information.

This will require you to first install the following if not already present:

Code:
sudo apt-get install build-essential libpcap-dev sqlite3 libsqlite3-dev aircrack-ng pixiewps
Atleast libpcap-dev migth say: "Depends: libpcap0.8-dev"

Code:
apt-get install libpcap0.8-dev
The normal procedure for installation:
1. git clone https://github.com/t6x/reaver-wps-fork-t6x.git
2. cd reaver-wps-fork-t6x/src
3. ./configure
4. make
5. sudo make install

After step 3 edit the Makefiles, change crT to cr (removing the T):

Code:
nano crypto/Makefile
nano tls/Makefile
nano utils/Makefile
Step 4 was succesful after this.

Step 5 failed by default but last night I was way too tired to waste time with it so at this point I just copied the compiled reaver and wash to my user folder and created a symlink to/usr/bin:

Code:
ln -s /home/user/.reaver/reaver /usr/bin/reaver
ln -s /home/user/.reaver/wash /usr/bin/wash
I spent this afternoon doing a field test and to my great pleasure the tools seem to be working flawlessly. That being said I haven't conducted extensive testing yet but the main aspect is working with:

Code:
reaver -i mon0 -b xx:xx:xx:xx:xx:xx -vv -c <channel number> -K 1

The compiled tools are included in the Tools.zip. Copy those to /usr/bin or if you prefer to symlink them thats fine too. Of course I would not recommend anyone to just blindly take my word for their safety but to compile these for yourself. In my own device there aren't any problems but I cannot guarantee that there won't be some issues.

Edit. stryngs provided us with ready made .debs for easy installation! I'm adding them as an attachment.

WARNING: You will install these on your own risk - you should take backups before proceeding

NOTE: The included .deb files have dependencies to packages that are included with the Fremantle SDK repository:

You can add it manually by editing the /etc/apt/sources.list:
Code:
deb http://repository.maemo.org fremantle/sdk free non-free
Alternatively navigate to the application menu in the Application Manager (tap the title bar)
1. Select Application catalogs
2. Select New
3. Enter a catalog name: Fremantle SDK
4. Enter a web address: http://repository.maemo.org
5. Enter a distribution: fremantle/sdk
6. Enter components: free non-free
7. Make sure that Disabled is left unchecked.
8. Select Save.

When this is done you can try installing from the .deb files. I recommend disabling the Fremantle SDK repository after the installation is done.


If you encounter issues with the .deb installation please report them to this thread. However my personal recommendation for installation is to manually compile them for yourself.
Attached Files
File Type: zip Tools.zip (412.0 KB, 596 views)
File Type: deb pixiewps_1.1_armel.deb (26.3 KB, 456 views)
File Type: deb reaver_1.5.2-fork-t6_x_armel.deb (232.1 KB, 549 views)

Last edited by ras_older; 2015-09-02 at 09:47. Reason: 1. Adding [ANNOUNCE] to the title as noted by nokiabot, 2. Added .deb files provided by stryngs 3. Added some notes regarding the .deb files
 

The Following 15 Users Say Thank You to For This Useful Post: