Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55CF7ADA.5050000@mailbox.org>
Date: Sat, 15 Aug 2015 19:46:02 +0200
From: Frank Dittrich <frank.dittrich@...lbox.org>
To: john-dev@...ts.openwall.com
Subject: Re: dynamic expressions with constants

On 08/15/2015 07:27 PM, Solar Designer wrote:
> BTW, is there a way to have the dynamic expressions compiler output a
> dynamic mode definition, such as for use with existing binary builds of
> older jumbo?


(bleeding-jumbo)run $ echo 1234567890 | ./john --stdin
--format=dynamic='sha1($c1.$s.$c1.$p.$c1),$c1=x--,debug' pw
push
app_1
.
app_sh
.
app_1
.
app_p
.
app_1
f1h

crc32 = 9DE82024
pExpr=sha1($c1.$s.$c1.$p.$c1)
extraParams=,$c1=x--,debug
signature=@...amic=sha1($c1.$s.$c1.$p.$c1),$c1=x--,debug@
line1=@...amic=sha1($c1.$s.$c1.$p.$c1)@e39dfe251986be9582228d39e13e2af4e225d852$76931fac
line2=@...amic=sha1($c1.$s.$c1.$p.$c1)@e307e799067079a01cf79bea05e212fa3f0606b5$9dab2b36
line3=@...amic=sha1($c1.$s.$c1.$p.$c1)@f4bd0db18febc97fbc37ffa0d3a94fdc6b9b8073$c248b87d

##############################################################
#  Dynamic script for expression sha1($c1.$s.$c1.$p.$c1),$c1=x--,debug
##############################################################
Expression=dynamic=sha1($c1.$s.$c1.$p.$c1)
#  Flags for this format
Flag=MGF_FLAT_BUFFERS
Flag=MGF_SALTED
Flag=MGF_INPUT_20_BYTE
#  Lengths used in this format
SaltLen=-32
MaxInputLenX86=110
MaxInputLen=110
#  The functions in the script
Func=DynamicFunc__clean_input_kwik
Func=DynamicFunc__append_input1_from_CONST1
Func=DynamicFunc__append_salt
Func=DynamicFunc__append_input1_from_CONST1
Func=DynamicFunc__append_keys
Func=DynamicFunc__append_input1_from_CONST1
Func=DynamicFunc__SHA1_crypt_input1_to_output1_FINAL
#  Constants used by this format
Const1=--
#  The test hashes that validate this script
Test=@...amic=sha1($c1.$s.$c1.$p.$c1)@e39dfe251986be9582228d39e13e2af4e225d852$76931fac:abc
Test=@...amic=sha1($c1.$s.$c1.$p.$c1)@e307e799067079a01cf79bea05e212fa3f0606b5$9dab2b36:john
Test=@...amic=sha1($c1.$s.$c1.$p.$c1)@f4bd0db18febc97fbc37ffa0d3a94fdc6b9b8073$c248b87d:passweird


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.