yashsingh1/xdaforums huggingface dataset:
[Nexus 7 (2013) General] pogo123:
el-kitkatkaliflo2.2.zip download.. ?

Hi excellent job in the guide, where I could find the file el-kitkatkaliflo2.2.zip in order to download the same. Thanks.
[Nexus 7 (2013) General] droidshadow:
There is a link on page 1 of the tutorial

-droidshadow
[Nexus 7 (2013) General] nexus7.idefense:
I'm familair with linux.

In the prompt's Im given by the "config kali" icon I ran

find / | grep configkalipwn

It comes up with several locations.

all in /data and /realdata

the one most likely (and shortest) to be the right one seems /data/local/opt/pwnpad/scripts/configkali.sh

All together I'm affraid the chroot didn't come up when the script was launced. Can anyone tell me where to fing the "config kali" script on the host android so I can step trough the commands with more verbosity?

thanks,

=========

found that

chroot /data/local/kali

likely puts me in the correct chroot

and

/usr/bin/configkalipwn

is de script that shows the menu, however running that in the chroot gives an error 'read -p no coprocess'

when I go to the nonfunctional terminal there are no previous commands in the root prompt, typing exit brings me to the userprompt. only SU was executed there.

It seems my kali scripts in the android env (that should kick a chroot and run I assume) aren't functioning.

(I did reinstall Android Terminal Emulator as manual adviced)

-- edit --

under the chroot i found /opt/pwnpad/scripts/configurekalipwn.sh which doesn't run properly.

Likely because /usr/bin /usr/sbin aren't in PATH
[Nexus 7 (2013) General] pogo123:
ohhh I see

the file that we will be using then is the elemental 2.2 not the latest 2.6.... ?

Android 4.4 Based off ElementalX v2.2 * Confirmed working by BeNe. Supports y-cable charging. --> filename: el-kitkatkaliflo2.2.zip

Android 4.4 Based off ElementalX v2.6 * Confirmed working by Droidshadow. (Added bluetooth support) --> filename: ElmentalX-Kali-n7-26-origconfig.zip

thanks for your assistance
[Nexus 7 (2013) General] droidshadow:
either one

You can use either one. If you don't want bluetooth support then you can stick with elkitkatflo2.2.zip. However, if you want a more updated version of the ElementalX kernel and you want usb wifi + bluetooth then i would suggest that you go with the latest kernel which is based on ElementalX v2.6

Both kernels work great...

-droidshadow
[Nexus 7 (2013) General] droidshadow:
exact file name is....

Nexus7.idefense

Okay so the exact shell script that you are looking for is located in

/opt/pwnpad/scripts/ and the name of the shell script is -> configkalipwn.sh

I was going to upload a picture for you but Kies Air is being a real pain in the ass...

okay so if you hit the config kali app and you see the KALI PWN PAD written out on top in blue you are in a linux chroot environment. If you see a linux terminal sign -> root@localhost# you are in a linux chroot environment.

Here is a picture to show you what it should look like if when you run the config kali app it fails to load the options menu:

I hope this has been helpful...

-droidshadow
[Nexus 7 (2013) General] Courtoman:
Just like to say hi as a first poster on XDA and say a big thanks to droidshadow, BeNe, and Binky for their hard work.

I was looking to install pwnpad CE 2014 on a new "FLO" tablet I bought specifically for that purpose and came across this Kali pad thread.

Read through all 29 pages of the thread before I opted to install "Unofficial Omni Rom" (latest) with "ElementalX v2.6" and the paranoid android GAPPS with Updated Kali v5.2 off Binky's page.

I have already used MultiROM to install/dual-boot Ubuntu Touch on my new Nexus 5 so I was familiar with MultiROM which made me more confident with the instructions and persuaded me to go this route instead of the pwnpad CE.

My experience with this Rom and kernel combo:

I had the usual Ramdisk error and ignored it.

Since I only have a single OTG cable with my TL-WN722N I opted not to have OTG charge.

Booted fine and had the 40+ apps updating (as you explained, if you get this far you know the Updated Kali zip has taken.)

I have used Wifite and broken into my home router with it on WEP and *ahem* a different router with WPA2 (WPS enabled).

Battery life for the Nexus was only down to 65% by the time Wifite/Reaver had done its work and actually had taken several hours less time than with my Alienware m17x r4 and Alfa 036NHR running Kali v1.05 in the exact same placement.

A question comes to mind and I don't remember if I'd already read it somewhere...

Is it alright to update Kali (the Update Everything option in Kaliconfig)? Because I think it broke a couple of things when I tried it.

