How to crack Winrar password with hashcat
- qdras
- Nov 24, 2023
- 2 min read
Updated: Nov 25, 2023
Visit webpage Rar2john
Upload your rar file to webpage Rar2john , press button submit and wait a few seconds or minutes
3. copy extracted hash to text file
4. download hashcat and extrtant it to some folder
5. copy your rar file to the same folder as is hashca.exe
6. create text file hash.txt
7. paste copied hashs to the newly created hash.txt
8. to the opened command prompt enter command
9. type cmd in the path bar and hit enter
10. enter command example command
hashcat -m 13000 hash.txt -a 3 -1 abcd.12345 www.?1?1?1?1?1?1?1?1?1?1
In this example:
-m 13000 is the Hashcat mode for latest RAR files. (rar5 hash in this example)
-a 3 signifies a brute-force attack.
hash.txt would be your file containing the hash of the password.
-1 abcd.12345 defines a custom set of characters (in this case "a", "b", "c", "d", ".", "1", "2", "3", "4", "5").
www.?1?1?1?1?1?1?1?1?1?1 is a mask for a fourteen-character password, where the password starts with www. and each character (?1) can be any of the above. (abcd.12345)
Adjust the length of the mask (?1?1?1?1?1?1) according to the expected length of the password. For example, if the password was expected to be 8 characters starting with www. , you would use www.?1?1?1?1
11. If tha password was successfully cracked enter command bellow, it will show you the password
hashcat -m 13000 hash.txt --show
or you can show the password saved in hashcat.potfile , the file is saved in the same folder as hashscat.exe
You can open it with notepad or another text editor.
The password cracking with brute-force method can take from a few minutes to a few years.
In my case i have tried to crack 14 characters password starting with www. and using symbols abcd.12345 . Hashcat have said it can take maximum 2 days and 16 hours to crack the password.
コメント