TERMUX
TERMUX
Termux (in English) is a terminal emulator, an open source application that adds a
Linux command environment to phones without the need to root the phone or
install an external system or a modified ROM, but it is sufficient to install it directly
via Google Play, as the application provides many additional packages using the
famous APT package manager on Ubuntu.
Name on Google Play: Termux
Developer: Fredrik Fornwall
Official website: https://termux.com
Size: 17 MB
Installation mirror: +10M
Supports only: Android 5.0 and later.
Termux application:
It is a terrible tool in penetration testing, as it is built on the Linux kernel, and
combines the terminal and Linux tools, and helps you get started in the world of
penetration testing.
⇐ Step 1:Download the "termux" application You can download the application
from Google Play "Play Store" after opening Google Play and writing "termux" in the
search box and downloading the application, as its size does not exceed 5 MB, and
you can download the application directly from Media Fire Download.
⇐ Step 2:After downloading the application, you must enter the following
commands:
1 - apt Update
2 - apt upgrade
Step 3: Write this command to finish configuring the application "termux-setup-
storage". Now you are ready to start hacking and using all the hacker tools to test
the penetration, and here are the most important tools and the best ethical hacking
testing tools that you can use on the "termux" application.
⇓ Tools ⇓
1. Nmap Tool
You can use the Nmap tool to identify and search for targets on your mobile phone.
It is one of the most important tools and must be available and installed on the
application to start professionalizing the Termux program. To install the tool, enter
the command "pkg install nmap" and click Continue. The installation of the Nmap
tool may take a few minutes depending on the internet speed. To run the tool to
start working, type "nmap" in the application.
2. Hydra Tool
The "Hydra" tool is one of the most important tools in the Kali Linux system, and is
used in Brute force Attack. It is known to users of the Kali Linux distribution. To
install the tool, enter "Pkg install Hydra". This command may take a few minutes
depending on the internet speed. To run the tool, type the command Hydra.
3. RED_HAWK Tool
This tool is used to hack websites and provides you with all the information you are
looking for about the website you want to test the penetration on. To install this
tool, enter the following commands in order.
1 - " Pkg install php "
2 - " pkg install git "
3 - " git clone https://github.com/Tuhinshubhra/RED_HAWK.git "
4 - " ls "
5 - " cd RED_HAWK "
6 - " chmod +x rhawk.php "
After these steps, the “RED_HAWK” tool has been successfully installed and you can
now start using it. To run the tool, open a new window on " termux " and write the
following commands.
1 - "ls"
2 - "cd RED_HAWK"
3 - "php rhawk.php"
4. Recongdog Tool
A very important tool in detecting vulnerabilities and searching for loopholes
through which you can, using "python" to install this tool, write the following
commands,
1 - "pkg install Python2"
2 - "git clone https://github.com/UltimateHackers/ReconDog.git"
3 - "cd RecongDog"
4 - "chmod 777 dog.py"
5 - "python2 dog.py"
Now, after entering these commands in "termux", you can use the "Recongdog"
tool.
5. SQLMAP Tool
It is the most used tool by Kali Linux professionals, the most accurate in searching
for vulnerabilities and loopholes that are relied upon in the world of information
security. To install the tool, type the following commands:
1 - " Pkg install python2 "
2 - " git clone https://github.com/sqlmapproject/sqlmap.git "
3 - " cd "
4 - " ls "
5 - " cd sqlmap-dev "
6 - " Python2 sqlmap.py "
A. The cd command
The "cd" command is used to move to a specific folder, for example, if you are in
the main folder Home, and you want to move to the downloads folder, you can type
“cd Downloads”, Assuming that Download is the name of the folder you want to
enter.
B. The ls command
The ls command is used to display the files and folders in the desired folder; type
the ls command in your terminal and it will display a list of files and folders in the
home folder (Home). You can show the names of hidden files using the command "ls
-a".
Example:
Delete folder myfolder, Use “rmdir myfolder”
Delete file, Use “rm myimage.jpg”. Assuming that myimage.jpg is an image file.
F. Touch command
The touch command is used to create a new file, whether it is an empty txt text file
or an empty doc file. For example:
touch log.txt
G. cat command
We use the cat command to display the contents of a specific file, such as the file
we created previously, for example.
cat log.txt
H. cp command
Use the cp command to copy files from one folder to another. The command
requires two variables: the first is the path of the file to be copied, and the second is
the target folder to which the file is to be copied.
Example We will copy a file in Downloads and put it in the main folder Home
cp /Downloads/onsec.jpg /Home/onsec.jpg
I. The mv command
Use the mv command to move files via the command line. We can also use the mv
command to rename files. For example, if we want to rename the file "text" to the
file "new", we can use the command "mv old new" and to move it we use the same
copying method.
mv oldName newName
Example:
mr -rif black-max
And the black-max tool will be deleted
Installation commands
$ git clone https://github.com/xaviha/stormbreaker
$ cd stormbreaker
$ sudo bash linux-installer.sh
$ python3 -m pip install -r requirments.txt
$ python3 Storm-Breaker.py
Note: Some beginners when installing a tool for the first time the second time put
all the installation and operation commands This is a mistake when you install any
tool for the first time All you have to do is enter the tool folder and run it: Example
cd Storm-Breaker
python3 Storm-Breaker.py