yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) General] droidshadow:
Are you saying that with OmniRoms latest nightly and bruce2728's latest rom that when you are using your external usb wifi device (tp-link) that it kills your wifi internet? Is this happening to you on Kali Pwn Pad or on the Pwn Pad CE 2013 rom?

If this is happening to you on kali pwn pad that is an unusual error...I have never seen thst before or have I ever heard anyone with that issue.

Oh if you are on Kali Pwn Pad try out Binkys latest kernel...with the added bluetooth support. In fact this kernel works with Ubertooth-one! The latest kernel is a much newer version of elementalx.

Keep me posted please...

-droidshadow
[Nexus 7 (2013) General] krymzy:
yes it kills the nexus internal wifi, if i toggle android wifi i toggle my tp-link (soo the android swich replaces internal wifi with the usb, just mixes em up it seems), in that state i can use monitor mode (with external wifi) etc but i cant connect to wifis i allready know a password for :D (with the internal wifi)

with the CE rom its ok, but id rather deploy in 4.2.2 since it works with earlyer nightlys(omni, bruce)

it used to be ok with omni roms earlyer nightlys, same for bruce-s CM i guess, but since it behaves just alike with stock i guess if you'd fix aosp it would fix em all (just my "gut feeling" they both are just implenting more from "stock google rom" wich behaves just like that)

so i am thinking if that gets done it will work with pretty much everything latest.. eventho 4.2.3 is supposedly coming soon and i guess staying up to date like that is not the goal.. would be nice still :) (as far as this is is the same issue like it feels like)

i was using/am talking about the kernel with bluetooth support - http://d-h.st/wki
[Nexus 7 (2013) General] droidshadow:
Okay I am still a bit confused...

So let's get this 100% straight...

When you use your usb wifi device and scan in monitor mode with a program like wifite it kills your internet wifi connection from your internal wifi (stock tablet wifi) ?

Did I understand that right?

You see I am on a somewhat recent OmniRoms nightly running on 4.4.2 and I dont have this problem...I even tested it out again last night.

I would recommend try another nightly...it could be something in the nightly affecting you or try a stable version of OmniRom.

-droidshadow
[Nexus 7 (2013) General] krymzy:
yes, you got my wifi issue right

and yes i rolled back 1 omni release, and its working fine. my issue was never getting it to work(with older builds)

this was ment more as a bug report that it dosent seem to work with the LATEST omni and bruce rom nightlys, they both behave just like stock google rom(internal wifi gets mixed up) with this kernel... soo i figure they both are implenting more from googles nexus/aosp in their roms..

:)
[Nexus 7 (2013) General] droidshadow:
So I am glad that you decided to "roll back" to another version of OmniRom and now it is working for you. What version Android were you running when you had the wifi problem with the latest OmniRom nightly?...

I will bring this to the developers attention when he gets back...

-droidshadow
[Nexus 7 (2013) General] krymzy:
Llatest omni was/is still 4.4.2(bruce too), just seems to control the wifi toggle a bit different (acts just like nexus 7 google stock rom with that virtual machine-elementalx kernel soo i guess the change comes from aosp)

the system wifi toggle (half) reads the external usb wifi as internal wifi and trys to control it

and again thanks for your work!
[Nexus 7 (2013) General] nathan30:
Hi,

In your Amazon link : http://www.amazon.com/Micro-Cable-Power-Nexus-Galaxy/dp/B00CXAC1ZW?tag=5336432715-20

We need to take with USB POWER or MICRO POWER ?

Thanks in advance
[Nexus 7 (2013) General] droidshadow:
that will work but not what i would recommend....

Yes while that otg y-cable could work i would recommend a y-split cable that has a micro usb and a regular male usb so that it can be plugged into a mobile device such as a powerbank. Most powerbanks are setup for a regular size male usb.

Hope it helps...

-droidshadow
[Nexus 7 (2013) General] nathan30:
I dont understand what I need to take..

Other problem, I install Kali on CM11 and when I launch Wifite and choose wlan0 (stock wifi I think), my N7 2013 reboot ?

With p2p0 the tablet doesn't reboot but nothing happened

It's because the wifi chipset is not compatible ?
[Nexus 7 (2013) General] droidshadow:
wlan0 = your internal wifi card, this card cannot be used with wifite, aircrack-ng, or kismet because it can not be put into monitor mode or be used for packet injection.

You need to use a usb wifi adapter such as the TP-LINK WN722N. When you connect that usb wifi adapter to your nexus 7 with a y-split otg cable and you can your nexus 7 connected to your TP-LINK + powerbank you will see wlan1 and that is the wireless interface that you want to use.

