top of page

Once Tool-x is installed, you can type open Tool-X in the command prompt to open the Tool-X.

To Play With Tool-X

$ pkg install wget curl openssh git -y

$ pkg install ncurses-utils

 2. Metasploit Framework

Step 1.

Step 4.

Step 2.

Step 3.

Step 5.

3. Nmap

Step 1. Open Termux

Step 2. Update package

Step 3. install Nmap

Step 4. Start Using Nmap

nmap -sn 192.168.0.1/24

apt update

Steps to install Nmap in Termux
In this guide, we’ll walk you through the steps to install Nmap in Termux.

Lists Before you can install Nmap, you need to make sure that your package lists are up-to-date. To do this, run the following command in the Termux terminal:

Now that your package lists are up-to-date, you can proceed with the installation of Nmap. To do this, run the following command in the Termux terminal:

Using this tool, more than 70 hacking tools are accessible with the Termux app and GNU Root Debian terminal.

The developer says the tool is designed explicitly for Termux and GNURoot Debian Terminal.

To Install in Termux?

apt update

pkg install git

git clone https://github.com/vaginessa/Tool-X.git

cd Tool-X

chmod +x install.aex

sh install.aex if not work than type ./install.aex

In this article,  we are going to learn how we can set up Metasploit 6 on our android phones using termux without rooting the phone. Metasploit is a framework written in RUBY for penetration testing purposes in ethical hacking as well as in unethical hacking.

Termux Emulator: In Linux, we have a terminal to run the commands similarly for Android devices we have termux used as a terminal emulator. It allows us to install a minimal package using the package manager.

Installing Metasploit 6 on Android using Termux:

$ pkg update
$ pkg upgrade -y

