Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 21 Aug 2011 20:06:13 +0200
From: magnum <rawsmooth@...dband.net>
To: john-dev@...ts.openwall.com
Subject: Re: Update to wordlist, (and some portability issues)

On 2011-08-21 18:12, JimF wrote:
> I built and ran on x64 (gcc SSEi), and pkzip ran fine, was able to crack
> the zips I had.
>
> I am not sure what problems you are having. I wish I could replicate them.

Here's valgrind output, probably some clues:

magnum@...ge:~/src/john/john/src$ valgrind ../run/john -test -fo:pkzip
==3637== Memcheck, a memory error detector
==3637== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==3637== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==3637== Command: ../run/john -test -fo:pkzip
==3637==
Benchmarking: pkzip [N/A]... ==3637== Conditional jump or move depends 
on uninitialised value(s)
==3637==    at 0x56A0510: inflateReset2 (in 
/lib/x86_64-linux-gnu/libz.so.1.2.3.4)
==3637==    by 0x56A0605: inflateInit2_ (in 
/lib/x86_64-linux-gnu/libz.so.1.2.3.4)
==3637==    by 0x47D8E1: decomp_validate_ascii (pkzip_fmt_plug.c:618)
==3637==    by 0x47DB13: cmp_exact (pkzip_fmt_plug.c:658)
==3637==    by 0x4898A2: fmt_self_test (formats.c:96)
==3637==    by 0x482471: benchmark_format (bench.c:136)
==3637==    by 0x482C5A: benchmark_all (bench.c:397)
==3637==    by 0x48CD3E: john_run (john.c:464)
==3637==    by 0x48D210: main (john.c:640)
==3637==
==3637== Conditional jump or move depends on uninitialised value(s)
==3637==    at 0x56A0510: inflateReset2 (in 
/lib/x86_64-linux-gnu/libz.so.1.2.3.4)
==3637==    by 0x56A0605: inflateInit2_ (in 
/lib/x86_64-linux-gnu/libz.so.1.2.3.4)
==3637==    by 0x47D6B0: decomp_validate (pkzip_fmt_plug.c:558)
==3637==    by 0x47DCC9: cmp_exact (pkzip_fmt_plug.c:672)
==3637==    by 0x4898A2: fmt_self_test (formats.c:96)
==3637==    by 0x482471: benchmark_format (bench.c:136)
==3637==    by 0x482C5A: benchmark_all (bench.c:397)
==3637==    by 0x48CD3E: john_run (john.c:464)
==3637==    by 0x48D210: main (john.c:640)
==3637==
DONE
Raw:	411437 c/s real, 411437 c/s virtual


...and a run against some test hashes:


