Welcome Guest [Log In] [Register]
Welcome to Pwnie Express. We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Please note you need to use a valid email address to register for member access.

Get your questions answered by other members, share your ideas and feedback, get your problems solved, and give back by helping others! It only takes a minute to get started. Registration is simple, fast, and completely free!

Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Post "successful install" KaliPwn Notes; After install notes-posts-fixes
Topic Started: Dec 13 2013, 06:27 PM (2,843 Views)
0ld3nglish800
Member Avatar

The other threads are getting up there with content, I hope nobody minds if I post this here.

I have successfully installed Binky's KaliPwn a few different ways, I wanted to share my experience and post a few issues with hopes that they can be resolved.

Model: Nexus 7 (2012)

ROM: [KK 4.4.1 KOT49E] ♦ PURITY ROM ♦ (Grouper) 08/12 (purity_grouper_ota_2013-12-08.zip)
link: http://forum.xda-developers.com/showthread.php?t=2222374

Kernel: Android 4.4 Based off metallice kernel a65. Forced module loading no longer works (Google disabled)

KaliPwn Image: update-kalipwn-v05.zip

GApps: 12-11_GApps_Core_4.4.2_signed.zip
link: http://www.androidfilehost.com/?a=show&w=files&flid=10306

Installation steps:

-Using Wugs Toolkit - Flashed nexus back to stock 4.2.2 / enabled usb debug

-Using Wugs Toolkit -Flashed custom recovery to most current CWM (clockworkmod recovery)

-Copied all zip files (rom, kernel, gapps, kalipwnv.5) to nexus 7 by connecting to computer and using filemanager.

-Rebooted into CWM recovery

-Installed Purity Rom (purity_grouper_ota_2013-12-08.zip) by flashing zip in CWM recovery
-rebooted enabled usb debugging -rebooted back to CWM recovery

-Installed Gapps by flashing zip in CWM recovery
-rebooted, verified playstore was installed -rebooted back to CWM recovery

-Installed update-kalipwn-v05.zip by flashing zip in CWM recovery
-rebooted, verified kalipwn icons - rebooted back into CWM recovery

-Installed Android 4.4 Based off metallice kernel a65 by flashing zip in CWM
-rebooted, verified root shell worked and config kali worked.

Verified TP link worked

[Screenshots]

Kali Desktop w/ Xfce 4.10 (VNC)
Posted Image

Armitage running (VNC)
Posted Image

I was able to resolve the metasploit bundle error by typing in terminal:
Quote:
 
chmod 755 /usr


Get armitage running by: (from: http://w11.zetaboards.com/Pwnie_Express/topic/9369003/5/ )
Quote:
 
nano /usr/bin/armitage

Replace with:
Quote:
 
#!/bin/bash
cd /usr/share/armitage/ && export PATH=/usr/lib/jvm/java-7-openjdk-armhf/bin:$$PATH && ./armitage "$@"

(will have to be done everytime armitage is updated)


Start msfrpcd manually in a seperate window using:
Quote:
 
msfrpcd -U msf -P test -f -S -a 127.0.0.1

Or create launcher on Kali desktop to execute before running armitage

When running armitage you will see fontconfig warnings, there is nothing wrong.
You can remove the warnings by editing:
Quote:
 
/etc/fonts/conf.d/65-droid-sans-fonts-conf

and removing the error'd lines. <test> </test>
(if you dont know what your doing, then skip this)
Edited by 0ld3nglish800, Jan 20 2014, 04:40 PM.
Offline Profile Quote Post Goto Top
 
Replies:
0ld3nglish800
Member Avatar

There was a update for armitage, I had to re-apply armitage edit:

nano /usr/bin/armitage

Replace with :

#!/bin/bash

cd /usr/share/armitage/ && export PATH=/usr/lib/jvm/java-7-openjdk-armhf/bin:$$PATH && ./armitage "$@"

If when running updates/upgrades you get a error trying to update 'tor' then edit sources and comment out torproject repo.

re-run apt-get update
apt-get install -f
Offline Profile Quote Post Goto Top
 
binkybear
Member Avatar

0ld - Thanks. Wish I could keep changes persistent. Might just add it to configkalipwn. Speaking of which...

If you or anyone else could test some new changes. I've added menu options to start VNC to fix geometery. I realized that Nexus 7 2013 and 2012 have different sizes so a menu makes more sense.

ALSO, I tried adding OpenVPN server support to configkalipwn.sh. It SHOULD generate a VPN server and give you the option of generating different client key files. One for: local ip, public IP, or domain/dynamic dns. Then another option to export the keys to sdcard.

If anyone has time and want to test to see if they can setup an opevpn server on their device just run the update scripts in configkalipwn.sh then relaunch it. Go through the OpenVPN menu section.

edit

I was able to connect to openvpn server running on Nexus 7. It appeared that everything was working fine except google for some reason. Will need some more testing. If anyone is smart at this stuff you can check out source code here near bottom: https://github.com/binkybear/Kali-Pwnpad-Scripts/blob/master/scripts/configkalipwn.sh
Edited by binkybear, Jan 20 2014, 04:02 AM.
Offline Profile Quote Post Goto Top
 
droidshadow

0ld3nglish800,

Hey brother I know your last post was a few weeks ago but just wondering how you went about updating xfce. I know you need to do it wit apt-get could you tell me which version or command you used?

How did you like the update of xfce, and how is i working with kali pwnpad? Would you recommend it?

Second, do you happen to know if armitage is fixed in the latest kalipwnpadv0.5-1 or do we still need to install java7 and update the armitage script?

Thanks again brother,

-droidshadow
Offline Profile Quote Post Goto Top
 
0ld3nglish800
Member Avatar

To update xfce, open root shell, type in terminal:
Quote:
 
apt-get update
apt-get upgrade


make sure everything updates with out error.

(instructions for tor error)
you might get an error that says something about 'tor' not being able to update.

in root shell type:
Quote:
 
nano /etc/apt/sources.list

put a # infront of the torproject repo to comment it out.
[ctrl]+x , y to save, [enter] to save as sources.list

at root shell type:
Quote:
 
apt-get update
apt-get install -f


that should fix the tor error/

then:

Quote:
 
nano /etc/apt/sources.list

at the bottom add:
deb http://ftp.debian.org/debian jessie main

[ctrl]+x, y to save, [enter] to save as sources.list

then in root shell type:
Quote:
 
apt-get update
apt-get install --reinstall xfce4 xfce4-goodies

it will upgrade alot of packages.
when done:
Quote:
 
nano /etc/apt/sources.list

put a # infront of jessie repo you just added to comment it out.
if you dont comment out the jessie repo, then next time you upgrade it will upgrade everything
and you might get complications.

if you can wait, I will post a video since I am re-installing kalipwn anyways.

Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Pwn Pad Community Edition Support Forum · Next Topic »
Add Reply