$ source <(curl -fsSL https://kutt.it/msf)

$ pkg install wget

$wget https://raw.githubusercontent.com/gushmazuko/metasploit_in_termux/master/metasploit.sh

$ chmod +x metasploit.sh

$./metasploit.sh

First, open the Termux app on your Android device. Termux is a powerful terminal emulator that allows you to run Linux commands on your Android device.

apt install nmap

Once the installation is complete, you can start using Nmap by running the nmap command in the Termux terminal. You can use various options and flags with the nmap command to perform a range of network exploration tasks.

For example, you can use the -sn flag to perform a simple ping scan of the devices on your network:

Conclusion

In this guide, we’ve shown you how to install Nmap in Termux on your Android device. With Nmap, you can explore your network, perform security audits, and much more. The possibilities are endless! So go ahead and start exploring with Nmap in Termux.

4. Wireshark

What Is Wireshark?
Wireshark Is An Open-Source Packet Analyzer, Also Known As A Network Protocol Analyzer Or Packet Sniffer. It Is Available For Multiple Platforms, Including Windows, Mac OS, And Linux, Making It A Versatile And Widely Used Tool For Network Professionals, Security Experts, And Enthusiasts. Wireshark Captures And Displays Network Packets, Providing Detailed Information About The Data, Source, Destination, Protocols, And Much More. Wireshark Is Like A Detective For Your Computer’s Network. It’s A Free Tool That Lets You See What’s Happening With The Data Going In And Out Of Your Computer. It Works On Windows, Mac, And Linux, So Anyone Can Use It.
Key Features Of Wireshark Tool?

  • Packet Capture: Wireshark Captures Network Packets In Real-time, Allowing You To See Data As It Travels Across Your Network.

  • Protocol Support: It Supports An Extensive Range Of Network Protocols, From The Well-known Like HTTP, TCP, And UDP, To More Specialized Ones Used In Industrial Control Systems And IOT Devices.

  • Deep Packet Inspection: Wireshark Allows You To Drill Down Into Packets, Dissecting Their Contents And Revealing The Structure And Data Within.

  • Live Packet Analysis: You Can Monitor Live Network Traffic As It Happens, Making It A Valuable Tool For Real-time Troubleshooting And Network Optimization.

  • Filtering And Search: Wireshark’s Powerful Filter Capabilities Enable You To Focus On Specific Types Of Traffic Or Data, Making It Easier To Find And Analyze The Information You Need.

  • Graphical Visualization: The Tool Provides Graphical Representations Of Network Traffic, Which Can Be Helpful For Identifying Patterns And Anomalies.

Also Read: How To Install Ghost Framework In Termux | Latest Method
How To Install Wireshark In Termux?
To Install Wireshark In Termux, Which Is A Terminal Emulator For Android, You Can Use The Following Steps. Please Note That Termux Provides A Limited Set Of Packages Compared To A Full-fledged Linux Distribution, So Some Features Of Wireshark May Be Limited.

  • Install Termux: First Step You Need To Do Is To Install Termux App.

  • Open Termux: Open Termux App And Type The Below Commands One By One:

Note: All The Letters Are Case Sensitive.

Conclusion:

The Ethical Use Of Hacking Tools Is Crucial, And They Should Only Be Employed In Authorized Environments For Security Testing And Educational Purposes. Always Ensure That Your Activities Comply With Legal And Ethical Standards. Additionally, For The Latest And Most Accurate Information, It’s Recommended To Check Official Sources And Documentation Related To Tool-X.

apt update && apt upgrade -y

apt install xterm -y

pkg install x11-repo

apt install tigervnc -y

  • Update And Upgrade Termux:

  • Now We Will Install The X11-Repo Package In Termux Because In This Post We Are Gonna Use Wireshark GUI Mode.

  • Install X Term In Termux:

  • Install Tiger VNC In Termux:

  • Install Tiger VNC Viewer In Termux:

  • After Installing All The Requirements We Will Now Install Wireshark In Termux:

Wireshark Uses:

Wireshark Is Like A Swiss Army Knife For Network Stuff. Here Are Some Things You Can Do With It:

  • Fix Network Problems: If Your Internet Is Slow Or Things Aren’t Working Right, Wireshark Can Help You Figure Out Why.

  • Detect Bad Stuff: Wireshark Can Also Help You Find Out If Someone’s Trying To Do Something Bad On Your Network, Like Hacking Or Spreading Viruses.

  • Check On Speed: If You Want To Make Sure Your Games, Videos, And Websites Load Quickly, Wireshark Can Help You See If Things Are Running Smoothly.

  • Make New Things: People Who Build New Internet Stuff Use Wireshark To Test And Make Sure It Works.

  • Save Money: For Businesses, Wireshark Can Help Save Money By Making Sure Their Networks Are Running Efficiently.

Conclusion:

Wireshark Is A Friendly Tool That Helps You Understand The Mysteries Of The Internet. Whether You’re A Computer Expert Or Just Curious, Wireshark Can Be A Big Help. But Remember, Using It Is Like Being A Good Detective – You Should Always Follow The Rules And Respect People’s Privacy. By Using Wireshark Wisely, You Can Learn How The Internet Works And Solve All Kinds Of Network Puzzles.

Termux terminal executing a script with detailed output shown

Type 0: To install all tools.
Type 1: show all available tools and type the number of tools you want to install.
Type 2: if you want to update Tool-X.
Type 3: if you know About us.
Type x: for the exit.

Termux showing file directory listing with various files and folders
Screenshot of Termux showing a Linux terminal interface on an Android device
Termux with custom configuration settings displayed in the terminal
Termux running Python code with output displayed in the terminal
Termux terminal displaying package installation progress
Termux logo featuring a minimalist black and white terminal icon
Developer using Termux to write and test code on a mobile device

1. Tool -X

apt install tigervnc-viewer -y

apt install wireshark-gtk -y

Termux Emulator
This no-cost, open-source application enables the Linux command shell to function through the Android terminal.
You can add extra packages to enhance the functionalities using a terminal emulator. It is not necessary to have root permissions to set up Termux.
Termux allows you to program on your Android device like a Linux computer.
During installation, a basic set of components is automatically installed. If additional packages are necessary, they can be added using the APT package manager.
Termux enables you to access remote servers, modify their files, create backups, and establish SSH connections.
Tool-X

5. SQL Map

Sqlmap is an open-source penetration testing tool. It comes with a powerful detection engine. It automates the process of detecting & taking over the database server. There is a total of six SQL injection tool techniques are present. This is the highest amount of tool present than others. When we are going to extract the password from a vulnerable database, often the passwords are in hash form. It can detect the hash & can mention which type of hash was that.

Installing SQLmap on Termux:

Follow the below steps to install SQLmap on Android using Termux:

Step 1: Open Termux & execute the below command to upgrade to latest packages available.

apt update && apt upgrade -y

Step 2: Now we will install prerequisites of SQLmap i.e. Git and Python3 with the following command.

apt install git python3 -y

Step 3:  Now we will clone the SQLmap repo from git:

Step 4: Now do the following to enter in the Directory and to list available directories and files in SQLmap directory.

cd sqlmap && ls

Step 5: To use SQLmap, simply type python3 sqlmap.py

python3 sqlmap.py

Yay!! Now your are done with the Installation.

Here's a complete roadmap for you to become a developer: Learn DSA -> Master Frontend/Backend/Full Stack -> Build Projects -> Keep Applying to Jobs

Termux is an Android terminal emulator and Linux environment app, essentially turning your Android device into a lightweight Linux system. Here's a comprehensive breakdown of its functions, advantages, disadvantages, and its relevance in ethical hacking:

Functionality:

  1. Terminal Emulation: Termux provides a command-line interface, allowing users to execute commands and run programs just like on a traditional Linux system.

  2. Linux Environment: It offers a full Linux environment, including access to core utilities, package management tools, and various Linux distributions.

  3. Package Management: Termux uses the APT package manager, enabling users to install and manage a wide range of Linux packages and software.

  4. Scripting: Users can write and execute scripts in languages like Bash, Python, Ruby, Perl, etc., facilitating automation and customization.

  5. Development: Termux supports coding in various programming languages and provides tools for compiling and running code directly on the Android device.

  6. Networking: It includes networking tools such as SSH, Nmap, Wireshark, and others, allowing for network analysis, scanning, and penetration testing.

Advantages:

  1. Portability: With Termux, users can carry a functional Linux environment in their pocket, enabling productivity on the go without the need for a laptop or desktop computer.

  2. Accessibility: It makes Linux tools and commands accessible to users familiar with the command-line interface, promoting learning and exploration.

  3. Customization: Users can customize their Termux environment by installing additional packages and configuring settings according to their preferences and needs.

  4. Learning: Termux provides an excellent platform for learning Linux commands, scripting, software development, and various aspects of system administration.

  5. Ethical Hacking: Termux offers a comprehensive set of tools and functionalities relevant to ethical hacking, including reconnaissance, vulnerability assessment, exploitation, and security auditing.

  6. Community Support: There's an active community of Termux users and developers who contribute packages, scripts, and tutorials, providing assistance and resources for users.

Disadvantages:

  1. Resource Limitations: Termux runs on Android devices, which may have limited resources (CPU, RAM, storage) compared to traditional computers, affecting performance for certain tasks.

  2. Compatibility Issues: Not all Linux packages and software may be compatible with Termux due to differences in architecture, dependencies, or limitations of the Android environment.

  3. User Interface: While Termux provides a powerful command-line interface, it may not be as intuitive or user-friendly for those accustomed to graphical user interfaces (GUIs).

  4. Dependency on Android: Termux's functionality is dependent on the Android ecosystem, which may restrict certain capabilities compared to running Linux on dedicated hardware or virtual machines.

Scope in Ethical Hacking: Termux is highly relevant in ethical hacking due to its versatility, accessibility, and extensive toolset. It serves as a convenient platform for various hacking activities, including reconnaissance, information gathering, vulnerability scanning, exploitation, password cracking, network analysis, and more. However, its effectiveness may vary depending on the specific tasks and resources available on the Android device. For more demanding or complex engagements, professionals may opt for dedicated hardware or virtual machines running specialized penetration testing distributions. Nonetheless, Termux remains a valuable tool for learning, experimentation, and performing ethical hacking tasks, particularly in scenarios where portability and convenience are prioritized.

Conclusion: Termux offers a powerful and flexible Linux environment on Android devices, enabling users to perform a wide range of tasks, including ethical hacking. Its advantages lie in portability, accessibility, customization, and the extensive toolset available through package management. However, users should be aware of its limitations regarding resource constraints, compatibility issues, and dependency on the Android ecosystem. Ultimately, the decision on whether Termux is worth it for ethical hacking depends on individual preferences, requirements, and the specific context of the hacking activities involved.

bottom of page