How to install kali Linux in termux without root your phone?

What if we could install Kali Linux on our mobile phones as well as our computer? If I say yes we can install Kali Linux on our device without having to root our mobile device. Kali Linux is widely used for advanced Penetration Testing and Security Auditing.



Prerequisite:

  1. Android Device (Stock unmodified device, no root or custom recovery required)
  2. Termux 
  3. Download NetHunter-KeX client, and Hacker's keyboard from NetHunter Store.

Install and Configure

Open Termux and type:

$ pkg install wget
--------------------------------------------------------------------------------------------------------------------------------------- 
--------------------------------------------------------------------------------------------------------------------------------------- 
--------------------------------------------------------------------------------------------------------------------------------------- 
wget -O install-nethunter-termux https://offs.ec/2MceZWr
$ ls
install-nethunter-termux storage
$ chmod +x ./install-nethunter-termux
$ ./install-nethunter-termux



Download rootfs File Manually and install Kali NetHunter

1. Open your browser and visit this link: https://images.kali.org/nethunter/kalifs-arm64-full.tar.xz to download rootfs file. 

2. Copy rootfs file:

$ cp storage/download/kalifs-arm64-full.tar.xz .

3. Run again following command to install:

$ ./install-nethunter-termux

nethunter


NetHunter GUI

1. To interact with Nethunter GUI you have to reset kex password:

┌──(mrdev㉿kali)-[~]
└─$ kex passwd

2. To run it by the following command:

┌──(mrdev㉿kali)-[~/]
└─$ kex

3. Open the NetHunter Kex VNC tool and change the port number and password. Now click connect to connect.

nethunter gui


Make your device a server

If you want to access NetHunter GUI from your laptop or any other phone, It need to configure vnc.conf file.

So go to NetHunter. Now open vnc.conf file using a nano text editor.

┌──(mrdev㉿kali)-[~/Download]
└─$ nano /etc/vnc.conf

Scroll end and write the following code:

config vnc

Download RealVNC and connect with IP and Port number. Run Kali with root privileges then type the following:

$ nethunter -r

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Ok, Go it!