2021-10-31 02:43:24 +02:00
|
|
|
# Hashcat Utilities
|
|
|
|
|
2022-08-30 22:15:41 +02:00
|
|
|
* [Modes](https://hashcat.net/wiki/doku.php?id=example_hashes)
|
|
|
|
|
|
|
|
## Wordlists
|
|
|
|
|
2021-10-31 02:43:24 +02:00
|
|
|
* Combine wordlists
|
|
|
|
```sh
|
|
|
|
combinator wordlist.txt otherwordlist.txt > newwordlist.txt
|
|
|
|
```
|
2022-08-03 00:30:03 +02:00
|
|
|
|
|
|
|
* Create wordlist
|
|
|
|
```sh
|
|
|
|
hashcat --force <input.txt> -r /opt/hashcat/rules/best64.rule --stdout > wordlist.txt
|
|
|
|
```
|
2022-08-30 22:15:41 +02:00
|
|
|
|
|
|
|
## Using Masks
|
|
|
|
|
|
|
|
* A mask can be set instead of a wordlist, this charset is then brute forced by iterating the charset
|
|
|
|
* [Masks](https://hashcat.net/wiki/doku.php?id=mask_attack)
|
|
|
|
* Bruteforcing seven lowerspace characters using `SHA2-384` as an example
|
|
|
|
```sh
|
|
|
|
hashcat -m 10800 -a 3 hash.out ?l?l?l?l?l?l?l
|
|
|
|
```
|