Howto Crack Rar, 7z, and zip files in Linux

Howto Crack Rar, 7z, and zip files in Linux

Postby Muhammad Shoaib » Mon Apr 28, 2008 3:25 am

If you forget your password for compressed archive (rar, 7z, zip), this program is the solution.This program uses bruteforce algorithm to find correct password. You can specify wich characters will be used in password generations.

Warning: Please don’t use this program for any illegal things!

Preparing your system

First you need to install the following package
Code: Select all
#apt-get install libxml2-dev build-essential


Now you need to download the latest version of rarcrack from here

Code: Select all
#wget http://surfnet.dl.sourceforge.net/sourceforge/rarcrack/rarcrack-0.2.tar.bz2


Now you have rarcrack-0.2.tar.bz2 file and you need to extract this file
Code: Select all
#tar -xjf rarcrack-0.2.tar.bz2

#cd rarcrack-0.2

#make


You must be root to run the following command

Code: Select all
#make install


Using Rarcrack

Code: Select all
rarcrack your_encrypted_archive.ext [--threads thread_num] [--type rar|zip|7z]


Example

Code: Select all
rarcrack something.rar


After the cracking started RarCrack will print the current status of cracking and save it’s to a status file. If you want more specific password character set, you need to run RarCrack to create the XML status file (3 sec).


Original Article at: http://www.debianadmin.com/howto-crack-rar-7z-and-zip-files-in-linux.html
Thank you for reading the post,
Muhammad Shoaib,
COSP BDFL,
Community for Open Source Promotion.
Open Source - Opportunities Unlimited
COSP Site | COSP Forums | Join Us | Support Us | Request Event | Send Feedback | COSP-General Mailing List | COSP Recruitees Group
User avatar
Muhammad Shoaib
Administrator
Administrator
Full Member
Full Member
 
Posts: 138
Joined: Fri Mar 21, 2008 7:12 pm
Location: Islamabad, Pakistan

Return to Open Source Operating System

Who is online

Users browsing this forum: No registered users and 1 guest

cron