Showing posts with label Reaver. Show all posts
Showing posts with label Reaver. Show all posts

Thursday, 8 October 2015

[Reaver][Hack][Help] Reaver For Android Wifi Hack working but last stage error



Well, i struggled for half a day relentlessly and finally got Reaver Working on my Xiaomi Mi4 android phone with a big help from the below mentioned link :D :D , everything is going good and fine, i got the Reaver app working on my Rooted app without bcmon and it worked and i'm ready to hack the network but just as i bypassed "Test Monitor" successfully(by loading a few scripts and debugging) and hit "Start Attack" this thing showed up, below i've written down the issue as it appeared since i'm not allowed to post screenshots & Links untill i make 10 posts(i'm a new user) and the scripts that i used to bypass Test Monitor are attached below, i'm basically a noob but good at technical things, the guide mentioned in the below link isn't as easy as it is told there, there are a few more steps that aren't added in the guide!!

HELP URGENTLY!!!! :( I waisted a whole day trying to get it working, i'd be so grateful :laugh: if you could help me out with it! PLEASE!! :crying:


Here are those scripts i loaded and put the phone on debug mode

Custom activation script:
#!/bin/bash
svc wifi disable
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools
./enable_bcmon
echo “rfasuccess”
exit


Custom Warm-up Script
#!/bin/bash
LD_LIBRARY_PATH=/data/data/com.bcmon.bcmon/files/libs
LD_PRELOAD=/data/data/com.bcmon.bcmon/files/libs/libfake_driver.so sh
cd /data/data/com.bcmon.bcmon/files/tools


Custom stop Script:
#!/bin/bash
svc wifi enable
echo “rfasuccess”







1. this happened first but i continued anyway.
Stdout:
"rfa success"


StdErr:
Control the Wifi manager
usage: svc wifi [enable[disable] Turn wifi on or off.

svc wifi prefer
set Wifi as the preferred data network

.//srart.shl[4]: sh :not found
.//start.sh[5]: cd: /data/data/com.bcmon.bcmon/files/tools : No Such File or Directory
./start.sh[6]: ./enable_bcmon : not found


2. and then this happened in the processing window
sh: <stdin>[3]: sh: not found
CANNOT LINK EXECUTABLE: could not load library "libcap.so.1" needed by "./reaver"; caused by library "libcap.so.1" not found


3. and finally when i hit stop, this message showed up
Stdout:
?rfasuccess?


StdErr:
Control the Wi-fi manager
usage: svc wifi[enable[disable]
Turn Wi-Fi on or off

svc wifi prefer
Set Wi-Fi as the preferred data network








These are the Steps i followed to get the monitoring mode done.
1.Download bcmon- (link)
2.Save the app on your sdcard but don’t install it.
3.download Reaver apk(RFA) and install it.- (link)
4.Download root explorer by speed speed software and install it.- (link)
6.Install and open bcmon app
keep it open for 5s and then press home.
(This will surely create a com.bcmon.bcmon folder in/Data/data)
7.Open root explorer and browse to the bcmon apk.
8.Select it and press view.
9.Open assets.
10.Copy all the files to /Data/data/com.bcmon.bcmon/files.
#If any file or folder of the same name is found then delete it#

/Now you’ll have to add custom scripts that I have given below(just copy them in a note editor and save with a .sh extension)
Start script-

Start script- mentioned above in custom start script


Warm script- mentioned above in custom warm up script


Stop script- mentioned above in custom stop script


#Now open root explorer
Browse to com.bcmon.bcmon/files/tools/reaver
Long press on it and press permissions and then check the execute boxes(all 3).now click OK.
Now in tools long press enable_bcmon and give it execute rights (all 3).now click OK .

#All set….now open reaver and scan for networks press on one with green color and with a good range.
Go to settings and monitor mode setting and unchek the use bcmon and load all the scripts properly.
#while loading scripts start.sh is the activation script,warm.sh is the warm up script and stop.sh is the stop script. #
Now scroll down and check the debugging mode.

#Go back to the attack screen and press test monitor mode.
Rfasuccess comes then press OK and press start attack.

#All done,now wait until it finds the routers key for you.

#This worked on my I ball slide 6318i,Alcatel ot 918n and redmi note.