If you don't want to use a powerbank then re-flash Binky's kernel and in the Aroma Install Script where it asks if you want "otg + usb host charge" choose no and then you can use your TP-LINK WN722N usb wifi adatper with just a simple OTG cable.

Hope that helps clear things up a bit...

-droidshadow
[Nexus 7 (2013) General] nathan30:
I understand, thanks a lot for your answer :)

Just a last question, where is the folder opt ?.
[Nexus 7 (2013) General] nahci13:
Hello

First i really thank droidshadow about complete tutorial! :good:

I have problem too with wifi card!

I complate installing Kali PwnPad on Nexus 7 2013 lte - deb every thing is ok, but when i connect TL-WN722N with powerbank with 2A and with Y-OTG on my tablet, i can see " Bus 2 Device 002: ID 0cf3:9271 Atheros Comunication, Inc. AR9271 802.11n" in lsusb command in usb device, but in airmon-ng or iwconfig or ifconfig commands nothing!? :confused:

I try to Start VNC server in Kali PWN Config or Kill all VNC instance and reStart VNC server, not work! :(

I searched for example in forum PWN Pad in zetaboards.com but not find any solution!

Can you help me?:confused:
[Nexus 7 (2013) General] droidshadow:
Try switching things around with your otg cable and PowerBook and see if that helps.

Also wait until your Nexus 7 has fully booted then plug in your tp-link.

See if that helps..

-droidshadow
[Nexus 7 (2013) General] nathan30:
And for my last question please ?..
[Nexus 7 (2013) General] droidshadow:
Can you paste a copy of the error
[Nexus 7 (2013) General] nathan30:
Its not an error, I just want to know where is the opt folder, but finally i find: )
[Nexus 7 (2013) General] NEEDHELPFOREXTERNALWIFI:
Can someone help me to switch from xfce to gnome?

How can I switch to gnome after installing Gnome?:confused:
[Nexus 7 (2013) General] NEEDHELPFOREXTERNALWIFI:
Now it works no answear needed.