Cheers
[Nexus 7 (2013) General] droidshadow:
did you update everything like metasploit, social-engineering toolkit and other apps? or did you just update the scripts?

-droidshadow
[Nexus 7 (2013) General] Courtoman:
Hi droidshadow,

I re-flashed the Updated Kali v 5.2 file and tried the update scripts and then the update kali in that order. Seemed to work, and I can only gather that doing it the other way around must have broken it. Your question sparked me to try it again because I think I didn't do it in the correct order, so it works fine now. Thank you.

As a side note I've noticed that I can boot into Kalipwn with my TP-Link already inserted with the single OTG without problems and if I do it this way the TP-Link becomes "WLAN0" instead of "WLAN1" (which is what it normally is if I connect it after booting). Tried this several times and happens every time, which is not an issue, just something worth noting.

Thanks again and I'll try testing different methods next time before posting.

(Next problem is trying to find why Ruby is stopping Metasploit from loading but I'll try and find out the hard way first :D)

Cheers
[Nexus 7 (2013) General] mnicsy999:
Hey man I followed your guide step by step and got everything working perfectly, I really appreciate what you've done, but I have a few questions. The OTG cable you linked on amazon has to be bought with a 25$ purchase and takes 12-30 days to ship...I noticed you had a much better rig and was wondering if you could provide links of your entire rig? Your cables, your power source, everything :) It would be greatly appreciated. AMAZING GUIDE MAN.
[Nexus 7 (2013) General] glyphmiser:
--------------------------------------------------

I'm having this exact same issue, I tried chrooting to /data/local/kali I ran the script, and it didn't run correctly. Any help would be appreciated. Also, I had found configkalipwn.sh in /data/local/kali/opt/pwnpad/scripts/ the first time I had chrooted there, I tried to make some keys, but it error'd out and had put extra /'s in the path to filenames. Now, It is no longer there. It is still in /usr/bin but gives me the same 'read -p no coprocess' error that you got.
[Nexus 7 (2013) General] droidshadow:
links...

Well I am glad that you got things working...

Well i am using just your basic otg cable + usb hub from hak5 + a basic powerbank.

Links:

Here is a link to the exact otg cable recommended by the guys over at Pwnie Express -> http://www.newegg.com/Product/Product.aspx?Item=9SIA0PG06U1118

Really though any basic OTG cable will work. That link above shows an OTG cable with a right turn angle but you don't have to get one with a right turn angle i have like 5 with a right turn angle and 5 without.

Another link of an OTG cable from Amazon

http://www.amazon.com/EarlyBirdSavi...81548&sr=1-11&keywords=nexus+7+2013+otg+cable

Here is a link of an otg cable without a right turn.

http://www.amazon.com/iRulu-Female-...881839&sr=1-9&keywords=otg+cable+nexus+7+2013

As for the USB Hub i got that from the HakShop. Always support the HakShop!

Here is the link for the usb hub on hakshop

http://hakshop.myshopify.com/collections/accessory/products/usb-powered-hub

As for the Powerbank any powerbank will really do just make sure that it has 2 usb outputs with at least one usb output using 2.0A or 2.1A

Here is a link for a basic powerbank.

http://www.ebay.com/itm/12000mAh-Do...wer-Bank-Charger-For-Cell-Phone-/190939417495

On that powerbank notice it has 2 usb outputs with one using a 2.1A output. Again that is a recommendation because it allows you to use multiple usb wifi devices + a usb bluetooth adapter such as the ubertooth-one!

Now if you don't want to use a usb hub and you just want to use something like 1 usb wifi adapter and a powerbank so that you can charge your tablet while testing wifi security or fun hacking activities then you can use a otg cable with a y-split for power. Here is a link for that type of otg cable.

http://www.amazon.com/AFUNTA-Micro-...&sr=1-2&keywords=otg+cable+with+power+nexus+7

Well i hope this has been helpful and again thanks for the continued support!

-droidshadow
[Nexus 7 (2013) General] droidshadow:
more info needed please.

Could you clarify more about "it didn't run correctly" could you maybe type us out or take a picture of the error that you are getting so we can try and assist.

Don't worry we can figure this out...

-droidshadow
[Nexus 7 (2013) General] glyphmiser:
Well, now the file has disappeared from /opt/pwnpad/scripts. I didn't have any blue text like you do, I don't see myself in the correct chroot'd environment. (No idea why, I've never issued a rm -rf command on this device of any sort) When I had it run the one time out of /opt/pwnpad/scripts and I tried to make some keys, it put too many //'s in the path to the file names, and no surpise failed and said file not found. Even when I specifically chroot to /data/local/kali my prompt does not look like yours. It does still reside @ /usr/bin but gives me the error we had both mentioned above. I used v5.2 and cm-11-20140417-linaro-flo. Maybe this is a bad combination? I don't believe I had term emulator installed before, unless it was installed by default, I have reinstalled it several times now to now avail. I tried: export PATH=${PATH}:/usr/bin and i still get "/usr/bin/configkalipwn[215]: read: -p: no coprocess"
[Nexus 7 (2013) General] mnicsy999:
Now I need to know how to actually crack the wpa/wpa2/wep passwords. Because simply choosing them in wifite and letting it do it's thing isn't working.
[Nexus 7 (2013) General] glyphmiser:
Well, I fixed it, but I'm not quite sure how, some suggestions to anyone else having the issue I was having. (Loading scripts just pops up SU and little else) 1.) chroot to /data/local/kali 2) export PATH=${PATH}:/system/bin:/system/xbin 3) run bootkali (now that it's in your path you should be able to just type bootkali) 4) run /opt/pwnpad/scripts/configkalipwn.sh

