How to Install Kali Nethunter in Termux
If you’re into ethical hacking or penetration testing, you must have heard of Kali Linux. It is one of the most popular Linux distributions that comes packed with a plethora of hacking tools. But did you know that you can also install Kali Nethunter on your Android device? In this post, we’ll show you how to install Kali Nethunter in Termux, a popular terminal emulator app for Android.
What is Kali Nethunter?
Kali Nethunter is a custom Android ROM designed for penetration testing. It comes with pre-installed tools that allow you to perform various hacking tasks, such as wireless attacks (e.g., WiFi hacking). Initially, Nethunter was only available for Nexus and OnePlus devices, but now you can install it on any Android device without rooting through Termux.
Kali Nethunter Requirements
Before you start, make sure you have the following requirements:
- A fully charged device
- Good internet connection
- At least 1GB of RAM and 2GB of free space
- Termux app installed
- NetHunter KeX from the NetHunter store
- A little bit of patience
How to Install Kali Nethunter in Termux?
Follow the steps below to install Kali Nethunter in Termux:
Download and Install Termux
Firstly, download and install Termux from the F-Droid or the official website.
Update Termux
After installing Termux, open it and type the following command to update it:
termux-setup-storage
apt update && apt upgradeDownload the Kali Nethunter Installation Script
Type the following command to download the installation script:
pkg install wget
wget -O install-nethunter-termux https://offs.ec/2MceZWrGive Required Permissions
Now, give the required permissions to the script by typing the following command:
chmod +x install-nethunter-termuxInstall the Scripts
Type the following command to install all the scripts required for installing Nethunter:
./install-nethunter-termux
If the installation succeeds, you’ll see a message saying “Nethunter installation success.”Set Up Password for VNC
Now, set up a password for VNC by typing the following command:
nethunter kex passwd
Choose a password and remember it.Start Nethunter GUI
To start the Nethunter GUI, type the following command:
nethunter kex &
After that, open the Kex Client app, edit the password, and click on connect.
kali Nethunter Termux commands
Command | Description |
---|---|
apt update | Update the package lists for Kali NetHunter |
apt upgrade | Upgrade Kali NetHunter packages to their latest versions |
apt install <package> | Install a package (replace <package> with the name of the package you want to install) |
apt remove <package> | Remove a package (replace <package> with the name of the package you want to remove) |
nethunter | Launch the Kali NetHunter CLI interface |
nethunter kex passwd | Set the password for the Kali NetHunter VNC server |
nethunter kex & | Start the Kali NetHunter VNC server in the background |
nethunter kex stop | Stop the Kali NetHunter VNC server |
How to Use Terminal Interface?
If you wish to use the terminal interface, you can access it by typing “nethunter” directly in the Termux terminal.
chmod +x install-nethunter-termux
chmod +x install-nethunter-termux
is a command that sets the execute permission (+x) on the file called install-nethunter-termux
.
In Unix-based operating systems like Linux and macOS, files and directories have permissions that determine who can read, write, or execute them. The chmod
command is used to change these permissions. The +x
option adds the execute permission to the file.
So, running chmod +x install-nethunter-termux
will allow the file install-nethunter-termux
to be executed as a program or script.
Final Words
That’s it! You’ve successfully installed Kali Nethunter in Termux. Remember, if you face any issues with the commands, follow each step carefully. If you want to learn more about ethical hacking or penetration testing, check out our other articles on the topic.