But here`s my next question:

some tools like: maltego or hydra are missing how can I add them in one step?
[Nexus 7 (2013) General] nathan30:
For HYDRA --> apt-get install hydra in terminal emulator (to download it on the main folder of the script, launch Kali config, then CTRL+C (anysoftkeyboard with SSH can do that) and write apt-get install hydra)

For maltego --> do the same

Edit : I try maltego and its don't work
[Nexus 7 (2013) General] R34LGh05t:
I don't know if everyone just didn't see or is choosing to ignore my post.. But I am still trying to figure out how this was installed onto a 2013 Nexus 7 LTE DEB???? I've read a few ppl say they did it but no one seems to be able to answer how or what files were used?? Please, like I said in a previous post I had gotten it installed all the way and then I received the infinite loop of "unfortunately the process com.android.phone has stopped".... Please someone help and at least just tell me what exact files and/or settings were used on whichever kernel or whatever to get a clean install?? Thank you in advance.

Nexus 7 2013 LTE 32GB Rooted
[Nexus 7 (2013) General] nathan30:
I dont know if the kernel Elemental X is okay with DEB. But personnaly with the tuto I have Force Close

So I do a things more easy :

Wipe factory/reset, system, cache & dalvik

Install CM 11 special Kali

Install kernel with options in tuto (if you use usb keys, and wifi adapater without powerbank, dont check USB OTG CHARGE)

wipe cache & dalvik

reboot, check super su and the good functionnement of the ROM

reboot recovery

wipe cache & dalvik

flash kali

wipe cache & dalvik

reboot

I dont use multi ROM

Hope I can help you
[Nexus 7 (2013) General] R34LGh05t:
Alright thank you so much on just that little bit of advice I will try it right now... I noticed you didn't say anything about flashing the kernel? And also what is cm 11 special Kali?

Nexus 7 2013 LTE 32GB Rooted
[Nexus 7 (2013) General] nathan30:
What is you question about the kernel ?

For CM 11 "special Kali", see the tuto for more explications
[Nexus 7 (2013) General] Papa Emeritus:
Hey Droidshadow, will any adapter with the same Atheros chipset as the TP LINK work?
[Nexus 7 (2013) General] nathan30:
I search and I found the TL-WN822N
[Nexus 7 (2013) General] droidshadow:
Yup...

Yes any usb wifi adapter with the same Atheros Chipset should work just fine. There is an ALFA AWUS036NHA that uses the same Atheros Chipset -> AR951 as the TP-LINK WN722N and it works great with Kali PwnPad.

So you should be just fine...

-droidshadow
[Nexus 7 (2013) General] droidshadow:
don't give up...

Hello RealGhost,

I am really sorry that you are having so much trouble with Kali PwnPad and trust me I do understand your frustration. I think the problem you are having is most likely associated with the ROM that you are using.

Kali PwnPad does in fact work with the Nexus 7 2013 DEB tablet. I have gotten it to work on my DEB tablet and so has BeNe (one of the first testers) and so have many others...

Here is what I would do if I was you...

I would delete the entire you ROM that you tried to install Kali PwnPad on. Then what I would do is download OmniROM for the Nexus 7 DEB. After you install OmniROM for your DEB tablet make sure you flash the SuperSU zip file to make sure you are using that SU binary.

Next flash Binky's latest kernel, if you seem to have any troubles with that kernel you can always go back to Binky's kernel that is based off of ElementalX v2.2. Binky's latest kernel is based on ElementalX v2.6

After you flash Binky's kernel try booting up into the ROM to make sure everything is still working properly. Oh...when you are configuring your kernel in the Aroma Install script make sure to use the default options that I outlined in the tutorial.

If all goes well after you flash the kernel then boot into MultiROM and flash the Kali PwnPad zip file. If for any reasons you are having trouble with the latest Kali PwnPad version try going back to version 0.5-1 instead of using version 0.5-2. That actually may be your problem there...

So now you have some things to try... I know you can get it working but sometimes these things take time and a lot of trial and error to see what works best for you.

As far as a tutorial for installing Kali PwnPad on the DEB tablet as compared to the FLO (wifi only) tablet there is not much of a difference. The only real difference is that you will be using a different ROM that is built for DEB as opposed to one that is built for FLO. Really that's it...

Kali PwnPad works for both FLO and DEB and so does the Binky's Kernel...

So the only difference is picking a different ROM. I would again suggest that you use OmniROM. It is a great stable ROM and I have had great success with it. If you want a ROM that is based on CyanogenMod then i would suggest using Bruce2728's custom ROM that is based off of CyanogenMod. You can find a link to Bruce2728's XDA thread in my tutorial.

Now that I remember I actually had problems myself with CyanogenMod 11 and Binky's kernel + Kali PwnPad which probably explains why you are having such a hard time.

I hope this helps you brother....and good luck!

Let me know if you need any other assistance.

-droidshadow
[Nexus 7 (2013) General] R34LGh05t:
Thank you so much droidshadow.. I haven't tried to install it yet. But I'm am about to get on it. Thank you so much for detailed directions for my situation.. I will report back in like 30 minutes to a hour..
[Nexus 7 (2013) General] Pedro Moreira:
First, i would like to thank everyone involved in making this tutorial as easy as possible.

I've installed everything accord to whats is described, and get exactly what is suposed to. Now i have kali running on my nexus 7 2013 flo 32gb with wn722n. Now the start the questions:

Ifconfig show all the interfaces (wlan0, wlan1 atheros etc). When i start wifite, it asks to select the interface for monitor mode. As said, i choose wlan1, wich then is turned mon0. It start to show the ap's around, exactly like the picture below:

Well, can't post links for while. Its the screen where is shown the ap's on range. Below. How many targets and clients.

It show how many targets and clients, along with db, wps locked or no (none of them locked, in my setup), and thats it. Nothing happens, no imput command is possible, no more information is shown for hours. Is this how its suposed to be? Could the cause be a low db? ~40-50 on show. Never used this kind of tool before.

After some research, i've tried aireplay-ng -9. Didn't find any ap, on the same location i found those ap's before. Tried kismet, and again no ap found. Turned airmon-ng on wlan1 (mon0) and repeated everything just to get the same results. Tried reaver and it always give the same thing: something to do with time out (0x02, sometimes 0x03) with pin 12345670 repeating over and over, for hours.

Again, i never used this type of tool before. Dont know how it suppose to work. But there's something wrong, anyone could say that. Should i be closer to the ap? Like 3 mts? Cause before the password changed, i could get signal from where i stand, using for everything, like youtube and stuff. It even shows on my s4 the signal strength, and it is medium.

Any help is appreciated, thanks.
[Nexus 7 (2013) General] R34LGh05t:
YES!!!

Alright, first off I hope I don't get in too much trouble for this but **** YEAH! Thank you so much droidshadow. I really want to thank you for you personally detailing and writing that summary for my situation.. I am now going to fall back into the ghost mode I usually stay in... THANK YOU... Soon I will PM with some numbers to get you a drink or something... won't be today.. but soon... THANK YOU AGAIN.. time for me to learn some stuff..
[Nexus 7 (2013) General] Ricowolf:
Hi droidshadow,

first of all thank you for this guide, it's simply fantastic:)

So here is my problem.

I have nexus 7 2013 only wifi, I followed all the steps of the guide and it seems to works perfectly but the tablet doesn't read the tp-link wireless adapter and all the usb pendrive as well. I tried to use the command ifconfig, iwconfig and lsusb to verify that the wifi adapter was connected but nothing. I use the Y-otg cable and all the tips that you showed in this thread but nothing.

you have any ideas to help and solve the problem?

Thank you.
[Nexus 7 (2013) General] Pedro Moreira:
Feeling really stupid right now. Even wps failed. After learning about hacker's keyboard (ctrl key etc), finally did make wifite "work". Ap on range 45-50 dbs, took about 11hs to archieve 91%, 6832/6992 succese/ttl.

Startin wps handshake

New client found: another mac adress that is diferent from the ap i want

Unable to capture handshake in time (1sec)

Did i say how stupid im feeling right now? Bought all these stuff just to see it works like everybody is telling it do
[Nexus 7 (2013) General] ThrIsNoSpork:
I haven't seen anyone mention the pwnpad 0.5-2 update yet so I figured I would chime in. I downloaded that one because it was significantly smaller than the last two updates and I only have a 16 gig FLO so I wanted to save as much space as possible. Long story short, it works fine using the original Bruce ROM posted in the OP along with the 2.2 kernel. I'm going to flash the 2.6 kernel in a few mins to test and if all goes well I'll probably Install the latest unofficial OmniROM with multiwindow later this week with the 2.6 kernel and pwnpad 0.5-2 and report back.

Thanks a TON for making this tutorial OP! I'm having so much fun just messing around with all the cool apps :D
[Nexus 7 (2013) General] droidshadow:
working?...

So did you finally get it working?...

Let me know how it all worked out for you...

-droidshadow
[Nexus 7 (2013) General] droidshadow:
First are you sure you flashed Binky's Kernel?... You would be surprised how many people say that their usb wifi isn't working but they forgot to flash binky's kernel =)

Are you having the usb wifi device plugged in when you start up your tablet?...

What I would recommend you do is restart your tablet, let it fully boot up. Then plug in your otg y-cable and then connect your TP-LINK. Make sure you are plugged into power? Your y-cable needs to be plugged into a powerbank or into some kind of charger that will take the regular size male usb end. Then open up an app like root-shell or config kali to get into the Kali Linux Chroot environment and run the command "iwconfig".

You should see some input about wlan1 -> this is the wireless interface you need.

Also which of Binky's kernels did you flash version 2.2 or 2.6 (the latest)?...

First try rebooting and plugging in your y-cable and tp-link. If that does not help then get back to me and i will try and help.

-droidshadow
[Nexus 7 (2013) General] COD3CYPH3R:
I dont know what you mean by weird graphics in VNC and you said you only have it 90% working. By the sounds of that its not working, VNC is not weird it just shows the kali linux desktop. I have installed Kali Pwn Pad on both nexus 7 2012 and 2013 using cyanogenmod 11 and the V 2.6 Kernal and Kali Pwn Pad V 5.2 and it works flawlessly on every device i have installed it on. Also may i ask what you actually study? I study Cyber Security science degree at ECU university in Australia. The way you said how kali pwn pad works and how its different to linux deploy is quite wrong in fact the complete opposite to what you said. It does in fact load kali in the background in chroot the same as linux deploy does if you had used linux deploy you would know its exactly the same in that sense. The difference is that kali pwn pad just makes the whole setup of the chroot kali and the android front end work together by adding shortcuts for linux scripts into android and setting up SSH to log into the chroot kali OS. If you study cyber security type degree you should understand Linux and android(Linux also) and how this all works, I learn about PC's, tablets, smart phones and how to hack everything and anything in between. I basically live in the linux command line.
[Nexus 7 (2013) General] nathan30:
Hi,

I juste read this for said I test Wifite with my USB WIFI keys Netgear WG111V3 and it's work fine !

I donc flash the kernel with USB OTG CHARGES and I plug the USB WIFI KEYS with a simply OTG-USB wire like this
[Nexus 7 (2013) General] Papa Emeritus:
This is a table of linux supported chipsets.

https://wikidevi.com/wiki/Wireless_adapters/Chipset_table
[Nexus 7 (2013) General] Ricowolf:
Hey droidshadow, hi everyone,

Finally I solved my problem uninstalling "pcap capture" app that conflicted with the wifi tp-link adapter.

Now I have another problem...when I unplug the wifi adapter the tablet reboot..have you ever seen something like this?

I hope someome can help me:)
[Nexus 7 (2013) General] droidshadow:
Ya those things just happen sometimes. Some Rom's are just better with Kali Pwn Pad than others...

For example with Cyanogenmod sometimes I get random forced reboots and with Omnirom I once in a great while get random reboots...but not often.

What you can try is disabling the Alan1 interface before you unplug your tp-link.

In a terminal do "airmon-ng stop mon0" if you are using aircrack-ng.

If not then just do: "ifconfig wlan1 down".

See if that helps any....

-droidshadow
[Nexus 7 (2013) General] Ricowolf:
Yeahhhhh

I type ifconfig wlan 1 down and then I unplugged wifi adapter and the tablet didn`t reboot.

