- Best Tools Termux Part 2 Terminal emulator Linux environment for Android
- Best Tools Termux Part 2 Terminal emulator Linux environment for Android
- 1: Sploitgen
- How to install sploitgen
- 2: Goingphishing
- How to install Goingphishing
- 3: Nethunter
- How to install Nethunter
- 4: Lazysqlmap
- how to install Lazysqlmap
- Android Hacking with Termux
- Features Termux Application
- Termux has some Extra features
- Rooting your Mobile Phone
- INSTALL TERMUX
- DOWNLOAD Termux
- INSTALLING PACKAGES FROM APT REPOSITORY
- Warning
- Just like with Linux you can use the help function in Termux
- Or install man for the manual pages
- List all packages
- PYTHON AND PIP
- PYTHON 3 AND PIP 3
- PYTHON 2 AND PIP 2 TERMUX
- SOME TEXT EDITORS
- Storage Settings
- To access shared and external storage you need to run
- INSTALL METASPLOIT FRAMEWORK
- Warning
- Use Metasploit
- The following step is to run metasploit-framework type this commands
- INSTALL UBUNTU ON ANDROID
- W3M INSTALL
- SL INSTALL
- INSTALL TOP
- FIGLET INSTALL
- Usage
- CMATRIX INSTALL
- Install Toilet
- Usage
- INSTALL VARIOUS HACKING TOOLS ON TERMUX
- INSTALL NMAP
- Usage
- INSTALL HYDRA
- INSTALL SHODAN EYE ON TERMUX
- Usage
- Install Dorks Eye on Termux
- Usage Termux
- Video Android Hacking with Termux | Dorks Eye Google Dork Script
- INSTALLING GITHUB “HACKING TOOLS” ON YOUR TERMUX
- INSTALL LAZYMUX
- HACKING ANDROID WITH TERMUX
Best Tools Termux Part 2 Terminal emulator Linux environment for Android
Best Tools Termux Part 2 Terminal emulator Linux environment for Android
we discussed the best hacking tools you can use on Termux terminal emulator. There is a few tools we forgot to mention so we have decided to write part 2.
Termux is an Android terminal emulator and Linux environment app that works directly with no rooting or setup required. A minimal base system is installed automatically – additional packages are available using the APT package manager. – https://termux.com
To install tools in Termux we will be using Linux command line sometimes Androids default keyboard can become annoying when using Termux as missing the key layout you’re used to from your computer. Hackers Keyboard has separate number keys, punctuation in the usual places, and arrow keys. It is based on the AOSP Gingerbread soft keyboard, so it supports multi-touch for the modifier keys. Hackers Keyboard is especially useful if you use ConnectBot for SSH access.
To install these tools in Termux you need to copy the commands below and paste them into Termux terminal.
1: Sploitgen
Sploitgen is a msfvenom payload generator that uses ssh for forwarding ports.
How to install sploitgen
2: Goingphishing
Well here’s another one are tools going phishing is a spare phishing tool uses ngrok for port forwarding with load of site templates Facebook,eBay,Instagram,hi5,badoo, etc load more
How to install Goingphishing
3: Nethunter
What is nethunter . Kali NetHunter is an Android ROM overlay that includes a mobile penetration testing platform. … The overlay includes a custom kernel, a Kali Linux chroot, and an accompanying Android application, which allows for easier interaction with various security tools and attacks.
How to install Nethunter
- Download script in HOME curl -LO https://raw.githubusercontent.com/Hax4us/Nethunter-In-Termux/master/kalinethunter
- Give execution permission chmod +x kalinethunter
- Run script ./kalinethunter
- Now just start kali nethunter startkali
4: Lazysqlmap
Lazysqlmap is an an automated version of popular penetration testing tool Sqlmap for Termux.
how to install Lazysqlmap
Thank you for reading hope this article will help you happy hacking.
All the best Laughingman.
If you have found a spelling error, please, notify us by selecting that text and pressing Ctrl+Enter.
Источник
Android Hacking with Termux
If you want to immerse yourself more about how to hack withВ Android, thenВ TermuxВ is a very good “App” to use an discover. I have been using it for a long time and I still love to see what you can do with it! And that with or without root privileges.
Because the possibilities with Termux are almost unlimited, I would not be able to cover everything in this article, but I will try my level best to provide you a good start.
Termux is a terminal emulator for Android with a Linux environment. A minimal base system is installed automatically and additional packages are available using the apt and dpkg package management, similar to Debian or Ubuntu.
Termux is only available on Android 5.0 or later
Features Termux Application
- Secure
- Customizable
- Ready to Scale Up
- Programming
Termux has some Extra features
- Termux API
- Termux Boot
- Termux Float
- Termux Styling
- Termux Task
- Termux Widget
Rooting your Mobile Phone
There are so many types of Phones. All have a different way to root them. Also be aware that if you root your phone, you always have to be sure of whatever you do / download. “If you’re not familiar with Android’s tools and how to fix issues with a command line, you probably shouldn’t dive into rooting your phone. Root a phone can be a lot of fun to play around with, but it can also lead to plenty of frustration as you try to fix errors caused by overzealous modding.” Have fun But stay aware of the risks 😀
INSTALL TERMUX
DOWNLOAD Termux
Open the Termux App in the Google Play StoreВ https://play.google.com/store/apps/details?id=com.termuxВ and click onВ download. After the Termux App is installed, you first have to do an update and an upgrade exactly like in a normal Linux system.
INSTALLING PACKAGES FROM APT REPOSITORY
In Termux it is recommended to use package manager pkg which is a wrapper for apt. It simplifies installing or upgrading packages by automatically updating apt lists so you don’t have to type apt update when installing or upgrading packages.
For myself, I always use theВ aptВ instead ofВ pkgВ a kind of getting used to it. Here in this article, I would give a good example usingВ pkg, but as you can see on the pictures, I am using on my sideВ aptВ
For more information about available commands, you can either just run pkg without arguments or usingВ help В argument:
Warning
If you prefer to useВ apt В overВ pkg В — never run it as root as you will mess up file permissions and SELinux contexts so you won’t be able to use it as a normal user.
As you see above, Termux looks exactly like a Terminal in Linux and you can compare Termux with a minimal Linux Installation where you can install everything yourself and set up the way you like it.
Just like with Linux you can use the help function in Termux
Or install man for the manual pages
List all packages
PYTHON AND PIP
Termux has completely switched to python3. Python2 no longer has support. But you can still install python 2 scripts. How to install python2 on Termux, I show this below. Pip packages are now automatically installed with python.
PYTHON 3 AND PIP 3
Termux has completely switched to python3. This is the command to use.
PYTHON 2 AND PIP 2 TERMUX
For some scripts you still need python 2, this is how you install it. It is now not necessary to install pip 2, this is automatically included.
SOME TEXT EDITORS
Storage Settings
To grant storage permissions in Android go to Settings > Apps > Termux > Permissions and select storage, then runВ termux-setup-storage В in Termux.
To access shared and external storage you need to run
You will then be prompted to “Allow Termux access photos, media, and files on your device”, which you should allow. ExecutingВ termux-setup-storage В ensures that permission to shared storage is granted to Termux when running on Android 6.0 or later. That an app-private folder on external storage is created (if external storage exists).
INSTALL METASPLOIT FRAMEWORK
The world’s most used penetration testing framework.
Use the following commands to install the package (only for Android 7 or higher):
If your device running Android OS versions 5.x.x-6.x.x, use these commands instead (unstable-repo is not available for legacy installations):
Installation may take long time since additional Ruby gems will be installed. Do not close Termux sessions until installation finishes to avoid introducing of potential inconsistencies in $PREFIX.
Warning
Do not manually upgrade Metasploit installed through the package with editing contents ofВ $PREFIX/opt/metasploit . This will likely break installation and result in dependency problems. Do not report issues if you did this.
To start simply type:
Use Metasploit
Wlan’s Inet is the IP address your connection is currently using. To know your Wlan’s inet open a new session and typeВ ifconfig В and copy theВ inetВ of theВ WlanВ and paste it into your payload (after LHOST=). Go to your file manager then find your payload name
The following step is to run metasploit-framework type this commands
If the target is downloading the payload, you will see the meterpreter session starting. As usual with the “help” function you can see all the available commands.
INSTALL UBUNTU ON ANDROID
Ubuntu chroot for Termux. This chroot provides the latest Ubuntu version (19.04 Disco Dingo). But before you use it, you need to installВ WgetВ andВ PRootВ to install Ubuntu chroot in Termux.
After you install Wget and PRoot, you can install Ubuntu chroot using this command:
After Ubuntu chroot downloaded, you can run it by executingВ ./start-ubuntu.sh . If you are already inside your $HOME directory, you can run it with this command:
After installing the Ubuntu environment, you have to un-minimize the setup run:
To turn on our Termux with some good pentest tool we will need first to install some primary packages as well, which will be required later.
W3M INSTALL
w3m is a text-based web browser as well as a pager-likeВ more’ or less’. With w3m you can browse web pages through a terminal emulator window (xterm, rxvt or something like that). Moreover, w3m can be used as a text formatting tool that typesets HTML into plain text.
To exit press ctrl + z
SL INSTALL
You will see a moving train which you can control if the setup of Termux is running.
INSTALL TOP
“top” command allows you to see all the running processes. Type –help for more info / Type -q to quite the program.
FIGLET INSTALL
Usage
CMATRIX INSTALL
With this awesome terminal, you can really impress all your friends.
Install Toilet
Usage
INSTALL VARIOUS HACKING TOOLS ON TERMUX
Warning: There are a lot of “Termux Hacking Tutorials” on the Internet which provide suspicious software meant to be used as hacking tools. Most of them are justВ clickbaitВ and don’t actually work. Some of them force users to install malware on their devices.
Tools like aircrack-ng or tcpdump can be found in the Termux Root Packages repository. But remember that Aircrack-ng requires wifi monitor mode which is not available in most devices.
INSTALL NMAP
Utility for Network Discovery, Security Scanner, Port Scanner, & Network Exploration Tool.
Usage
INSTALL HYDRA
Hydra is one of the best password cracking and brute-forcing tool. It supports different services like telnet, ssh, ftp, etc. More information can be found in the officialВ GitHubВ repository.
INSTALL SHODAN EYE ON TERMUX
Shodan Eye is a script I made in python. This tool collects all information about all devices that are directly connected to the internet with the specified keywords that you enter. This way you get a complete overview. The types of devices that are indexed can vary enormously: from small desktops, refrigerators to nuclear power plants, and everything in between. You can find everything using “your own” specified keywords.
A collection of search queries for Shodan has attached: “Shodan Dorks … The Internet of Sh*t” The information obtained with this tool can be applied in many areas, a small example: Network security, keep an eye on all devices in your company or at home that is confronted with the internet. Vulnerabilities. And so much more.
Shodan Eye can be installed and use very easy on Termux. This is a very big change, with old versions of Termux you had to make quite a few detours before you could install Shodan Eye. I have tested a lot, and it runs really well on Termux as well.
Usage
You will be asked for a Shodan API key
Here in this article, you can read more about and the use of the Shodan Eye. Also, more info to find about the APK key that is needed. (Free)
Shodan Eye Ethical Hacking Tool Release
Install Dorks Eye on Termux
Dorks Eye can also be used in Termux .
Dorks Eye is a script I made in python 3. With this tool, you can easily find Google Dorks. Dork Eye collects potentially vulnerable web pages and applications on the Internet or other awesome info that is picked up by Google’s search bots. You can save the output in a file so that you can view it at a later time. You can determine the number of searches yourself. The number of websites to display
Dorks Eye Google Hacking Dork Scraping and Searching Script
Usage Termux
Video Android Hacking with Termux | Dorks Eye Google Dork Script
Become a member on Odysee.com
Earning on Odysee for watching videos ♥️
Here an invitation link, so that we both benefit.
In this way, you also support my work.
INSTALLING GITHUB “HACKING TOOLS” ON YOUR TERMUX
There are a number of GitHub tools available. Please note, if your Android phone is not rooted then some of these tools will not work. In this article, we did not talk about rooting on a mobile phone. Maybe we will come back to this later in another article.
INSTALL LAZYMUX
Lazymux tools installer is very easy to use, only provided for lazy Termux users.
Источник
HACKING ANDROID WITH TERMUX
Android Hacking with Termux
If you want to immerse yourself more about how to hack with Android, then Termux is a very good “App” to use an discover. I have been using it for a long time and I still love to see what you can do with it . With or without root.
Because there is as much as possible with Termux, I would not be able to cover everything in this article, but I would ensure it’s a good start.
Termux is a terminal emulator for Android with a Linux environment. A minimal base system is installed automatically and additional packages are available using the apt and dpkg package management, similar to Debian or Ubuntu.
Termux is only available on Android 5.0 or later
Features Termux Application
- Secure
- Customizable
- Ready to Scale Up
- Programming
Termux has some Extra features
- Termux API
- Termux Boot
- Termux Float
- Termux Styling
- Termux Task
- Termux Widget
Open the Termux App in the Google Play Store https://play.google.com/store/apps/details?id=com.termux and click on download. After the Termux App is installed, you first have to do a update and a upgrade.
Installing packages from APT repository
In Termux it is recommended to use package manager pkg which is a wrapper for apt. It simplifies installing or upgrading packages by automatically updating apt lists so you don’t have to type apt update when installing or upgrading packages.
For myself I always use the apt instead of pkg a kind of getting used to it. Here in this article I would give a good example pkg, but as you can see on the pictures, I am staying with apt 😀
For more information about available commands, you can either just run pkg without arguments or like this:
Warning: if you prefer to use apt over pkg — never run it as root as you will mess up file permissions and SELinux contexts so you won’t be able to use it as a normal user.
As you see above, Termux looks exactly like a Terminal in Linux and you can compare Termux with a minimal Linux Installation where you can install everything yourself and set up the way you like it.
Just like with Linux you can use the help function
Or install man for the manual pages of the various tools
List all packages
Install Python and Pip
Install Python3 and Pip3
Install Some Text Editors
To grant storage permissions in Android go to Settings > Apps > Termux > Permissions and select storage, then run termux-setup-storage in Termux.
To access shared and external storage you need to run
You will then be prompted to “Allow Termux access photos, media and files on your device”, which you should allow.
Executing termux-setup-storage ensures
That permission to shared storage is granted to Termux when running on Android 6.0 or later. That an app-private folder on external storage is created (if external storage exists). That a folder $HOME/storage is created.
Install Metasploit framework
Just copy and paste this URL in Termux
Then give it the permission to run:
Then start the installation process. It will take some time to install the Metasploit framework.
To start simply type: (It will take some time to open the console.)
Use Metasploit
Wlan’s Inet is the IP address your connection to know your Wlan’s inet open a new session and type “ifconfig” and copy the inet of the Wlan and paste it into your payload (after LHOST=).
Go to your file manager then find your payload name
The following step is to run metasploit-framework type this commands
If the target is download the payload, you can see the meterpreter session is started. with the “help” function you can see all the commands to use.
Install Ubuntu on Android
Ubuntu chroot for Termux. So, this chroot has an latest Ubuntu version (19.04 Disco Dingo). But before you use it, you need install Wget and PRoot to install Ubuntu chroot in Termux.
After you install Wget and PRoot, you can install it by execute this command:
After Ubuntu chroot downloaded, you can run it by executing command ./start-ubuntu.sh. If you are in $HOME directory, you can run it with this command:
After install the Ubuntu environment, you have to unminimize the setup run:
We have to install a lot of packages well this is a minimum install and I like to do this at once.
Because you need python for the various tools you would like to use, you must install these packages below, this applies to both python 2.7 and python 3
w3m is a text-based web browser as well as a pager like more’ orless’. With w3m you can browse web pages through a terminal emulator window (xterm, rxvt or something like that). Moreover, w3m can be used as a text formatting tool which typesets HTML into plain text.
You will be see a moving train and you can control if the setup of Termux is running.
“top” command You will see all the running processes on your mobile
With this awesome terminal, you can really impress all your friends,
Install various hacking tools on Termux
Warning: There are a lot of “Termux hacking tutorials” on the Internet which provide suspicious software meant to be used as hacking tools. Most of them are just clickbait and don’t actually work. Some of them force users to install malware on their devices.
Tools like aircrack-ng or tcpdump can be found in the Termux Root Packages repository. But note that Aircrack-ng requires wifi monitor mode which is not available for the most devices.
Utility for Network Discovery, Security Scanner, Port Scanner, & Network Exploration Tool.
Hydra is one of the best password cracking and brute-forcing tool. It supports different services like telnet, ssh, ftp, etc. More information can be found in them official GitHub repository.
Install Shodan Eye**
I succeeded in installing Shodan Eye, for which I installed it in the Termux Ubuntu environment. It works without any errors
Installing GitHub “hacking tools” on your Termux
There are a number of GitHub tool available that makes installing various hacking tools easy. Please note, if your Android phone is not rooted then some of these tools will not work. In this article I did not talk about rooting a mobile phone. Maybe we will come back to this later in another article.
Lazymux tools installer is very easy to use, only provided for lazy termux users.
Tool-X is a Kali Linux Tool installer. In the Tool-X there are 250+ hacking tools available for Termux. You can install any tool by single click. Tool-X is Specially made for Termux and GNURoot Debian Terminal. Tool-X is also available for Ubuntu.
IMPORTANT THINGS TO REMEMBER
- This article was written for educational purpose and pen-test only.
- The author can not be held responsible for damages caused by the use of these resources.
- You will not misuse the information to gain unauthorized access.
- This information shall only be used to expand knowledge and not for causing malicious or damaging attacks.
- Performing any hacks without written permission is illegal.
Finally
There is so much to tell about what you all can do with your mobile phone and Termux and it’s so much fun and great. I really hope you have learned something from this article so that you can apply it.
Источник