magnum@...ge:~/john$ rm -f deleteme && valgrind ./john-j5-0028_debug 
-pot:deleteme test/zip.in
==3679== Memcheck, a memory error detector
==3679== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==3679== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==3679== Command: ./john-j5-0028_debug -pot:deleteme test/zip.in
==3679==
Loaded 2 password hashes with 2 different salts (pkzip [N/A])
==3679== Conditional jump or move depends on uninitialised value(s)
==3679==    at 0x56A0510: inflateReset2 (in 
/lib/x86_64-linux-gnu/libz.so.1.2.3.4)
==3679==    by 0x56A0605: inflateInit2_ (in 
/lib/x86_64-linux-gnu/libz.so.1.2.3.4)
==3679==    by 0x47D8E1: decomp_validate_ascii (pkzip_fmt_plug.c:618)
==3679==    by 0x47DB13: cmp_exact (pkzip_fmt_plug.c:658)
==3679==    by 0x4898A2: fmt_self_test (formats.c:96)
==3679==    by 0x4883E0: crk_init (cracker.c:62)
==3679==    by 0x497BF5: single_init (single.c:145)
==3679==    by 0x498A5F: do_single_crack (single.c:487)
==3679==    by 0x4821FB: do_single_pass (batch.c:19)
==3679==    by 0x4822C7: do_batch_crack (batch.c:44)
==3679==    by 0x48CF07: john_run (john.c:513)
==3679==    by 0x48D210: main (john.c:640)
==3679==
==3679== Conditional jump or move depends on uninitialised value(s)
==3679==    at 0x56A0510: inflateReset2 (in 
/lib/x86_64-linux-gnu/libz.so.1.2.3.4)
==3679==    by 0x56A0605: inflateInit2_ (in 
/lib/x86_64-linux-gnu/libz.so.1.2.3.4)
==3679==    by 0x47D6B0: decomp_validate (pkzip_fmt_plug.c:558)
==3679==    by 0x47DCC9: cmp_exact (pkzip_fmt_plug.c:672)
==3679==    by 0x4898A2: fmt_self_test (formats.c:96)
==3679==    by 0x4883E0: crk_init (cracker.c:62)
==3679==    by 0x497BF5: single_init (single.c:145)
==3679==    by 0x498A5F: do_single_crack (single.c:487)
==3679==    by 0x4821FB: do_single_pass (batch.c:19)
==3679==    by 0x4822C7: do_batch_crack (batch.c:44)
==3679==    by 0x48CF07: john_run (john.c:513)
==3679==    by 0x48D210: main (john.c:640)
==3679==
==3679== Conditional jump or move depends on uninitialised value(s)
==3679==    at 0x497C11: single_key_hash (single.c:153)
==3679==    by 0x497DE5: single_add_key (single.c:203)
==3679==    by 0x498263: single_process_pw (single.c:304)
==3679==    by 0x49866E: single_process_salt (single.c:369)
==3679==    by 0x49889E: single_run (single.c:441)
==3679==    by 0x498A64: do_single_crack (single.c:488)
==3679==    by 0x4821FB: do_single_pass (batch.c:19)
==3679==    by 0x4822C7: do_batch_crack (batch.c:44)
==3679==    by 0x48CF07: john_run (john.c:513)
==3679==    by 0x48D210: main (john.c:640)
==3679==
==3679== Use of uninitialised value of size 8
==3679==    at 0x497DEE: single_add_key (single.c:203)
==3679==    by 0x498263: single_process_pw (single.c:304)
==3679==    by 0x49866E: single_process_salt (single.c:369)
==3679==    by 0x49889E: single_run (single.c:441)
==3679==    by 0x498A64: do_single_crack (single.c:488)
==3679==    by 0x4821FB: do_single_pass (batch.c:19)
==3679==    by 0x4822C7: do_batch_crack (batch.c:44)
==3679==    by 0x48CF07: john_run (john.c:513)
==3679==    by 0x48D210: main (john.c:640)
==3679==
==3679== Conditional jump or move depends on uninitialised value(s)
==3679==    at 0x497C11: single_key_hash (single.c:153)
==3679==    by 0x497DE5: single_add_key (single.c:203)
==3679==    by 0x49841F: single_process_pw (single.c:325)
==3679==    by 0x49866E: single_process_salt (single.c:369)
==3679==    by 0x49889E: single_run (single.c:441)
==3679==    by 0x498A64: do_single_crack (single.c:488)
==3679==    by 0x4821FB: do_single_pass (batch.c:19)
==3679==    by 0x4822C7: do_batch_crack (batch.c:44)
==3679==    by 0x48CF07: john_run (john.c:513)
==3679==    by 0x48D210: main (john.c:640)
==3679==
==3679== Use of uninitialised value of size 8
==3679==    at 0x497DEE: single_add_key (single.c:203)
==3679==    by 0x49841F: single_process_pw (single.c:325)
==3679==    by 0x49866E: single_process_salt (single.c:369)
==3679==    by 0x49889E: single_run (single.c:441)
==3679==    by 0x498A64: do_single_crack (single.c:488)
==3679==    by 0x4821FB: do_single_pass (batch.c:19)
==3679==    by 0x4822C7: do_batch_crack (batch.c:44)
==3679==    by 0x48CF07: john_run (john.c:513)
==3679==    by 0x48D210: main (john.c:640)
==3679==
==3679== Conditional jump or move depends on uninitialised value(s)
==3679==    at 0x497C11: single_key_hash (single.c:153)
==3679==    by 0x497DE5: single_add_key (single.c:203)
==3679==    by 0x498540: single_process_pw (single.c:338)
==3679==    by 0x49866E: single_process_salt (single.c:369)
==3679==    by 0x49889E: single_run (single.c:441)
==3679==    by 0x498A64: do_single_crack (single.c:488)
==3679==    by 0x4821FB: do_single_pass (batch.c:19)
==3679==    by 0x4822C7: do_batch_crack (batch.c:44)
==3679==    by 0x48CF07: john_run (john.c:513)
==3679==    by 0x48D210: main (john.c:640)
==3679==
==3679== Use of uninitialised value of size 8
==3679==    at 0x497DEE: single_add_key (single.c:203)
==3679==    by 0x498540: single_process_pw (single.c:338)
==3679==    by 0x49866E: single_process_salt (single.c:369)
==3679==    by 0x49889E: single_run (single.c:441)
==3679==    by 0x498A64: do_single_crack (single.c:488)
==3679==    by 0x4821FB: do_single_pass (batch.c:19)
==3679==    by 0x4822C7: do_batch_crack (batch.c:44)
==3679==    by 0x48CF07: john_run (john.c:513)
==3679==    by 0x48D210: main (john.c:640)
==3679==
==3679== Conditional jump or move depends on uninitialised value(s)
==3679==    at 0x497CF4: single_key_hash (single.c:169)
==3679==    by 0x497DE5: single_add_key (single.c:203)
==3679==    by 0x498540: single_process_pw (single.c:338)
==3679==    by 0x49866E: single_process_salt (single.c:369)
==3679==    by 0x49889E: single_run (single.c:441)
==3679==    by 0x498A64: do_single_crack (single.c:488)
==3679==    by 0x4821FB: do_single_pass (batch.c:19)
==3679==    by 0x4822C7: do_batch_crack (batch.c:44)
==3679==    by 0x48CF07: john_run (john.c:513)
==3679==    by 0x48D210: main (john.c:640)
==3679==
==3679== Conditional jump or move depends on uninitialised value(s)
==3679==    at 0x497CF4: single_key_hash (single.c:169)
==3679==    by 0x497DE5: single_add_key (single.c:203)
==3679==    by 0x498263: single_process_pw (single.c:304)
==3679==    by 0x49866E: single_process_salt (single.c:369)
==3679==    by 0x49889E: single_run (single.c:441)
==3679==    by 0x498A64: do_single_crack (single.c:488)
==3679==    by 0x4821FB: do_single_pass (batch.c:19)
==3679==    by 0x4822C7: do_batch_crack (batch.c:44)
==3679==    by 0x48CF07: john_run (john.c:513)
==3679==    by 0x48D210: main (john.c:640)
==3679==
==3679== Conditional jump or move depends on uninitialised value(s)
==3679==    at 0x497CF4: single_key_hash (single.c:169)
==3679==    by 0x497DE5: single_add_key (single.c:203)
==3679==    by 0x49841F: single_process_pw (single.c:325)
==3679==    by 0x49866E: single_process_salt (single.c:369)
==3679==    by 0x49889E: single_run (single.c:441)
==3679==    by 0x498A64: do_single_crack (single.c:488)
==3679==    by 0x4821FB: do_single_pass (batch.c:19)
==3679==    by 0x4822C7: do_batch_crack (batch.c:44)
==3679==    by 0x48CF07: john_run (john.c:513)
==3679==    by 0x48D210: main (john.c:640)
==3679==
==3679== Conditional jump or move depends on uninitialised value(s)
==3679==    at 0x49703D: rules_apply (rules.c:1256)
==3679==    by 0x49ABDC: do_wordlist_crack (wordlist.c:582)
==3679==    by 0x482267: do_wordlist_pass (batch.c:30)
==3679==    by 0x4822F4: do_batch_crack (batch.c:49)
==3679==    by 0x48CF07: john_run (john.c:513)
==3679==    by 0x48D210: main (john.c:640)
...


magnum

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.