Thanks droidshadow for the guide, I had it fixed before I went to bed, had owned the device for less than 12 hours and have it triple booting, you had a great deal to do with that, thanks :D

@ Droidshadow: I was going to try the CE version, I had stumbled on a few threads with you discussing it, is there a way yet to boot it alongside all my other versions (ubuntu/stock/CM) ? I had seen in some comments section that a guy from CE said no, you can't, but somehow I didn't believe him :D
[Nexus 7 (2013) General] mnicsy999:
When I am running an attack on a WPA2 with WPS, I get 8/34 succes/ttl. What does this even mean? I also only get (27 sec/att), is this how long it takes to preform one attack? Why does it take so long? Help pleaseeee. I have the TL-WN722N model by the way if that means anything significant. Would really appreciate some help.
[Nexus 7 (2013) General] glyphmiser:
That's a discussion that is kindof out of scope of this thread. I've not used the particular software you're using, I've mostly used reaver with WPS. But firstly, you should know all there is to know about the attack you're performing, software aside, the methodology will be the same/similar. For WPS for instance, it breaks the pin into 2 pieces that have a checksum, giving the 8digit pin only about 11k possibilities if I remember right. Most issues with brute forcing WPS have to do with physical issues, ie signal. Just because you can see the AP doesn't mean you're getting your packets to the AP. Other include timeouts, difficulty with EAPOL sessions. Play around with it, read about the attack you're performing, go to the wiki for the tool you're using. Good luck.
[Nexus 7 (2013) General] droidshadow:
People seem to be very interested now that they have kali pwn pad on their tablet with cracking their *own* wifi router...

Well first off wifite is an automated python program that does a lot of the heavy lifting for you. It uses aircrack-ng and your discovered AP's (access points) to determine the best attack method. However these are only for generic attack settings and most often will have to be customized in order to be successful in penetrating a wireless network.

Now there is lots of documentation on aircrack-ng and other programs like cowpatty, reaver, and pyrit just tk name a few programs...

If you want some help YouTube has great videos on cracking WPA encryption. The best way to test kali pwn pad is on your own router...try setting your router to wep and try cracking it for fun.

-droidshadow
[Nexus 7 (2013) General] droidshadow:
about pwnpad ce rom

Ya if you want to try the Community Edition (CE) ROM from Pwnie Express -> PwnPad you can but it will format your entire tablet. In order to flash the PwnPad CE ROM successfully you have to put it as your internal ROM. Now since it is on your Internal ROM with TWRP as your recovery manager if you wanted to add another ROM you have to add the kexec-hardboot patch to your internal ROM.

Now the PwnPad CE Kernel does not come with the kexec-harboot patch (kali pwnpad does!) so i am currently working on extracting the kernel to add the kexec-hardboot patch.

One thing that people may not like about the PwnPad CE ROM is that it runs on Jelly Bean (AOSP). I do like that fact that is AOSP based but i really wish it was running on KitKat.

Now if you really want PwnPad CE ROM then what you can try doing is flash the CE ROM with the install shell script (very easy) and keep the install to a bare minimum. Then try installing a second ROM such as OmniROM. Then what you would have to do is find a kernel that has the kexec-harboot batch already implemented into the kernel such as -> ElementalX and flash the kernel to your second rom for this example i will use OmniROM.

