Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
ZIP password recovery

I have rar & zip files that I made a year ago and I don't remember the password. Is there a way to recover it?

share|improve this question

migrated from stackoverflow.com Mar 29 '11 at 12:53

This question came from our site for professional and enthusiast programmers.

marked as duplicate by Tom Wijsman, BloodPhilia, studiohack Mar 30 '11 at 15:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

I think that the only way you can try is the Bruteforce method. There are many tools that can do the job but it's a really bad/long/... solution.

On linux, you can try Rarcrack.

Example :

rarcrack archive_encrypted.ext [--threads thread_num] [--type rar|zip|7z]

According to the documentation :

Everything in [] are optional, rarcrack default crack two threads and autodetect the archive type. If the detection wrong you can specify the correct file type with the type parameter. RarCrack currently crack maximum in 12 threads.

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).

<?xml version="1.0" encoding="UTF-8"?>
  <rarcrack>
    <abc>0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</abc>
    <current>uU</current>
    <good_password></good_password>
  </rarcrack>

This is a sample XML file, and you see there is a character set. If you want, you can modify this file and when you start RarCrack again the program will be use new variables.

Warning: Take care when you changing this file, make sure the current password don't have characters outside the abc[character set]!

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.