Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 1
---
### Step 1: Extract hash from RAR
Install **`rar2john`** (comes with John the Ripper) and run:
```bash
rar2john file.rar > hash.txt
```
This produces a hash in `hash.txt`.
---
Use hash mode 13000 (RAR5) or 12500 (RAR3). Example with a wordlist (rockyou.txt):
hashcat.exe -m 13000 -a 0 hash.txt wordlist.txt-m 13000→ RAR5 archive-m 12500→ RAR3 archive-a 0→ straight (dictionary) attackhash.txt→ your hash filewordlist.txt→ your wordlist file
hashcat.exe -m 13000 --show hash.txtDo you know if your RAR file is RAR3 or RAR5? That decides whether you should use mode 12500 or 13000.