Then in recovery mode TWRP has an option to switch the first and second ROM so that your second ROM becomes your internal ROM and then your previous internal rom becomes your secondary rom. Now if you keep the install to a minimum because the CE ROM uses like a 25GB partition size you may be able to switch the ROMs and be able to now have multi-boot options.

Hope this has been helpful...and give me some time i should be able to figure out how to add the kexec-harboot patch to the PwnPad CE ROM.

Oh and if you do decide to use CE the only usb wifi chipset that will work is the AR951 aka TP-LINK. The realtek rtl8187 (alfa awus036h) usb wifi adapter wont work!

-droidshadow
[Nexus 7 (2013) General] BlakeSm:
ty
[Nexus 7 (2013) General] glyphmiser:
5836826911429

Yeah, I get your drift, seems easy enough. Unfortunately, I didn't know that last tid-bit. Right now I only own Alfa devices, rtl8187/036h & rt2800/051nh, I got them working off my old netgear n600 router but I didn't consider I wouldn't be able to get them working on CE, lols.

I assume then it's a kernel module issue? Wonder if whatever additions were done by blinky to the ElementalX could be baked into the CE kernel. Anyway, thanks for the reply, will look out for your kexec modification; and in the meantime most likely order a AR951, has a pretty nice form-factor for this application and the power consumption is a bit more sound too.
[Nexus 7 (2013) General] barrettm3:
Fillfillfillfillfillfillfillfill
[Nexus 7 (2013) General] BitNotFound:
Hey guys! This is my first post on this thread, but I figured I could help out with some issues some people might be having! Would anybody be interested if I made a script that semi-automatically downloaded and installed the files to the Nexus? The only thing you would need to do is follow the instructions onscreen.

It'll take a bit to get the script set up, so I want to know if it is something you guys would like me to do!

Oh, and thanks to everyone involved in getting this ROM working! It is enormously useful!

EDIT: Oh, and I can even have it download and help install MultiROM as well! Pretty much a script that takes a stock Nexus and multiboots it with This ROM too!
[Nexus 7 (2013) General] droidshadow:
That would be very interesting to see...

Let me know if there is anything i can do to help you with that project.

-droidshadow
[Nexus 7 (2013) General] smokeweedevery:
that would be awesome. hope to see it soon:)
[Nexus 7 (2013) General] BitNotFound:
I got it finished for Mac and Linux, but haven't had time to make it for Windows. If you give me a couple hours and I'll upload the script! Im at work now. I can get it to do more I.e. download the DEB version or ones for grouper, tilapia, etc if it gets more support. Currently it is FLO only.

I'm working on a future version that will make it more automatic, installing everything without user interaction.

If there is anyone more experienced making windows batch files, it would be much appreciated!
[Nexus 7 (2013) General] BitNotFound:
Here you go guys! The script for OS X and Linux!

Features:

self contained: downloads its own version of ADB and fastboot to use

Semi-automatic: It tells you what to do and when to do it!

Multi-Platform: One script works on OS X and Linux!

More to come!

Features I'm working on:

More automatic: Make it so you don't have to do as much!

Auto-Updating files: When A new ROM comes out, or a new version of Kali tools, I'll update the utility server-side!

Have fun! Let me know if you need help!
[Nexus 7 (2013) General] blastkiller:
Thanks for the great work. Will this Script work for Nexus 7 LTE because the Script is for Wifi only ?
[Nexus 7 (2013) General] BitNotFound:
I am in the process of making it work for the LTE version, but at this point, it will ONLY work for the non-LTE version.
[Nexus 7 (2013) General] smokeweedevery:
i have a little problem with openvas every time i try to login from the browser it say "login failed OMP service is down" anyone know how to fix it?:)
[Nexus 7 (2013) General] blastkiller:
take your time.

thanks to all who do such a great work to make this running on nexus 7
[Nexus 7 (2013) General] BitNotFound:
Deleted

---------- Post added at 10:59 PM ---------- Previous post was at 10:58 PM ----------

