LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

rarcrack

Brute-force password recovery for archives

TLDR

Crack RAR password
$ rarcrack [archive.rar]
copy
Crack ZIP password
$ rarcrack [archive.zip] --type zip
copy
Crack 7z password
$ rarcrack [archive.7z] --type 7z
copy
Set thread count
$ rarcrack [archive.rar] --threads [4]
copy
Set character set
$ rarcrack [archive.rar] --charset [abc123]
copy
Resume cracking
$ rarcrack [archive.rar]
copy

SYNOPSIS

rarcrack archive [--type format] [--threads n] [--charset chars]

DESCRIPTION

rarcrack recovers passwords from encrypted RAR, ZIP, and 7Z archives using brute-force testing of all possible character combinations. It systematically tries passwords of increasing length from a configurable character set, with the archive type either auto-detected from the file extension or explicitly specified.The tool automatically saves progress to an XML status file alongside the archive, allowing interrupted sessions to resume from the last tested position without starting over. Multi-threading distributes password testing across available CPU cores for faster throughput. Narrowing the character set with --charset significantly reduces the search space when the password composition is partially known.

PARAMETERS

--type FORMAT

Archive type (rar, zip, 7z). Auto-detected from file extension if not specified.
--threads N
Number of threads for parallel password testing.
--charset CHARS
Characters to use in brute-force attempts. Narrowing this reduces search space significantly.
-h, --help
Show help.

INSTALL

sudo apt install rarcrack
copy
sudo pacman -S rarcrack
copy
nix profile install nixpkgs#rarcrack
copy

CAVEATS

Brute-force is slow for long passwords. For authorized recovery only. Strong passwords may be impractical.

HISTORY

rarcrack was created for password recovery from encrypted archives. It provides a simple brute-force tool for RAR, ZIP, and 7Z files.

SEE ALSO

john(1), hashcat(1), zip2john(1), rar2john(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid