Termux Tutorials by Techncyber
Termux Tutorials by Techncyber
Techncyber
1
Termux Hacking Tutorials By
Techncyber
When People Hears The Word Hacking , They imagines a Lot and thinks that Hacking is a
few clicks Magic with Computers..
Here What People imagines When They Hears The Word Hacking
But when it comes Real life, Hacking Is Totally Different than you see in the movies.
Termux Hacking Tutorials By
Techncyber
3
And The Hackers also different than those you see in the movies.
you might thought about White Hat Hackers and Black Hat Hackers
1. Real Hackers
2. Fake Hackers
In Front of People's Imagination Real Hackers are those Who Hacks Ultimately into Bank
Accounts, Websites, shuts down any services, and does some amazing things with
computers and they thinks that All Those Real Hackers are Ethical Hackers and they are
Anonymous
In Front of People’s imagination Second one is those Fake Hackers, They think these
Hackers are Noobs, and they knows nothing about hacking and they even can't hack but
claims they are Hackers..
Important Note: Still if you don't know Who are Hackers and the Types Of Hackers,
still don't know the sense Behind Hacking.
Than Seriously Don't Read This Book, As This Book is Not For You, Go Back and Gain
some Basic Knowledge About Hacking
Although This Book is For Beginner Level Hackers, if you're an Intermediate Level or Expert Level
Hacker still this Book will be helpful to you.
NowaDays people are more interested in Hacking & Cyber Security, and i know you’re too
one of them.
Termux Hacking Tutorials By
Techncyber
4
But Technology Has Been Changed and Everything Gets Smarter,
In the Past We Have Used Kali Linux, Backtrack and other OS for any kind of security
auditing & vulnerability scanning, Now We Can Do the Same Stuff Using Our Smartphone
through Termux
Today We are Going To Discover a Linux Environment inside the Android Smartphone and
Start Hacking from your fingertips.
Before We START..
Let Me Tell You about the author, with whom you're now going to spend a little bit of time.
Hello There,
I Am Basudev, a 19 years old boy From Andhra Pradesh, India.
Am a Noobish Hacker and a Blogger,
Me too a Tech enthusiast like you, Moreover i hate to boast myself..
I Have Created This Ebook To Share My Knowledge With The People Like You,
In This Ebook I have tried My Best To Teach you How You Can Hack Through Termux
Android App in a simple and Noob Friendly Way,
But It's your own responsibility How Well You Use This Guide..
Termux Hacking Tutorials By
Techncyber
Table Of Content :
Introduction To Termux
Termux is a Terminal Emulator Plus Linux Environment, That allows us to use the Linux
Environment on our Android within few clicks..
Few Years Back, I Have Tried a lot of apps to setup a Linux Environment on a Smartphone
For Hacking, I Have Tried Debian NoRoot that's Cool but not stable at all, later tried
installing the Kali Linux on Android, That was awesome..
Termux Hacking Tutorials By
Techncyber
7
But that consumes some storage space, that's not good for all of us,
later Found This Awesome Termux App
Firstly Install Termux From Playstore & I Highly Recommend You to use Hackers Keyboard.
Termux Hacking Tutorials By
Techncyber
FAQ…
Not at All, Root is Not Necessary To Use Termux, if You Have Root then you can do
some advanced stuff, if you don't have root then nothing to worry still you can do the same
stuff.
9
● Can i Hack a Android Phone With Termux?
Yes You can Hack Using Metasploit Framework In Termux, Not Only Android
Smartphones you can do even more with Metasploit.
My Answer is Yes and No, Because We Can Create a Wordlist in Termux For Hacking
Wifi, while aircrack-ng, airmon-ng etc, Wifi Hacking Tools Can Be Installed In Termux But
Not Usable In All Devices
10
If you're a Linux User then You can use termux in a ultimate way, if you aren't then no
problem, you can learn Basic Termux Commands and move on.
Termux Hacking Tutorials By
Techncyber
11
in simple words, Termux Commands are the terminal commands, which is executed to
perform a particular task. These commands are similar to Linux Commands.
Before we drive into deep, let's start with some cool commands.
12
Another Cool Command is Sl
Type
pkg install sl
Now lets see what are the background running tasks through termux
top
Now let's find the factor of any number, for that install below package by typing
pkg install coreutils
After that to find the factor of any number then type factor number
eg: factor 100
we can write text in different styles, firstly try with the figlet
Type
After that type figlet and type the text you want to write in figlet style
For Colourful text, you have to install toilet package for that, type below command
13
After that type toilet "your text"
You can also try colour combination eg
Calendar in termux, if you can't to see the calendar in termux then type
cal
apt update
This command used to update the termux built-in busybox and other packages
apt upgrade
To manage and access files in termux then you must type below command
termux-setup-storage
14
cd .. command for goto previous directory
ls command as follows:
15
To access your internal sdcard you have to type cd /sdcard && ls
To Access your External Sdcard the same command is used cd /sdcard0/ && ls
To Remove/delete an empty Directory or a file, use this command : rm -rf filename
For Copying files from one directory to another, cp Command is used
Look at the image we have copied main.png to sdcard
Termux Hacking Tutorials By
Techncyber
16
You can use vim and nano text editors inside termux
To install nano just type pkg install nano then you can use nano by just typing nano
Termux Hacking Tutorials By
Techncyber
17
18
ifconfig Command is used to get all the information regarding to your Network IP
Address
To check a particular website is accessible or not in your ISP then you can check
that through termux by typing
ping website
Eg: ping google.com
The Interesting thing is you can access the internet through termux, directly in
command line
w3m website
eg: w3m google.com
Not Only These you can use many other commands such as cat, man etc. on termux
Termux Hacking Tutorials By
Techncyber
19
Termux Hacking Tutorials By
Techncyber
20
Termux Packages
Termux Packages are more Interesting, in order to manage them we have to use pkg
command
Termux Packages Comes With all the necessary scripts as required to run a specific
program.
For example
what should usually we do when we have to install and use python in our system, we goto
python.org and download the required python version & we use an IDLE as compatible to
our device architecture while linux users have pre installed
But in termux we can install python just by typing pkg install python
just type pkg help you will know how to use pkg commands.
Not only this, Termux also have a lot helpful packages such as nmap, hydra and a lot.
Termux Hacking Tutorials By
Techncyber
21
rogramming Languages ?
P
You may think C, C++, Java, Python, Ruby, Php,Perl etc..
Exactly the same Termux is such a powerful linux environment that can handle the above
Programming Languages.
● C
● C++
● Python 3.x
● Python 2.7
● Ruby
● Perl
● PHP
● And So On
During installation you will be asked that Termux Will use some space just type y and Hit
Enter
22
23
Although These Programming Languages are Enough For Hacking, Still We Can install and
Use Many other programming languages such as Java etc..
You Can Read The Tutorial From
https://propakistani.pk/2018/06/08/here-is-how-you-can-write-and-run-c-java-and-python-pro
grams-on-your-android-devices/
Termux Hacking Tutorials By
Techncyber
24
I Hope This Section Will Be The Most Interesting Part for you, Within Few Minutes We are
Going To see the Linux + Hackers World Inside Our Smartphone.
When it comes to Hacking Tools, There are hundreds even thousands of Tools Available but
am going to present you a few of them.
Which are Very Powerful and Used By Professional Security Researchers, Ethical Hackers
and even Black Hat Hackers
When I Says About Hacking tools People think about Burp Suite, Wireshark and so on, if
you're Too Then Dont Expect That We Cannot Use Such Tools Through Termux, But We
Can Use The Tools Which Are Written In C, C++, Python, Ruby, Perl, Php and so on..
Mainly The Tools Which are Compatible For Termux (Especially The Tools Available For Kali
Linux) and finally those tools used by all kind of Hackers
Note: In This Section i have included a few Tools while there are a lot of tools
available, you can try them later..
When It Comes To Hacking Tools, mainly we should focus on Information Gathering Tools,
Vulnerability Scanning Tools and Exploiting Tools.
There are Hundreds of Tools are Available For Information Gathering, Information
Gathering Is Varies From Hackers To Hackers,
Termux Hacking Tutorials By
Techncyber
25
Let Me explain Clearly,
Information Gathering is Not Just All About Gathering Information on the target IP Address
and servers, its wider and even more than we expect..
There is a huge difference on Information Gathering between the White hat Hackers and
Black Hat Hackers
In This PDF am Not Gonna Teach you the Black Hat way, am just Presenting you the
Professional Security Researcher's Tools
Quick Note: Always Open A New Terminal Session While installing a Tool, as i know
many of you will install all the tools in the first tool's directory
Termux Hacking Tutorials By
Techncyber
26
So Don’t Forget to use new terminal session ( swiping left to find it and click on New
Session before you’re going to install any tool)
#1 Nmap :
Lets See How You Can Install and Use Nmap in Termux
Termux Hacking Tutorials By
Techncyber
27
Installing Nmap in termux is very simple
When you execute the command nmap will be installed in termux within few seconds
#2 Th3Inspector Tool
nother Powerful Tool For Information Tool For Termux is The Inspector which is written
A
in perl
Just type below commands into termux (must type one by one)
cd Th3inspector
28
Finally you will be able to use Th3inspector Tool by typing perl Th3inspector.pl
#3 RED_HAWK Tool
Though i don’t Recommend this tool for Information Gathering at all, still its a great tool for
web application pentesters. It is written in PHP
29
pkg install php
cd RED_HAWK && ls
Now give read and write permission to rhawk.php file, for that type
chmod +x rhawk.php
Now All Done, You Can Run RED HAWK tool by typing
php rhawk.php
#1 Sqlmap:
When it comes to vulnerability scanning, sqlmap will take first place in termux.
Termux Hacking Tutorials By
Techncyber
30
Sqlmap is a Powerful Sql injection scanner, it is widely used by all kind of hackers from
Professional To Noobs.
Mainly its goal is to find sql injection vulnerabilities in Websites so it is packed with
awesome exploits which makes sqlmap loved by All kind of Hackers in the universe..
31
For that type pkg install python2
#2 D-TECT:
Termux Hacking Tutorials By
Techncyber
32
dtect also a good tool for termux, this tool is written in python2,
To install and use this tool, we have to clone the dtect directory from github
Exploitation Tools:
#2 Metasploit:
When it comes to exploitation Tools Metasploit is one of the favourite tool for us.
cd $HOME
wget https://Auxilus.github.io/metasploit.sh
bash metasploit.sh
Termux Hacking Tutorials By
Techncyber
33
Finally run metasploit by typing
./msfconsole
#2 Hydra:
although hydra is not a exploitation tool, it's a powerful tool to crack passwords..
Not Only These Tools, as per your requirement You Can install and use so many tools in
termux
While i have introduced a few tools, you can install the above programs so that you can
install your desired tool in a single click.
Lazymux:
Lazymux Is a has a collection useful Hacking Tools which you can install in a single click
without typing the commands again and again
Termux Hacking Tutorials By
Techncyber
34
cd Lazymux && ls
python2 lazymux.py
#2 Tool-X
Termux Hacking Tutorials By
Techncyber
35
Tool-X Similar To Lazymux, it Contains almost 250 Tools at one place, so that you can
install them in a single click
cd Tool-X && ls
chmod +x install.aex
sh install.aex
Tool-X
Termux Hacking Tutorials By
Techncyber
36
Termux Hacking Tutorials By
Techncyber
37
Final Words
I Hope you might excited to Read this PDF, Due to lack of time i haven't given a good design
to this PDF, and included a few tools and didn't included how to use them (as i thought you
might know how to use them, if not then you should google it).
If You like this Book then please give a feedback through twitter @MuraBasudev
Yet This is a free Ebook, if you don't like it then dont worry, just give me a feedback how to
improve it.
Youtube: https://youtube.com/channel/UC4DRzsEsmpnUM7iXvCiZzPg