Those who play Pentest on Android all use Termux, this is an application with basic Linux functions and supports almost all the necessary commands. If you are used to Linux, using Termux is not difficult. However, on Termux, there are a few more commands to help you edit faster, supporting the use of commands on Android devices. Let’s go through some basic commands on Termux.
What is Termux?
In any operating system on your computer, you can use a command line tool (Terminal/CMD) to control the computer. But to access the command line tool on Android you need to use the Termux app.
You can see the basic Termux tutorial: How to use Termux to install Hack software on Android phones.
Basic Commands on Termux
Applications like Termux also allow anyone to list Subdomains very easily using available tools like Knockpy.
We will see some basic commands to use in the termux application.
Update Termux version
apt update
Check if termux is installed correctly
pkg install sl
Check running processes
top
Better display of text
apt install figlet
figlet anyword
You will see the interface in a different style.
Create a Matrix background image on Termux
apt install cmatrix
cmatrix
Switch to an easier-to-use shell interface
apt install fish
fish
The Fish command automatically completes the commands. Enter exit exit
See skins in colorful style
apt install toilet
toilet -f mono12 -F green BugBounty
To open any website in termux
apt install w3m
w3m anonyviet.com
Install Metasploit in Termux
First, install curl
pkg install curl
afterward:
curl -LO https://raw.githubusercontent.com/Hax4us/Metasploit_termux/master/metasploit.sh
Grant access
chmod 777 metasploit.sh
./metasploit.sh
In the same way, you can install additional packages according to your needs. There are many Termux packages available on Github that you can easily install and configure.