Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 18 May 2011 17:31:03 -0500
From: Jonathan Busby <jonathanbusby@...il.com>
To: john-users@...ts.openwall.com
Subject: Custom 15 character incremental build of John 1.7.7 crashes when
 attempting to regenerate charsets

Hello. I'm trying to compile a modified version of John 1.7.7 which
will allow incremental mode for passwords up to 15 characters.

I've modified src/params.h as described in this post :

http://www.openwall.com/lists/john-users/2005/05/15/4

> For lengths up to 8, just use a default build of John with the supplied
> all.chr.  For lengths 9 through 16, use another build of John with
> CHARSET_SIZE = 15, CHARSET_LENGTH = 16, CHARSET_SCALE = 2.  You can
> further improve this by introducing a third build, e.g. for 9-12.  If
> you can, keep CHARSET_SCALE higher in order for the fixed-point math
> to be more precise.

Specifically, CHARSET_SIZE = 15, CHARSET_LENGTH = 16 and CHARSET_SCALE = 2.

John compiles successfully, but when I attempt to generate a new
charset it crashes :

jdb2@...ph0:~/15charbuild/john-1.7.7/run$ ./john --make-charset=new.chr
Loaded 49986360 plaintexts
Generating charsets... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 DONE
Generating cracking order... DONE
*** glibc detected *** ./john: munmap_chunk(): invalid pointer:
0x0000000057d18510 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x76bb6)[0x7f658d1f0bb6]
./john[0x41977e]
./john[0x421ba1]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7f658d198eff]
./john[0x401e69]
======= Memory map: ========
00400000-00437000 r-xp 00000000 09:02 47719928
  /home/jdb2/15charbuild/john-1.7.7/run/john
00637000-00638000 r--p 00037000 09:02 47719928
  /home/jdb2/15charbuild/john-1.7.7/run/john
00638000-0063b000 rw-p 00038000 09:02 47719928
  /home/jdb2/15charbuild/john-1.7.7/run/john
0063b000-00685000 rw-p 00000000 00:00 0
0127b000-57d33000 rw-p 00000000 00:00 0                                  [heap]
7f658cd5c000-7f658cd71000 r-xp 00000000 09:01 14811427
  /lib/x86_64-linux-gnu/libgcc_s.so.1
7f658cd71000-7f658cf70000 ---p 00015000 09:01 14811427
  /lib/x86_64-linux-gnu/libgcc_s.so.1
7f658cf70000-7f658cf71000 r--p 00014000 09:01 14811427
  /lib/x86_64-linux-gnu/libgcc_s.so.1
7f658cf71000-7f658cf72000 rw-p 00015000 09:01 14811427
  /lib/x86_64-linux-gnu/libgcc_s.so.1
7f658cf72000-7f658cf79000 r-xp 00000000 09:01 14811831
  /lib/x86_64-linux-gnu/librt-2.13.so
7f658cf79000-7f658d178000 ---p 00007000 09:01 14811831
  /lib/x86_64-linux-gnu/librt-2.13.so
7f658d178000-7f658d179000 r--p 00006000 09:01 14811831
  /lib/x86_64-linux-gnu/librt-2.13.so
7f658d179000-7f658d17a000 rw-p 00007000 09:01 14811831
  /lib/x86_64-linux-gnu/librt-2.13.so
7f658d17a000-7f658d304000 r-xp 00000000 09:01 14811812
  /lib/x86_64-linux-gnu/libc-2.13.so
7f658d304000-7f658d503000 ---p 0018a000 09:01 14811812
  /lib/x86_64-linux-gnu/libc-2.13.so
7f658d503000-7f658d507000 r--p 00189000 09:01 14811812
  /lib/x86_64-linux-gnu/libc-2.13.so
7f658d507000-7f658d508000 rw-p 0018d000 09:01 14811812
  /lib/x86_64-linux-gnu/libc-2.13.so
7f658d508000-7f658d50e000 rw-p 00000000 00:00 0
7f658d50e000-7f658d526000 r-xp 00000000 09:01 14811828
  /lib/x86_64-linux-gnu/libpthread-2.13.so
7f658d526000-7f658d726000 ---p 00018000 09:01 14811828
  /lib/x86_64-linux-gnu/libpthread-2.13.so
7f658d726000-7f658d727000 r--p 00018000 09:01 14811828
  /lib/x86_64-linux-gnu/libpthread-2.13.so
7f658d727000-7f658d728000 rw-p 00019000 09:01 14811828
  /lib/x86_64-linux-gnu/libpthread-2.13.so
7f658d728000-7f658d72c000 rw-p 00000000 00:00 0
7f658d72c000-7f658d739000 r-xp 00000000 09:01 4457043
  /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0
7f658d739000-7f658d938000 ---p 0000d000 09:01 4457043
  /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0
7f658d938000-7f658d939000 r--p 0000c000 09:01 4457043
  /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0
7f658d939000-7f658d93a000 rw-p 0000d000 09:01 4457043
  /usr/lib/x86_64-linux-gnu/libgomp.so.1.0.0
7f658d93a000-7f658d943000 r-xp 00000000 09:01 14811814
  /lib/x86_64-linux-gnu/libcrypt-2.13.so
7f658d943000-7f658db43000 ---p 00009000 09:01 14811814
  /lib/x86_64-linux-gnu/libcrypt-2.13.so
7f658db43000-7f658db44000 r--p 00009000 09:01 14811814
  /lib/x86_64-linux-gnu/libcrypt-2.13.so
7f658db44000-7f658db45000 rw-p 0000a000 09:01 14811814
  /lib/x86_64-linux-gnu/libcrypt-2.13.so
7f658db45000-7f658db73000 rw-p 00000000 00:00 0
7f658db73000-7f658db94000 r-xp 00000000 09:01 14811808
  /lib/x86_64-linux-gnu/ld-2.13.so
7f658dce4000-7f658dd69000 rw-p 00000000 00:00 0
7f658dd8f000-7f658dd93000 rw-p 00000000 00:00 0
7f658dd93000-7f658dd94000 r--p 00020000 09:01 14811808
  /lib/x86_64-linux-gnu/ld-2.13.so
7f658dd94000-7f658dd96000 rw-p 00021000 09:01 14811808
  /lib/x86_64-linux-gnu/ld-2.13.so
7fff0fe0a000-7fff0fe2b000 rw-p 00000000 00:00 0                          [stack]
7fff0fe3c000-7fff0fe3d000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0
  [vsyscall]
Aborted

Might anyone know what the problem is ?

Thanks,

Jonathan

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.