Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have .rar file that is password protected, but I accidentally have forgotten the password. The file extremely important to me.

How can I get my file back? In windows, there was many programs that could remove the password of such a file. Is there one for Ubuntu?

share|improve this question

Two more options are:

I have a archive to recover and currently running the first software. With second option - still haven't found a way to do it :/

share|improve this answer
Added question about JTR software. – radek Oct 18 '12 at 0:56

frcackzip is also one of the password cracker. It can do bruteforce attack also. sudo apt-get install fcrackzip

can install that.

usage: fcrackzip -u -c aA1 -l 4-6

  • The -c option lets you select the characterset, 'a' here means lower-case alphabets(small letters).
  • The -p option lets you select an initial string to start brute-force attack.
  • If you run fcrackzip without the -u option then it will throw a lot of possible passwords. When used with -u, it will try to decompress the file with those possible passwords, thus letting you know the exact one.

  • aA1 are indicating that smallcase, uppercase & numbers will include in search.

  • If you'd lile to include sepcial char also then you can go for ! .I mean it will be now aA1!
  • -l stands for length , 4-6 letters.
share|improve this answer
What about .rar files? – Costa Jun 12 '15 at 17:34
The OP specifically mention RAR, not ZIP. – user1147688 Feb 13 at 14:34

I would say find some of those programs and run them under Wine. I'm not sure if you've ever tried this process before, but it takes a VERY long time to complete. I wish you luck in recovering those files! I know that pain...It's almost tragic :(

share|improve this answer

cRARk has a linux client - I've never had the patience to run it, but you might have some luck.

share|improve this answer

protected by fossfreedom Oct 23 '13 at 21:46

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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