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

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

February 01, 2021 2 min read 6 views 0 discussions
Table of Contents

    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.

    $pkg install wget
    --------------------------------------------------------------------------------------------------------------------------------------- 
    --------------------------------------------------------------------------------------------------------------------------------------- 
    --------------------------------------------------------------------------------------------------------------------------------------- 
    $ wget -O install-nethunter-termux https://offs.ec/2MceZWr
    $ls
    install-nethunter-termuxstorage
    $chmod +x ./install-nethunter-termux
    $./install-nethunter-termux
    $cp storage/download/kalifs-arm64-full.tar.xz .
    $./install-nethunter-termux
    ┌──(mrdev㉿kali)-[~]
    └─$kex passwd
    ┌──(mrdev㉿kali)-[~/]
    └─$kex
    ┌──(mrdev㉿kali)-[~/Download]
    └─$ nano /etc/vnc.conf
    $nethunter -r


    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:


    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:

    3. Run again following command to install:


    nethunter

    NetHunter GUI

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

    2. To run it by the following command:

    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.

    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:

    Community Q&A