PDA

View Full Version : Wifite on Nexus 5 fails at setting monitor mode



RChadwick
2019-03-09, 07:51
I just installed NethunterOS, and Wifite fails at the monitor mode stage. If I set monitor mode first with start monstart-nh, wifite immediately fails with:

Looking for wireless interfaces...
error too many values to unpack
And then a few trace lines indicating a possible monitor mode issue.

If I run wifite with monitor mode off, and then select wlan0, it fails like this:

Select wireless interface (1-2):2
enabling monitor mode on wlan0... failed
failed

Error: Cannot find any interfaces in Mode:Monitor

Any ideas what this could be?
Thanks!

bigbiz
2019-03-12, 01:55
You need a external wifi adapter because the internal one doesnt support moniter mode

RChadwick
2019-03-12, 03:44
My impression was the internal Wifi on the Nexus 5 was supported, with Nexmon.

bigbiz
2019-03-12, 17:06
?? Is that part of nethunter or do u need to install it?

RChadwick
2019-03-13, 03:02
I believe it's included in Nethunter.

mstrmnn
2019-03-13, 11:52
Yes, netmon is included.


If I set monitor mode first with start monstart-nh, wifite immediately fails

On my Nexus 5 with Nethunter (Kali 2017.1 aka 3.4.0; Android 7.1 - Lineage OS) this does the job:



source monstart.nh
wifite -i wlan0

The commands have to be in the same terminal window.

Bytheway: Unhappily Kismet is not working with netmon.

RChadwick
2019-03-13, 16:18
Thanks for the response!
When I use your commands in the same window, I get the same 'Too many values to unpack' error. I've installed Nethunter 10 different times in 5 different way on this phone. Currently I'm on LineageOS with Android 7.1. I'm sure I installed it wrong. Do you know the steps you took to install Nethunter?
Thanks!

mstrmnn
2019-03-14, 09:59
Do you know the steps you took to install Nethunter?

Sorry, I'm afraid I can't help. As far as I remember I followed Binkybear (https://forums.kali.org/member.php?26312-binkybear)'s instructions: https://gist.github.com/binkybear/8f0f4eee292d5263372f47c3c3edd08e

RChadwick
2019-03-14, 15:40
Thanks. I'm using the same. I'm suspecting it's a wifite issue.

bigbiz
2019-03-16, 01:54
Tell me if im doing something wrong with my commands on my nethunter device running android 6.0.0 marshmallow with the image from the official nethunter download page of offensive security build # 3.0

root@kali:~# uname -a
Linux kali 3.4.0-gb7558f2 #2 SMP PREEMPT Wed Oct 7 02:16:12 UTC 2015 armv7l GNU/Linux


root@kali:~# source monstart.nh
-bash: monstart.nh: No such file or directory
root@kali:~# wifite -i wlan0

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

[+] set interface :wlan0

[!] the program cowpatty is not required, but is recommended
[+] scanning for wireless devices...
[!] could not find wireless interface "wlan0" in monitor mode [+] enabling monitor mode on wlan0... done [+] available wireless devices:
1. phy0 p2p0 ?????? Broadcom 4335/4339
2. phy0 wlan0 ?????? Broadcom 4335/4339
[+] select number of device to put into monitor mode (1-2): 2
[+] enabling monitor mode on phy0... done
[+] available wireless devices:
1. phy0 p2p0 ?????? Broadcom 4335/4339
2. phy0 wlan0 ?????? Broadcom 4335/4339
[+] select number of device to put into monitor mode (1-2): 2
[+] enabling monitor mode on phy0... done
[+] available wireless devices:
1. phy0 p2p0 ?????? Broadcom 4335/4339
2. phy0 wlan0 ?????? Broadcom 4335/4339
[+] select number of device to put into monitor mode (1-2): 1
[+] enabling monitor mode on phy0... done
[+] available wireless devices:
1. phy0 p2p0 ?????? Broadcom 4335/4339
2. phy0 wlan0 ?????? Broadcom 4335/4339
[+] select number of device to put into monitor mode (1-2): 2
[+] enabling monitor mode on phy0... done
[+] available wireless devices:
1. phy0 p2p0 ?????? Broadcom 4335/4339
2. phy0 wlan0 ?????? Broadcom 4335/4339

Endlessly asking me what interface to select.
Even if i select 1 or 2.

mstrmnn
2019-03-16, 06:06
-bash: monstart.nh: No such file or directory

Obviously nexmon is not working correctly or even installed. Are you talking about Nexus 5 and using a binkybear-build with nexmon?

RChadwick
2019-03-16, 06:32
As an update, monitor mode is working fine for me, and I'm using Besside. It is the latest Wifite that has an issue. This is of course with blinkybear.

mstrmnn
2019-03-16, 08:44
It is the latest Wifite that has an issue.

Wifite v2 (r87) is working fine on my nethunter nexus 5.