rarcrack icon indicating copy to clipboard operation
rarcrack copied to clipboard

rarcrack cannot crack rar

Open wbsedu opened this issue 8 years ago • 20 comments

When I carck test.zip. rarcrack can work normally.

`$ rarcrack --type zip t.zip RarCrack! 0.2 by David Zoltan Kedves ([email protected])

INFO: the specified archive type: zip INFO: cracking t.zip, status file: t.zip.xml INFO: Resuming cracking from password: '1fV' Probing: '1P1' [724 pwds/sec] Probing: '2oz' [734 pwds/sec] Probing: '2Y6' [734 pwds/sec] Probing: '3xL' [737 pwds/sec] Probing: '47p' [736 pwds/sec] Probing: '4FQ' [711 pwds/sec] Probing: '5ec' [710 pwds/sec] Probing: '5NA' [731 pwds/sec] Probing: '6n8' [734 pwds/sec] Probing: '6Wo' [728 pwds/sec] ....... `

But when I test test.rar, it works out the password word quickly. But this password doesn't match the real pasaword.

`$ rarcrack --type rar test.rar RarCrack! 0.2 by David Zoltan Kedves ([email protected])

INFO: the specified archive type: rar INFO: cracking test.rar, status file: test.rar.xml GOOD: password cracked: '0' GOOD: password cracked: '1' `

What's wrong with? I also want to kown that this the method of decide the length of the first crack. Thanks.

wbsedu avatar Jul 24 '16 08:07 wbsedu

Do you have links to test.zip and test.rar?

jaredsburrows avatar Jul 31 '16 02:07 jaredsburrows

Using the original rar from the code. The threading seems to miss the password which is "100".

See this(single thread):

$ ./rarcrack --type rar test.rar 
RarCrack! 0.2 by David Zoltan Kedves ([email protected])

INFO: the specified archive type: rar
INFO: cracking test.rar, status file: test.rar.xml
Probing: '56' [125 pwds/sec]
Probing: 'b4' [123 pwds/sec]
Probing: 'gX' [121 pwds/sec]
Probing: 'mT' [122 pwds/sec]
Probing: 'sz' [117 pwds/sec]
Probing: 'xJ' [106 pwds/sec]
Probing: 'CH' [102 pwds/sec]
Probing: 'HO' [105 pwds/sec]
Probing: 'MY' [106 pwds/sec]
Probing: 'S6' [106 pwds/sec]
Probing: 'WZ' [101 pwds/sec]
Probing: '01U' [101 pwds/sec]
Probing: '06U' [103 pwds/sec]
Probing: '0bY' [104 pwds/sec]
Probing: '0gI' [98 pwds/sec]
Probing: '0ly' [100 pwds/sec]
Probing: '0qy' [103 pwds/sec]
Probing: '0v6' [94 pwds/sec]
Probing: '0Ag' [106 pwds/sec]
Probing: '0EM' [93 pwds/sec]
Probing: '0Jx' [98 pwds/sec]
Probing: '0Oc' [96 pwds/sec]
Probing: '0Ta' [102 pwds/sec]
Probing: '0Y4' [101 pwds/sec]
GOOD: password cracked: '100'

See this(2 threads):

$ ./rarcrack --threads 2 --type rar test.rar 
RarCrack! 0.2 by David Zoltan Kedves ([email protected])

INFO: the specified archive type: rar
INFO: cracking test.rar, status file: test.rar.xml
Probing: '5h' [129 pwds/sec]
Probing: 'bm' [125 pwds/sec]
Probing: 'hu' [126 pwds/sec]
Probing: 'nA' [126 pwds/sec]
Probing: 'tJ' [127 pwds/sec]
Probing: 'zT' [127 pwds/sec]
Probing: 'FV' [124 pwds/sec]
Probing: 'LV' [124 pwds/sec]
Probing: 'RN' [121 pwds/sec]
Probing: 'XS' [125 pwds/sec]
Probing: '03I' [120 pwds/sec]
Probing: '09u' [119 pwds/sec]
Probing: '0fe' [118 pwds/sec]
Probing: '0l4' [120 pwds/sec]
Probing: '0qM' [118 pwds/sec]
Probing: '0wq' [116 pwds/sec]
Probing: '0Ci' [121 pwds/sec]
Probing: '0I4' [119 pwds/sec]
Probing: '0NG' [116 pwds/sec]
Probing: '0Tx' [121 pwds/sec]
Probing: '0Zj' [119 pwds/sec]
GOOD: password cracked: '100'

jaredsburrows avatar Jul 31 '16 02:07 jaredsburrows

What does the flag --threads do?

aurovrata avatar Oct 28 '16 10:10 aurovrata

@aurovrata number of threads to use when trying to crack the password. Having more CPU allows you to utilize more threads and could give you more power when cracking passwords(for this program atleast).

jaredsburrows avatar Oct 28 '16 16:10 jaredsburrows

Thanks for the reply, makes sense. Quick other question, is there no way to feed a wordlist to rarcrack?

aurovrata avatar Oct 28 '16 16:10 aurovrata

@aurovrata As of now, no. I didn't write this, only fixed a few warnings and errors to run on Mac OSX. That would be a good idea though!

jaredsburrows avatar Oct 29 '16 02:10 jaredsburrows

