Results 1 to 27 of 27

Thread: How to install Wifite-mod-pixiewps and reaver-wps-fork-t6x to nethunter

  1. #1
    Join Date
    2014-Mar
    Posts
    163

    How to install Wifite-mod-pixiewps and reaver-wps-fork-t6x to nethunter

    Many people dont know but a guy found a way to crack wps pins from routers offline , witch means that reaver only connects one time to the AP to get the data that it needs , and then the tool pixiewps breakes the wps pin of that router in offline mode .
    the github of pixiewps can be found in here :
    https://github.com/wiire/pixiewps

    But only the new version of reaver is able to catch that specific data that pixiewps needs to do the crack offline .
    Pixiewps dont work in all routers . (check the github info)
    Anyway , after pixiewps appearance at kali repository , people start to add the pixiewps switches to the common tools for wifi hacking , witch is reaver , and wifite .
    https://github.com/t6x/reaver-wps-fork-t6x
    https://github.com/aanarchyy/wifite-mod-pixiewps

    I will explain you how to add those tools to your nethunter .
    Starting a remote shell to one desktop computer could be usefull , because there is some writing to do . (you can also do it manually on your tablet by tiping everything.)
    to start a remote shell look at this thread : https://forums.kali.org/showthread.p...a-Secure-shell

    this is the code you need to do to install everything :
    mkdir backup
    cd backup
    git clone https://github.com/derv82/wifite.git
    git clone https://github.com/aanarchyy/wifite-mod-pixiewps.git
    git clone https://github.com/t6x/reaver-wps-fork-t6x.git
    git clone https://github.com/wiire/pixiewps.git
    apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
    sudo apt-get install libpcap-dev aircrack-ng sqlite3 libsqlite3-dev libssl-dev -y
    cd pixiewps/src/
    make && make install
    cd /root/backup/reaver-wps-fork-t6x/src/
    ./configure
    make && make install
    cp /root/backup/wifite/wifite.py /usr/bin/wifite
    chmod +x /usr/bin/wifite
    cp /root/backup/wifite-mod-pixiewps/wifite-ng /usr/bin/wifite-ng
    chmod +x /usr/bin/wifite-ng
    After all this instalations , you can run from your terminal "wifite" , and it will be your regular wifite tool , or you can type in terminal "wifite-ng" , and you will use the modded version of wifite to work with pixiewps automatically .



    There will be a directory called Backup on your root folder that contains all these tools you have just installed .

    Working with pixiewps can be found in this youtube link : *REMOVED*
    Last edited by g0tmi1k; 2015-08-12 at 09:53. Reason: Youtube

  2. #2
    Join Date
    2013-Mar
    Posts
    8
    Thanks for posting this, I'll try it tonight.

  3. #3
    Join Date
    2015-Jun
    Location
    Wales
    Posts
    7
    hi
    i have got this running on my laptop, working great, but can it be put onto a Raspberry Pi 2?

  4. #4
    Join Date
    2014-Mar
    Posts
    163
    raspberry uses Arm cpu , so it should work too .
    The instalation is the same way , however it could be interesting installing aircrack-ng , i have no idea if it is installed by default on kali raspberry images .

  5. #5
    Join Date
    2015-Jun
    Location
    Wales
    Posts
    7
    so i burnt a fresh copy of kali-1.1.1-rpi2.img to an MicroSD card, aircrack-ng was there

    KaliPi Clean Install
    Aircrack-ng 1.2 rc1 - (C) 2006-2013 Thomas d'Otreppe
    http://www.aircrack-ng.org


    then did a full apt-get install kali-linux-full which installed all the essential apps for wifite

    KaliPi Full Install
    Aircrack-ng 1.2 rc1 - (C) 2006-2013 Thomas d'Otreppe
    http://www.aircrack-ng.org


    then i followed the above instructions, which installed as planned

    KaliPi Full Install + modifed wifite
    Aircrack-ng 1.2 rc2 - (C) 2006-2014 Thomas d'Otreppe
    http://www.aircrack-ng.org


    so now i have wifite and wifite-ng

    when i use normal wifite, it works as it should, no problem at all, but when i use wifite-ng, i get this

    root@KaliPi2:~# wifite-ng

    .;' `;,
    .;' ,;' `;, `;, WiFite v2 (r112)
    .;' ,;' ,;' `;, `;, `;,
    :: :: : ( ) : :: :: automated wireless auditor
    ':. ':. ':. /_\ ,:' ,:' ,:'
    ':. ':. /___\ ,:' ,:' designed for Linux
    ':. /_____\ ,:'
    / \

    modified by aanarchyy([email protected])
    Credits to wiire,DataHead,soxrok2212,nxxxu,nuroo


    [+] scanning for wireless devices...
    phy0
    [+] enabling monitor mode on phy0... done
    phy0
    [+] enabling monitor mode on phy0... done
    phy0
    [+] enabling monitor mode on phy0... done
    phy0
    [+] enabling monitor mode on phy0... done
    phy0
    [+] enabling monitor mode on phy0... done
    phy0
    [+] enabling monitor mode on phy0... done
    phy0
    [+] enabling monitor mode on phy0... done
    phy0
    [+] enabling monitor mode on phy0... done
    phy0
    [+] enabling monitor mode on phy0... done
    phy0
    [+] enabling monitor mode on phy0... done
    phy0
    [+] enabling monitor mode on phy0... done
    phy0
    [+] enabling monitor mode on phy0... done
    phy0



    so i answer my own question, i can put it on a RaspberryPi 2, but doesn't work

  6. #6
    Join Date
    2014-Mar
    Posts
    163
    what is the chipset of your wifi card ?
    i will test it here with my rtl8187l to see what happens.
    Last edited by pedropt; 2015-07-29 at 21:20.

  7. #7
    Join Date
    2014-Mar
    Posts
    163
    i spend almost 2 hours on this issue , and i notice that it could be not so easy to work with these scripts on raspberry , i have to look more into it , but only on saturday because this may take a while to get into a conclusion .
    if i manage to put this working i will let you know .

  8. #8
    Join Date
    2015-Jun
    Location
    Wales
    Posts
    7
    I use the Alfa at the moment, but all these others i have tried, none of them work with wifite-ng and only the top 3 work with wifite, no additional drivers have been installed

    Alfa AWUSO36NH
    Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter

    DIGITAZZ Wifi Adaptor
    Ralink Technology, Corp. RT5370 Wireless Adapter

    Generic
    Ralink Technology, Corp. RT5370 Wireless Adapter

    TP-Link TL-WN725N
    Realtek Semiconductor Corp. (RTL8188EUS)

    MERCURY MW150US
    Realtek Semiconductor Corp. (RTL8188CUS)

    TP-Link TL-WN725N
    Realtek Semiconductor Corp. (RTL8188CUS)

  9. #9
    Join Date
    2014-Mar
    Posts
    163
    I did not had time this weekend to check this out yet , but next week i start my vacations and i have 1 week dedicated to stuff i have to do here that i was not yet unable to get fix due lack of time or patience .
    During this week i will problaly not have time to deal with that issue on raspberry , but i will tell you what i found so far on that day that i test it .
    ra3017 is not working , lack of drivers , rtl 8187L was not working also , but i was able to put it working as an wifi only .
    Injection is not working on raspberry , i get the same issue as you but on wifite-ng and normal wifite .
    I can start it manually but if i pull up airodump then i get an error .
    So ... this may take a while to figure out what is going on , and i am not absolute sure that it will work .
    I also got an issue installing reaver-fork .
    As soon as i get more news i will let you now .

  10. #10
    Join Date
    2015-Jun
    Location
    Wales
    Posts
    7
    ok, thank you, i will wait patiently

  11. #11
    Join Date
    2015-Aug
    Posts
    1
    try this:
    airmon-ng start wlan1
    wifite-ng
    and it goes automatically to monitor interface you just put up via airmon

  12. #12
    Join Date
    2015-Jun
    Location
    Wales
    Posts
    7
    yeah that works

  13. #13
    Join Date
    2014-Mar
    Posts
    163
    Only now i got time to deal with this question about using pixie wps in raspberry .
    It is possible but i had some work to do :
    Here they are all the steps i took to put it working on this log : Pastebin

    SSH Log

    I used an ssh connection to my raspberry to do the work on this .
    Watch the log .
    Last edited by pedropt; 2015-08-17 at 09:15.

  14. #14
    Join Date
    2015-Aug
    Posts
    1
    Code:
    root@localhost:~/backup#  sudo apt-get install libpcap-dev aircrack-ng sqlite3 libsqlite3-dev libssl-dev -y
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package libpcap-dev
    E: Unable to locate package libsqlite3-dev
    I'm using Kali version 1.10a I think

    It worked when I ran it from LIVE option, but when I actually install (dual boot) it gives me the error above.

    Thanks (sorry if I wasn't detailed enough.)

  15. #15
    Join Date
    2014-Mar
    Posts
    163
    That error you have should be post in another thread .
    Anyway , check your kali sources in /etc/apt/sources.list
    add these repositories to that file :
    ## Regular repositories
    deb http://http.kali.org/kali kali main non-free contrib
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    ## Source repositories
    deb-src http://http.kali.org/kali kali main non-free contrib
    deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
    after editing the file and adding the sources from kali website , do an :
    apt-get clean
    apt-get update && apt-get upgrade -y
    In case you want to update to Kali 2.0 then use only these next lines :
    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free
    deb-src http://http.kali.org/kali sana main non-free contrib
    deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
    Last edited by pedropt; 2015-08-17 at 21:33.

  16. #16
    Join Date
    2015-Aug
    Posts
    1
    To get this working With my pi and rtl 8187

    airmon-ng start wlan0

    ifconfig wlan0mon down
    iwconfig wlan0mon mode monitor
    ifconfig wlan0mon up

  17. #17
    Quote Originally Posted by Scruffyhead View Post
    To get this working With my pi and rtl 8187

    airmon-ng start wlan0

    ifconfig wlan0mon down
    iwconfig wlan0mon mode monitor
    ifconfig wlan0mon up
    try:
    airmon-ng check kill
    airmon-ng start wlan0

    should bring up wlan0mon as needed

    then
    airmon-ng stop wlan0mon
    service network-manager start

    to go back to normal

  18. #18
    Join Date
    2015-Sep
    Posts
    2
    Hello Pedropt,

    when I run into the line in red below, after it downloaded a lot of things from kali then it said that I don't have enough space.

    Could you please tell me how can I solve this? I run Kali v1.1.0 Live from my USB.

    Can I just ignore that line and run the rest?

    mkdir backup
    cd backup
    git clone https://github.com/derv82/wifite.git
    git clone https://github.com/aanarchyy/wifite-mod-pixiewps.git
    git clone https://github.com/t6x/reaver-wps-fork-t6x.git
    git clone https://github.com/wiire/pixiewps.git
    apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
    sudo apt-get install libpcap-dev aircrack-ng sqlite3 libsqlite3-dev libssl-dev -y
    cd pixiewps/src/
    make && make install
    cd /root/backup/reaver-wps-fork-t6x/src/
    ./configure
    make && make install
    cp /root/backup/wifite/wifite.py /usr/bin/wifite
    chmod +x /usr/bin/wifite
    cp /root/backup/wifite-mod-pixiewps/wifite-ng /usr/bin/wifite-ng
    chmod +x /usr/bin/wifite-ng

  19. #19
    Join Date
    2014-Mar
    Posts
    163
    the only way to solve it is to buy a new usb device with more space .
    If it says that there is no more space , then probably is right .

  20. #20
    Join Date
    2014-Mar
    Posts
    163
    Kali uses an image with 3G that when is recorded in SD card goes to 5-6 Gig after first time system start, how much is the size of your SD card ?
    If you have a big SD card (like 8G or more) and you just installed kali , then you probably have to increase your filesystem partition .

    If that is the case then follow this next link :
    http://elinux.org/RPi_Resize_Flash_Partitions

    A tip , do the resize process with your SD card in a card reader connected to other linux computer , or your will have big problems to get the job done , if you have lucky .
    Use Gparted in the linux machine where you will do the operation to SD card .


    Note :
    Old kali repositories are not avaliable anymore , so it will give a 404 error .
    If you still want to stick in 1.1.0a version you have to change in your sources.list the links .
    to do that follow these steps :

    on terminal :
    nano /etc/apt/sources.list
    delete every repository you may have related to kali , and write this one :
    deb http://old.kali.org/kali moto main non-free contrib
    press keys "ctrl + o" to save , then press "enter" , and then press "ctrl + x" to close .
    then you can do "apt-get update && apt-get upgrade -y"

    Note : To release space from your USB pen write this on console :
    apt-get clean
    and you will release +- 1G of space temporarily to finish the installation , however , if you have a small capacity card , then you should buy a new card with more space (depending on your use in kali .
    Last edited by pedropt; 2015-12-03 at 23:19.

  21. #21
    Join Date
    2016-Jan
    Location
    Montreal, CA
    Posts
    12
    mkdir backup
    cd backup
    git clone https://github.com/derv82/wifite.git
    git clone https://github.com/aanarchyy/wifite-mod-pixiewps.git
    git clone https://github.com/t6x/reaver-wps-fork-t6x.git
    git clone https://github.com/wiire/pixiewps.git
    apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
    sudo apt-get install libpcap-dev aircrack-ng sqlite3 libsqlite3-dev libssl-dev -y
    cd pixiewps/src/
    make && make install
    cd /root/backup/reaver-wps-fork-t6x/src/
    ./configure
    make && make install
    cp /root/backup/wifite/wifite.py /usr/bin/wifite
    chmod +x /usr/bin/wifite
    cp /root/backup/wifite-mod-pixiewps/wifite-ng /usr/bin/wifite-ng
    chmod +x /usr/bin/wifite-ng
    my issue is when i tried running the commands in red, it fails on the ./configure with:
    "checking for pcap_open_live in -lpcap... no
    error: pcap library not found!"

    make && make install fail after
    make: *** No targets specified and no makefile found. Stop.

    any ideas? tried to get the pcap, wasn't sure where from.

  22. Quote Originally Posted by orangeworx View Post
    my issue is when i tried running the commands in red, it fails on the ./configure with:
    "checking for pcap_open_live in -lpcap... no
    error: pcap library not found!"

    make && make install fail after
    make: *** No targets specified and no makefile found. Stop.

    any ideas? tried to get the pcap, wasn't sure where from.
    Lol? you don't need to follow this guide because pixiewps is already in wifite simply run wifite --pixiewps or at least run wifite -h for options and you will see the command in there you might have messed up your nethunter by trying to do what you did so.... don't be to surprised if wifite doesn't work correctly.

    You only follow this guide if you're using like the old nethunter if you're on nethunter 3 its already install within wifite

  23. #23
    Join Date
    2016-Jan
    Location
    Montreal, CA
    Posts
    12
    Quote Originally Posted by localhost View Post
    Lol? you don't need to follow this guide because pixiewps is already in wifite simply run wifite --pixiewps or at least run wifite -h for options and you will see the command in there you might have messed up your nethunter by trying to do what you did so.... don't be to surprised if wifite doesn't work correctly.

    You only follow this guide if you're using like the old nethunter if you're on nethunter 3 its already install within wifite
    Lol indeed, I had run wifite already without doing much and realized after i'd done this that I broke something, wifite-ng runs but doesn't do much and wifite doesn't period, complains about MAC changes (old mac before assignment or something similar)

    Clean install?

  24. Quote Originally Posted by orangeworx View Post
    Clean install?
    Unless you have nothing better to do all day other than trying to repair it a clean install would save you a lot of time.
    Sorry that wasted your time by trying this things change and stuff gets added and sometimes old guides lead people to stuff like this this is pretty common on a lot of the videos I release people try to follow them and because stuff changes it tends to cause people hassles.

    This is another reason I wanted to build my own distro :B

  25. #25
    Join Date
    2014-Mar
    Posts
    163
    Quote Originally Posted by localhost View Post
    Lol? you don't need to follow this guide because pixiewps is already in wifite simply run wifite --pixiewps or at least run wifite -h for options and you will see the command in there you might have messed up your nethunter by trying to do what you did so.... don't be to surprised if wifite doesn't work correctly.

    You only follow this guide if you're using like the old nethunter if you're on nethunter 3 its already install within wifite
    At the time this guide was written , pixiewps was just released and was not yet in kali repo , you had to to it manually .
    Right now , pixiewps is installed automatically in apt-get update , the wifite and wifite-ng option in this guide is because some people like me , sometimes don't need pixiewps to crack down an AP , and normal wifite tool is more faster that wifite-ng .

    To be honest , i prefer do to it manually using reaver or bully where i can implement some important switches in the attack , and if i use the wifite script some errors could appear .
    For an example : if the Access point does not accept reaver association then wifite will fail on that AP , while if you do it manually you can always run in another terminal aireplay to do that job .

    Wifite is simple for those who are starting in this area , or for those who want to check their own AP security flaws in the easiest way .
    Anyway ....
    Next time check the date of first post .

  26. #26
    Join Date
    2014-Mar
    Posts
    163
    to orangeworx : apt-get install make gcc libpcap-dev
    Last edited by pedropt; 2016-02-09 at 16:44.

  27. #27
    ok , Thanks for posting

Similar Threads

  1. Wifite including new pixiewps attack
    By aanarchyy in forum Project Archive
    Replies: 122
    Last Post: 2016-12-19, 22:41
  2. Replies: 1
    Last Post: 2015-09-08, 11:33
  3. PixieWPS - Reaver - Aireplay
    By pixiewpsfailure in forum General Archive
    Replies: 4
    Last Post: 2015-06-02, 11:38
  4. Wifite including new pixiewps attack
    By aanarchyy in forum General Archive
    Replies: 75
    Last Post: 2015-05-04, 23:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •