Termux Hacks Guide - Commands, Tools and Tutorials - Cybarrior
Termux Hacks Guide - Commands, Tools and Tutorials - Cybarrior
Termux Hacks Guide - Commands, Tools and Tutorials - Cybarrior
com/blog/2019/05/03/termux-hacks-guide/
A Third Party developer called “Anonymous” has developed a Linux-self contained App called “Termux”
which is used to install Linux based apps in Android and helps in running pure Linux apps in Android.
In this guide we will learn about various Termux hacks, termux tutorials, termux wifi hack commands list,
termux guide, termux tools, apk & packages & termux uses.
LINUX has a history of being a programmer centric so the purpose of TERMUX app is to help Cyber Security
professionals in monitoring systems and Cyber Security practices like Penetration Testing through Mobile
Networks.
TERMUX apps like HYDRA and NMAP are easy to use and install. They are also platform independent and
their Android versions are also identical to their LINUX versions.
TERMUX’s uniqueness lies in its non-rooting installation facility. Rooting means having privileged facility
over applications installed.
This feature makes it easy for users to install complex software like NMAP and HYDRA.
Termux Tools
NMAP is an open source Network mapper written by Gordon Lyon (also known as Fyodor Vaskovich). As the
above suggests, its purpose is to scan for hosts and networks in a particular area through sending specially
crafted data packets and analysing their responses. In the hands of Cyber Security experts, it is considered as
an effective tool of Network Audit, performing Security Scans and for conducting other similar Network
Security Activities.
‘NMAP’ can be installed in TERMUX by typing the following: “pkg install nmap”. The installation is fast
and swift. After that you can use ‘NMAP’ by typing out its name in the terminal.
HYDRA is another command line based computer program capable of performing dictionary attacks on
exposed protocols and networks.
Tool-x allows you to install 240 hacking tools on your mobile phone without root! Ranges
from information gathering, scanning tools, bruteforce, wifi hacking, vulnerability exploiting
and much more.
If you want to install a separate mobile penetration testing toolkit, you should use Andrax.
With the ease of use for Termux, you can almost install any tool used in hacking operating systems. – View
our hacking tools directory to download more tools.
Termux Guide
Termux is available on Google PlayStore and F-Droid. Its free download and easy to use. One must also
download its plugins which help the app interface with Android API.
Pro Tip :
Also download Hacker Keyboard which has CTRL and ESC buttons in it. You’ll be needing it while working
in the app. Better get it from F-Droid.
Let’s set it up now that we have downloaded the app. Since it’s a command line app like DOS, you have to
rely on your memorising skills to master the app. Type the command: “pkg upgrade” to update all the built
in packages then run “touch.hushlogin”. This helps unlock all the packages which you will require for
your work.
For Example, a certain Mr. Konrad had after downloading the app acquired the following packages: Python,
Ruby, NodeJS, GO and C Programming through the following magical code:
pkg install python cmakenodejs ruby golang
Moving on to setting workspace. TERMUX provides the following as default save location for all your files:
/data/data/com.termux/files/home
But you can also change location by using the following example code:
mkdir notes gh homework temp
Now install the basic packages using the following example and then Type exit to exit and enter the terminal
again. The code is:
pkg install coreutilstermux-apitermux-exec termux-tools grep tree ncurses-utilsopensshgpg
n: cd $HOME/notes
nn: cd $HOME/notes && vim
t: cd $HOME/temp
gh: cd $HOME/gh
hh: cd $HOME/homework
Additionally you can just type the name of the directory and cd to it.If you want to have tmux run
automatically when you enter the shell:
echo “tmux” >> ~/.bashrc
Pro tip: long press to copy/paste, change color scheme and change font!
The uses of TERMUX are limitless. There are people who host servers using it, some download youtube
videos using it as sort of incognito mode methods plus there are also you-know “research” stuff done by
certain individuals.
Given it’s a software, its list of useful commands are also limitless. Below is a list of sample commands
provided by my friends used in TERMUX acquired by me due to sheer lack of proper resource material
available for this paper. Here are the codes with their descriptions:
Step #1: Run TERMUX, execute the following code and Press Enter. The code is:
“pkg update &&pkg upgrade &&pkg install python2 &&pkg install git”
Step#2: Type the following code and press ENTER. The code is:“cd peepdf”.
Step #3: Now type command chmod +x peepdf.py and Press Enter
Step#1: After opening the PDF, type command encrypt Yourpassword Here “YourPassword” is Password
for PDF file to open.
Step#2: then type command “save” and press Enter which makes your PDF Password Protected – a note
Step#1: Open the file again by command open -f /sdcard/FileName.pdfand press Enter.
Step#2: Then type command decrypt YourPassword and press Enter. Password must be the same as set to
encrypt the same PDF. In case of problem, PDF Unlocker is always there to help you out.
The Metasploit Project is a computer security project that provides information about security vulnerabilities
and aids in penetration testing and IDS signature development.
#12: type “ls” command, you’ll see a list of files & folders.
#3. How To Hack Wifi Using Termux [Termux WiFi hack commands list]
There is one software called “aircrack-ng” which you need to first download using Google’s help. Then
follow the steps given below:
1) Friends first open Your Gnu Root Debian terminal or root terminal and start the monitor mode by typing
these commands :
airmon-ng
Here you see your target device and stop the detecting by control + z.
3) Now create one folder and name it cap on your desktop or sd card and also create a password list to brute
force the WiFi handshake ,collect the information about victim and create the password list for brute force.
4) Copy victim’s BSSID and also note the target channel CH number and type this command :
airodump-ng -c 6 --bssid00:26:44:AB:C5:C0 -w /root/Desktop/cap/ wlan0mon-w
There you must give the cap folder path if your created this cap folder on sdcard then you can give this path
: -w /sdcard/cap/ wlan0mon
5) Now open another terminal and disconnect all devices with this command and capture a wifi handshake
type same command but use here target bssid :
aireeplay-ng -0 5 -a 00:26:44:AB:C5:C0 -wlan0mon
6) now paste the password list in your cap folder and also go into the cap folder directory
7) this is a brute force attack if any password match to the handshake then it will be cracked.and you get the
key (means passwords)
Also read: Hack Instagram account
First of all I have to say that this experimental is tested and worked only with the Iris web framework,
written in Golang and Android version 5.1.
Conclusion
Lastly, I would like to conclude that TERMUX is one of the few apps whose overall utility is limitless.Termux
allows you to have a portable hacking machine wherever you go!
Knowing how to use termux and android secret codes will make you an expert in android hacking.