Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 20 May 2018 15:56:07 +0100
From: Eric Watson <ea-watson@...ginmedia.com>
To: john-users@...ts.openwall.com
Subject: Re: Unable to crack the password of a test rar file.

That edit sorted it!

pi@...pberrypi:/var/share/temp/JohnTheRipper-bleeding-jumbo/run $ ./john 
test_pswd.txt
Using default input encoding: UTF-8
Loaded 1 password hash (rar, RAR3 [SHA1 AES 32/32])
Warning: OpenMP is disabled; a non-OpenMP build may be faster
Press 'q' or Ctrl-C to abort, almost any other key for status
0g 0:00:00:21 0.18% 1/3 (ETA: 19:03:53) 0g/s 2.630p/s 2.630c/s 2.630C/s 
Ttest_file.txt.rar..File

Would it be possible to build a non-OpenMP build?

I have 3 allways on Pi's for various tasks and my next learning curve 
will be having them all crack together.

Thank you for adding to my meager knowledge.

I think I have chosen the correct reply method in Linux Thunderbird.

Eric

On 20/05/18 12:16, Solar Designer wrote:
> Eric,
>
> Somehow each time you post, you start a new thread.  When you reply,
> please use your e-mail program's "reply" feature on a posting that
> arrived to you through the list, so that the headers are properly set.
>
> On Sun, May 20, 2018 at 12:28:29AM +0100, Eric Watson wrote:
>> I removed the "#if ARCH_ALLOWS_UNALIGNED" and "#endif    /*
>> ARCH_ALLOWS_UNALIGNED */" but this created error in the ./configure:
>>
>> rar_fmt_plug.c:437:2: error: #else without #if
>>   #else
>>    ^~~~
>> configure: creating ./fmt_registers.h
>> rar_fmt_plug.c:437:2: error: #else without #if
>>   #else
>>    ^~~~
> Oh, right, I missed that.  Here's a much simpler change, which works:
>
> In rar_fmt_plug.c change line 46 (in current bleeding-jumbo) from:
>
> #if ARCH_ALLOWS_UNALIGNED
>
> to:
>
> #if 1
>
> That's all - no other changes needed.
>
>> I removed the following as suggested by a friend:
> Removing the #else and some lines following it looks reasonable to me as
> well, but it's more work than the above.  However, removing this line
> was wrong and may break other things:
>
>> #include "arch.h"
> Anyway, please revert all changes and try changing just the #if line as
> I suggested above.
>
>> However the hash file did not load:
>>
>> pi@...pberrypi:/var/share/temp/JohnTheRipper-bleeding-jumbo/run $ ./john
>> test_pswd.txt
>> Using default input encoding: UTF-8
>> No password hashes loaded (see FAQ)
>> pi@...pberrypi:/var/share/temp/JohnTheRipper-bleeding-jumbo/run $
>>
>> It looks as if JtR cannot be used on the Pi.
> People are using JtR on various Raspberry Pi's.  It's just the RAR
> support (and maybe a few other things) that is currently excluded from
> such builds.  But please don't give up on it just yet - give the above
> change a try, and let's see what happens.
>
> Alexander
>

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