How to crack a password like
***45990405******2017 using Hashcat? * is all numbers.
To crack a password like ***45990405******2017 , assume * represents an unknown number, and the password is all numbers. You can use Hashcat's mask attack. Here are the specific steps:
The password structure is:
The first 3 digits are unknown numbers (***)
The middle part is known 45990405
The last 6 digits are unknown numbers (******)
The last 4 digits are known 2017
Therefore, the total length of the password is 3 + 8 + 6 + 4 = 21 digits.
Hashcat Mask attacks can crack passwords by specifying known and unknown parts. Assuming the known part is fixed and the unknown part is ? d represents a number.
The mask format is:
text
? d? d? d45990405? d? d? d? d? d? d2017
Assuming you have the hash file hashes.txt ready, you can use the following command:
bash
hashcat -m <hash_type> -a 3 hashes.txt ? d? d? d45990405? d? d? d? d? d? d2017
where:
-m <hash_type>: Specify the hash type, for example, MD5 is 0, SHA1 is 100, and replace it according to the actual situation.
-A 3: Specify the mask attack mode.
hashes.txt: The file containing the target hash.
? d? d? d45990405? d? d? d? d? d? d2017: Mask mode.
If the password is long, it may take longer to crack. This can be optimized by:
GPU acceleration: Ensure that Hashcat runs on the GPU.
Dictionary attack: If there is a dictionary with partial passwords, you can combine it with a dictionary attack.
Distributed cracking: Cracking using multiple machines in parallel.
Assuming the hash type is MD5, the command is as follows:
bash
hashcat -m 0 -a 3 hashes.txt ? d? d? d45990405? d? d? d? d? d? d2017
Through masking attacks, Hashcat can efficiently crack this partially known digital password. Make sure to select the appropriate hash type and hardware resources to speed up cracking.