PDA

View Full Version : How to install all tools from Kali Linux into Nethunter



pedropt
2015-05-04, 18:07
I am creating this topic but it will be very appriciated if anyone who have a second opinion to write down .

If you dont know , Nethunter does not arrive with all the penetrations and exploiting tools that Kali Linux have in their repository , i think that happens because of the space needed and also because some tools are not probably compatible with Arm7 .

Kali Linux menu avaliable tools : http://tools.kali.org/tools-listing

But many tools from the menu from kali have already arm7 support , so you can install them individually (witch will take an eternity) , or you can all in a row and then remove the packages that are in conflict .

To do this you will need 800M of space avaliable in your tablet .

I strongly advice for you to do it using a secure shell from another computer in your network , to do that follow this tutorial :
https://forums.kali.org/showthread.php?25350-How-to-install-tools-and-updates-remotely-on-Nethunter-using-a-Secure-shell

In case you want to do it by typing the commands on your tablet , it will work too .

1st : Open Nethunter in your tablet and start a terminal session as root and write this :

sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install kali-linux-full -y
http://s16.postimg.org/dc8pfki8h/image.jpg (http://postimg.org/image/dc8pfki8h/)

Note : After you insert the last lines , Nethunter will show you all the packages needed to be installed , there are a lot of packages , but in my image is showing only the ones i have removed , because i have already tested this , and i don't want to remove 800M again .

After a long wait of installation you will get a screen pointing you to configure mysql server , and it asks you for a password .
http://s14.postimg.org/7fkle4tz1/image.jpg (http://postimg.org/image/7fkle4tz1/)

Put any password you want , because we will remove mysql later from Nethunter .

After everything installed you will get this message from your nethunter :


dpkg: error processing kali-linux-full (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
miredo
mysql-server-5.5
mysql-server
kali-linux
kali-linux-full
E: Sub-process /usr/bin/dpkg returned an error code (1)


Now it is time to remove only the packages that don't work with Nethunter and leave the rest installed , and for that you write in terminal .

sudo apt-get purge miredo mysql-server mysql-server-5.5

http://s17.postimg.org/f29n0v0kb/image.jpg (http://postimg.org/image/f29n0v0kb/)

After this point , Nethunter will remove only those packages and will leave the others .

And then you can try an update , upgrade and dist upgrade in a row to check if everything is right .

sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y

From now on you can call your favorite tool you use to work in your desktop kali linux in your nethunter .

beloadjoker
2015-05-04, 21:17
wine working too?

pedropt
2015-05-04, 22:21
wine is an emulation tool to execute windows programs , i don't think it will work on nethunter .
Kali-linux-full installation it will only install the penetration tools in Kali linux menu , not additional programs .

Note : i have just edited the first post to let everyone knows witch tools are installed in kali .

beloadjoker
2015-05-05, 07:14
Okay, i know what is wine, but i saw a nethunter video in youtube and there are working wine...

pedropt
2015-05-05, 15:09
Wine utility is not installed in the same package as Kali-linux-full is , i never try to execute a windows program in nethunter , but my guess for that to work is that you have to establish a remote desktop on your nethunter to get access to your xfce linux , and then execute wine from there .
Basically the steps to do that are here with a little difference :
https://forums.kali.org/showthread.php?25351-How-to-remote-desktop-your-Nethunter-from-other-linux-Desktop

Instead using a different computer to remote desktop your nethunter , you will use your android vnc client in your tablet to open your linux xfce .
the ip to access your internal linux installation will be something like this : 127.0.0.1 and the port will be 5901 .

beloadjoker
2015-05-05, 15:49
Okay bro, i know how i get vnc session, i just want to know how i can install wine in nethunter, because i think it is working on nethunter, because i saw this in youtube video.

pedropt
2015-05-05, 17:30
I think that is not possible because wine was not build to work in arm architectures , and much less in nethunter .
however , it could be possible that someone and somehow have build an apk for android that may allow that to happen .
Read this next link :
http://www.androidpolice.com/2013/02/03/wine-is-not-an-emulator-but-it-is-coming-to-android-work-started-on-windows-compatibility-layer/

beloadjoker
2015-05-05, 17:44
Okay, i wrote the person how uploaded the video on youtube, if he tell me how to, i write here
/sry for my bad eng/

pedropt
2015-05-05, 19:09
No , please dont do that on this Topic .
Create your own topic in here https://forums.kali.org/forumdisplay.php?21-NetHunter-How-To

explaining how to do it for users that may need .

beloadjoker
2015-05-05, 20:16
of course, if i get answer and this is working i started new thread

pedropt
2015-05-05, 20:56
I was looking more closely to the web about wine working on arm devices and i found a git at : http://wiki.winehq.org/ARM
I am making the installation of it right now , i dont know if it will work , at least the configuration steps worked fine and it is making the compiling , after that i have to do the install command , if i get it to work i let you know .

beloadjoker
2015-05-05, 21:52
nice, thank you :)

Maybe this help:

http://forum.xda-developers.com/showthread.php?t=1258506

pedropt
2015-05-05, 23:58
Well i was able to compile and install wine into my nethunter , but running solitaire gives me an error , i did not compile the images decompressors into wine compilation .
But it will work if you look more further into the net in how to do it right .
Basically it is working , and here it is the screencaps from my shell :
http://s15.postimg.org/n35xu7rmv/wine.jpg (http://postimg.org/image/n35xu7rmv/)

and a screencapture from the nethunter remote desktop .
http://s10.postimg.org/5okp89khx/winerdesktop.jpg (http://postimg.org/image/5okp89khx/)

the steps i used to make the basic installation was to clone their git at : git://source.winehq.org/git/wine.git (140M)
and then i configured , compiled and install it .
look further on the net to do it the proper way .

beloadjoker
2015-05-06, 06:11
Nice, thank you

mirceap
2015-06-26, 20:35
I get an error "tmp-mksh: apt-get not found"
I am running Nethunter 1.2 on nexus 7

pedropt
2015-07-28, 23:50
I get an error "tmp-mksh: apt-get not found"
I am running Nethunter 1.2 on nexus 7

I have no idea why you are writing that error in this thread , because that error is not related with this post , and using these instructions it is impossible for that error to popup .

Beatz
2015-07-29, 23:02
I am getting the same error as mirceap when I input the 1st suggested command by OP

Medic
2016-03-09, 19:46
pedropt:

I just SSH'ed into my NT device (Nexus 9) and did the installed all tools via your instructions...is these still the only tools not supported on NetHunter?:

dpkg: error processing kali-linux-full (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
miredo
mysql-server-5.5
mysql-server
kali-linux
kali-linux-full
E: Sub-process /usr/bin/dpkg returned an error code (1)

Now it is time to remove only the packages that don't work with Nethunter and leave the rest installed , and for that you write in terminal .
sudo apt-get purge miredo mysql-server mysql-server-5.5

Thanks

pedropt
2016-08-12, 21:48
is these still the only tools not supported on NetHunter?
In Nethunter 2.0 those were the packages that were giving problems on installation , in net hunter 3.0 i did not yet test it .
However it is important to say here that i did it on Nexus 7 2012 .