Creating a Password List in Termux: We intend to teach you how to create a password list in Termux using the Cupp tool in this article. We had previously taught you how to create a password list in Linux with the Cupp tool in previous posts on the website, but due to your requests, we will teach you this time with Termux.
Installing the Cupp tool and running it in Termux:
To install the Cupp tool in Termux, first, enter the initial commands in Termux:
pkg install git
pkg install python
Then, the Cupp tool itself:
git clone https://github.com/Mebus/cupp.git
First, with this command, enter the Cupp folder:
cd /sdcard
ls
Now, all you have to do is run it using Python:
python cupp.py
If you encounter a syntax error: invalid syntax error, just install Python 2:
pkg install python2
After installing, follow the above steps, and just run Cupp with Python 2 in the last step:
python2 cupp.py
So far, you have learned how to install the Cupp tool in Termux and run it with Python 2. Now let’s get to the main task, which is creating a password list with Cupp in Termux:
The main command:
crunch -t -o
min: the minimum number of characters you want in the password list
max: the maximum number of characters you want in the password list
pattern: password list pattern, for example, creating a password list with fixed numbers that have one or more numbers in them
Example:
93*********
93 is fixed, and the number of the following characters is variable.
Example 2:
I want to create a password list that has a minimum of 3 digits and a maximum of 3 digits, and our pattern is @@a
Where a is fixed, and the rest of the characters are variable. This means that the tool replaces all characters you have placed with @.
crunch 1 3 abcd987 -t a@@ -o /root/Desktop/passlist.text
But if you don’t want any fixed numbers with letters in your password list and you want to create a general password list, just use the following code:
Note that this is not for Android Desktops.
Here’s how to create a password list in Termux, which is similar to creating a password list in Linux.
How to install and use Lazybee in Termux
First, open the Termux environment and then install the necessary prerequisites by using the commands below:
apt-get update -y
apt-get upgrade -y
pkg install python -y
pkg install python2 -y
pkg install git -y
pip install requests
pip install random
After installing the prerequisites, use git to clone the Lazybee tool from GitHub and enter its directory:
git clone https://github.com/noob-hackers/lazybee
cd lazybee
Next, to run the tool and generate a wordlist, use Python as follows:
python lazybee.py
After running the tool, enter the number of characters for the wordlist you want to create.
Then, choose a name for your wordlist file and wait for your wordlist to be generated.
Note: Be careful when entering the number of characters for the wordlist. Choose a number that won’t create a file with a large size so your device is able to store the file.
Creating a phone number database with the Linux tool Crunch in Termux on Android
This tool is similar to Wordlist and Cupp tools, primarily designed for use in brute force attacks and cracking various targets such as Instagram and Facebook accounts, but we want to use it for a different purpose: creating a mobile phone number database!
To get started, open the Termux app and paste these commands one by one:
Update packages
apt update -y
Upgrade repositories
apt upgrade -y
Install the tool
apt install crunch -y
Tool guide
crunch --help
For more guidance, first, install man
with the command below:
pkg install man -y
Then:
man crunch
To exit this mode, press the Control + Z keys simultaneously.
Creating a phone number database:
crunch 11 11 -t 0935@@@@@@@ -o 0935.lst -v 0123456789
/min
Minimum string length, which in this example is 11 since each phone number has 11 digits.
/max
Maximum string length, which again should be set to 11 as the length of the phone number is not more than 11 digits.
-t
With the help of this switch, we first write the phone number prefix (in this example, 0935) and then use the “@” character instead of the next seven digits. In fact, each “@” represents one digit in the example above.
-o
Short for output. With the help of this switch, we define the name and type of the output file format. We can use formats like Txt or lst by first writing the desired output file name and then the format type after a period.
-v
The argument given to this switch will be used by the Crunch tool to create and deliver the desired output.
After the creation process reaches 100%, enter the ls
command in the terminal to make sure the file has been created:
ls
Then view the contents of the created file with this command:
cat 0935.lst
Finally, I created this tutorial video so you don’t have any problems, but I refrained from recording the entire process due to its length.