Hello… I am not a programmer or developer. I am just a designer. I really wanna run this on an old RAR file. Can you please explain to me how to run this on a MAC ? Thanks. Because stuffs on GitHub, are super hard to use. I need to run something by Terminal ? ? i don't know…

dj-sash avatar Oct 04 '17 19:10 dj-sash

@dj-sash Everything you need is in the readme(https://github.com/jaredsburrows/rarcrack#compile).

make
./rarcrack <file>

You need to make sure you have the correct tools via xcode-select --install.

jaredsburrows avatar Oct 04 '17 20:10 jaredsburrows

Didn't install Xcode :((

dj-sash avatar Oct 05 '17 11:10 dj-sash

Can you please tell me what are the tools that I need?

dj-sash avatar Oct 05 '17 11:10 dj-sash

You really need to use @Google. See: https://developer.apple.com/xcode/downloads/.

jaredsburrows avatar Oct 05 '17 15:10 jaredsburrows

I have the same problem. In my case the encrypted files are inside a folder located in the root of rar file.

for exemple. file.rar > folder >> file1.img >> file2.img >> file3.img

armandobs14 avatar Jan 10 '18 13:01 armandobs14

Hi guys, how many time needs to crack password for test.rar?

I typed the following commands and after 15 minutes no password has been found on macbook air 13 2016:

git clone https://github.com/jaredsburrows/rarcrack.git
cd rarcrack
make 
./rarcrack --type rar test.rar 
RarCrack! 0.2 by David Zoltan Kedves ([email protected])
INFO: the specified archive type: rar
INFO: cracking test.rar, status file: test.rar.xml
[...]
Probing: 'ZZW' [208 pwds/sec]
Probing: '00a0' [208 pwds/sec]
Probing: '00kg' [212 pwds/sec]

Is it normal?

davidegurgone avatar Apr 15 '18 10:04 davidegurgone

screenshot from 2018-05-09 23-33-25 here i am getting this error while i am using make code.pls help me with this to install rarcrack.its emergency

felix143 avatar May 09 '18 18:05 felix143

Doesn't work for me... doesn't detect rar, skips right past 100 on on my Mac, same as Linux though, doesn't work there either. :(

deftdawg avatar Jun 08 '18 04:06 deftdawg

Hi,I have the same problem,I can crack the test.zip ,but can't crack the test.rar on my macos, I have not edit any code,please help me,thanks ` toby$ ./rarcrack --type rar test.rar RarCrack! 0.2 by David Zoltan Kedves ([email protected])

INFO: the specified archive type: rar INFO: cracking test.rar, status file: test.rar.xml Probing: '8T' [204 pwds/sec] Probing: 'iG' [202 pwds/sec] Probing: 'sI' [207 pwds/sec] Probing: 'CE' [205 pwds/sec] Probing: 'Mt' [203 pwds/sec] Probing: 'Wp' [205 pwds/sec] Probing: '058' [180 pwds/sec] Probing: '0eE' [196 pwds/sec] Probing: '0od' [197 pwds/sec] Probing: '0y5' [204 pwds/sec] Probing: '0HY' [204 pwds/sec] Probing: '0Ry' [198 pwds/sec] Probing: '11z' [207 pwds/sec] Probing: '19Y' [173 pwds/sec] Probing: '1j3' [187 pwds/sec] Probing: '1rQ' [181 pwds/sec] Probing: '1zB' [160 pwds/sec] Probing: '1Id' [178 pwds/sec]`

tobysunx avatar Dec 15 '18 03:12 tobysunx

I have a similar problem with a zip file:

mmn@Deskpro-01:~/Temp$ rarcrack --type zip EuroTruckSimulator2PC.zip RarCrack! 0.2 by David Zoltan Kedves ([email protected])

INFO: the specified archive type: zip INFO: cracking EuroTruckSimulator2PC.zip, status file: EuroTruckSimulator2PC.zip.xml GOOD: password cracked: '0' GOOD: password cracked: '1' mmn@Deskpro-01:~/Temp$

Indicates immediately '0' and '1' but these are not the true passwords. What could be happening? Does this program detect special characters (* / - _ and others)?

mnwstl avatar Dec 29 '18 21:12 mnwstl

// To debug the 'rar' failure, added printf("finalcmd: %s\n", finalcmd);

$ ./rarcrack --type rar test.rar RarCrack! 0.2 by David Zoltan Kedves ([email protected])

finalcmd: unrar t -y -p%s %s 2>&1 INFO: the specified archive type: rar INFO: cracking test.rar, status file: test.rar.xml Probing: '3dn' [5421 pwds/sec] ^C

$ unrar -bash: unrar: command not found

$ rar RAR 5.50 Copyright (c) 1993-2017 Alexander Roshal 11 Aug 2017 ...

// Yup, 'unrar' is not installed, but 'rar' is!

alien4007 avatar Jan 23 '23 18:01 alien4007

// Fix

$ sudo apt-get install unrar

$ ./rarcrack --type rar test.rar RarCrack! 0.2 by David Zoltan Kedves ([email protected])

finalcmd: unrar t -y -p%s %s 2>&1 INFO: the specified archive type: rar INFO: cracking test.rar, status file: test.rar.xml Probing: '98' [208 pwds/sec] ... Probing: '100' [190 pwds/sec] GOOD: password cracked: '100'

alien4007 avatar Jan 23 '23 18:01 alien4007

this program have to install unrar

ruchid123123 avatar Dec 07 '23 10:12 ruchid123123