Thank you very much drodishadow for youe help, now I`ll try to learn how to use all the app provided with pwn kali linux
[Nexus 7 (2013) General] droidshadow:
I am glad you got it working....

Droidshadow
[Nexus 7 (2013) General] nathan30:
Hi,

I jut bought the TP LINK WN722N, I try to test my wifi (very easy password in WPA2) but I can't intercept handshake or hack WPS, is it normal ?

I try with other box in WPA or WEP, nothing happen..
[Nexus 7 (2013) General] droidshadow:
that is not normal...

No that is not normal...

I can verify that with my TP-LINK or ALFA AWUSH036H or ALFA AWUSH036NHA that I have cracked both WEP keys and WPA/2 keys with Kali PwnPad.

Sometimes though if you are not close enough to a wifi access point it can be hard to inject packets into that access point. Here is what i suggest you do...

Log into your home router and change your wifi from WPA2 to WEP. We need to change this just for testing purposes because WEP is much easier to crack and its best to test on your home router because your router access point is close to you and it is legal because it is your router.

After you change your router to WEP start up Kali PwnPad and try using Wifite to crack your own router. You should be able to crack your router within minutes. After that works you can try changing your router back to WPA2 and testing it again against kali pwn pad.

-droidshadow
[Nexus 7 (2013) General] nathan30:
Okay I do that, thanks a lot
[Nexus 7 (2013) General] nexus7.idefense:
I've managed to get the binkey CM rom in multiboot en get the correct kernel installed.

After installing Update-kalipwn-v0.5-2.zip, which ends with the error coud not extract "Ramdisk uses GZIP compression\n Failed to extract ramdisk!" I reboot and ~ 40 apps are updates (as expected).

However when I start "config kali" I just get presented a root prompt.

Also deinstallation and reinstallation of the terminal doesn't make any difference.

Tried the whole procedure also with 0.5.1, same result.

I'd expect the config to start automatically or is there a command to be executed?
[Nexus 7 (2013) General] droidshadow:
easy fix...

This is a very easy fix...

Okay well first there is nothing wrong with Kali PwnPad. This small issue happens from time to time. What you need to do is run the "Config Kali" app. When you run the config kali app it should load up a menu of options. If you don't see a menu of options then the app didn't load properly but you are still in a chroot linux environment!

So in order to fix this you need to manually run the config kali shell script. You see these custom apps that run these "native linux programs" like wifite or metasploit, they are simply just shell scripts that when ran they tell android to go into a chroot linux environment and to run a given program.

Okay so back to fixing the problem...

if the menu of options does not show up, do this command "ls -alt". You should see a bunch of files appear, look for the one that says

"configkalipwn.sh" or something very similar to that.

. When you find that exact file you need to run it and you can do that by entering this command "./configkalipwn.sh". Notice the ./ in front of the shell script.

When you run that shell script it will manually load up the menu of options that you should have seen when you first ran the config kali app. Now that you have that menu running, select the option that says "generate new ssh keys". When you generate new ssh keys the most important thing to do is to NOT enter a password. Just use all of the default options and when it asks you for a password, just hit enter for a blank password. This allows you to enter directly into a chroot linux environment.

After you generate new ssh keys all programs should be running just fine...

So just close the config kali app and try running it again and you should have the menu come right up. If it doesn't then try generating new ssh keys again and try rebooting and you should be just fine.

I hope this has been helpful!

-droidshadow