The Termux application, as we mentioned in previous post, is an Android application that will makes a simulated Linux-based environment and terminal after installing it. Through the Linux terminal, you can run a series of commands on your phone that will increase your access to the extent that the Android operating system provides you with the default. Following is a description of the things that this app can do and we are going to provide a list of Termux commands through which you can perform various tasks.
What are the capabilities of Termux application?
On the homepage of Termux website, They (it’s developers) describe just some of the capabilities of this application as follows:
The Termux application works with or without root access, but if your Android device is rooted, more features will be offered to you.
After installing this application, a basic system is installed and if you need more advanced features, you can install them from APT Package Manager.
Note: This app is for Android +5 devices only and can not be installed on Apple phones and tablets (iPhone and iPad).
Accessing to servers remotely
By using this application you can remtely connect to your linux based server through ssh client from OpenSSH and this app has combined standard packages with accurate terminal emulation in a beautiful open source solution.
Many packages can be installed
Termux is not just a simple android-linux terminal and can be more wider by installing many packages such as Bash, fish or Zsh and even nano!
Does it can be used for hacking a person?
Brute force attack tool, called the THC Hydra, and network scanner called nmap, which are indispensable for hacking people, are available in the Termux application.
In addition there are all dependencies to install famous metasploit-framework which enables Termux users to do hack and of course Termux team says that
You should not use it against machines which you dont have permission to!
Some people want to hack their neighbors WiFi with this application but they should know that Termux does not include any package which can connect with Android’s WiFi module, so they can not do WiFi hacks with Termux.
Termux commands list and their usage
Termux commands to work with packages
Install a certain package:
pkg install [package name]
Remove a certain package:
pkg uninstall [package name]
List all installed packages:
to get help with package commands just execute pkg command.
Termux commands to install neccessery tools
pkg upgrade && pkg install autoconf automake bison bzip2 clang cmake \ coreutils diffutils flex gawk git grep gzip libtool make patch perl \ sed silversearcher-ag tar wget pkg-config
Termux commands to work with SSH
Install Openssh package
apt install openssh
As there is no authentication system in this package, you should place your server’s username and password in below directory:
Termux commands to work with FTP
Start a FTP server on port 1024
$ tcpsvd -vE 0.0.0.0 1024 ftpd /
Connecting to the FTP server that you created from another device
ftp 192.168.1.3 1024
This FTP service just supports anonymous login; it means there there is no username and password authentication and any device can connect to your FTP server and manipulate your files, So use it in your private network.
Termux commands to work with directories
cd [/] to go to root directory OR [-] move one directory back OR [directory-path]
Note : do not include [ ] in your commands.
If you need a specific command to work with Termux, we are here to help you! just leave a comment.