RAR (Roshal Archive)

RAR is a proprietary archive file format that supports data compression, error correction and file spanning.

Decrypt

First of all, you need to format the RAR file to make the John to recognize it.

rar2john example.rar > hash.txt

Crack the password using the formatted text.

john --wordlist=wordlist.txt hash.txt