Try going to Config Kali (the app) and hit [3] and let it do its thing. Then it should work!
[Nexus 7 (2013) General] BitNotFound:
Here is my version 2 of the script! It now supports Both FLO and DEB (Wifi and LTE Nexus 7s) and You can choose between OmniROM and Cyanogenmod! (At least for FLO. I can't find the CM ROM for DEB.) Any other feature requests? I can add a "Restore to stock" option if you guys want...

I can't test to make SURE the DEB script works, but it should without any issue!
[Nexus 7 (2013) General] eudemonics:
alfa AWUS036NHA USB wifi adapter on android

hi,

i have kali linux installed through linux deploy on my samsung note 10.1 tablet, and i SSH VNC into localhost to use the desktop environment. i'd love to be able to use my alfa AWUS036NHA usb adapter with it but i haven't gotten it to recognize yet (i'll try plugging a powered USB hub into the OTG adapter - hope that works). i was wondering if the support for the alfa was developed into a custom ROM for the nexus 7, or if kali would be able to recognize and support it natively? does android recognize the atheros AR9271 chipset natively?

are there any USB wifi adapters that support packet injection that will run via OTG without extra power, and are supported natively by android?

thanks! great job on this!
[Nexus 7 (2013) General] nikr123:
It is the kernel so most custom ROM's haven't got any special kernel but they do exist. What is wrong with extra power for you? because you can buy quite small batteries. I don't know but you never mentioned you having a nexus 7 and I don't think your tablet is supported by this kernel. Basically you could install Kali pwn on your tablet but for your purpose it requires a custom kernel.
[Nexus 7 (2013) General] nexus7.idefense:
Your steps seem to work, however the configkalipwn.sh is started automatically and thereafter its gone (there is a ssh key generated).

Still all the apps don't work and provide the same su line when starting.

Did you manage to permanently fix the issue?

After a reboot the apps and kaliconfig still don't work. Here is the result:

(i can't post pictures yet, link to png in reason for edit :) :) :) :) )

however if I type bootkali is seems to boot kali then and I can apt-get update; apt-get upgrade and it upgrades everything as it would on a kali install on a laptop.

-----

after wiping data and cache and reinstalling the zip i created a backup of the scripts folder, launched the kali config, types "bootkali" there and thereafter "configkalipwn" and that worked...

now i got the expected menu, I've updated scripts and will now update all. Still curious if in the end all clickable apps will work or now only have a running kali environment but still need to start it all by hand.
[Nexus 7 (2013) General] Ricowolf:
Hi everyone,

First of all thank you to all xda developers, to droidshadow blinky and to everyone ^_^ ^_^ ^_^ ...kali pwnpad is a great and amazing tool :D

I installed it on my nexus 7 2013 wifi edition and i have tp-link wifi adapter, the same of droidshadow one :D .

It seems to function perfectly but when I try to crack my router password with wifite it cannot find the password WEP or WAP/WAP2 neither of them. Someone told me to download a wifite script modified to include 'ignore-negative-one" and apply it to wifite but I'm not able to do so.

i hope someone can help me with some tips and tricks.

Thank you again ;)
[Nexus 7 (2013) General] nikr123:
I don't quite know what you are taking about but I think you should try the cracking manually either with the aircrack suite or if your ap is vulnerable to wps bruteforce you can use reaver. :)
[Nexus 7 (2013) General] starlit:
hi, I am wondering if this is an issue.

While installing the zips/Cyanogen, I kept getting this message in the beginning:

I:Mount: Unable to find partition for path '/data'

But it does says it flashed successfully.

I downloaded CM11-20140428-bruce2728-linaro-flo.zip.

However, most of the apps will just open to a blank terminal. Is that correct?

:confused:
[Nexus 7 (2013) General] killall:
OK so I'm having problems with Binkybear's kernel. Once I flash it to my cm rom, it won't boot, says no kexec-hardboot patch??

Anyone else had the problem?
[Nexus 7 (2013) General] holladroid:
I was able to finally get past the "kexec-hardboot" issue and successfully boot "cm-11-20131213-bruce2728-odexed-flo.zip" and "pa_gapps-full-4.4-20131119-signed.zip" on my Nexus 7 2013 32 GB WiFi-only tablet. To fix the "kexec-hardboot" issue, I looked at this link (as others in this thread pointed out):

http://xdaforums.com/showpost.php?p=45886569&postcount=1

Then I followed his instructions under "Installation" -> "1. Via MultiROM Manager app".

In the stock Nexus 7 ROM, I went into MultiROM Manager and checked all three things under "Install/Update" (MultiROM v24, Recovery 2014-05-12 (0), Kernel: Stock 4.3) and then clicked "Install". The tablet rebooted into recovery, then rebooted into the bootloader. From here, I went back to the stock Nexus 7 ROM and opened MultiROM Manager again. This time, under "status", it showed a green "has kexec-hardboot patch". I then rebooted and was able to get into the Cyanogenmod environment.

droidshadow: Can you add this to your original post? I think this is tripping up a lot of new users. Otherwise, your instructions are great...thank you so much!
[Nexus 7 (2013) General] killall:
Sorry mybad should have read all of the thread.....