|
Message-ID: <20150630160200.GA5706@openwall.com> Date: Tue, 30 Jun 2015 19:02:00 +0300 From: Aleksey Cherepanov <lyosha@...nwall.com> To: john-users@...ts.openwall.com Subject: how to list not salted formats? I tried to find all formats without salt. I tried to use 'Salt size' from `john --list=format-all-details` but it turned out to be wrong because some formats showed "Many salts" and "Only one salt" during benchmarks. For me it looks like there are 2 problems: 1) the following dynamic formats report "Salt size 0" while they have salts: dynamic_1011 dynamic_1012 dynamic_1013 dynamic_1014 dynamic_1016 dynamic_1401 dynamic_1502 dynamic_1503 dynamic_1504 2) mdc2 and pix-md5 report "Many salt" while they don't have salts. It seems to be caused by the following line (in mdc2_fmt_plug.c and pixMD5_fmt_plug.c ): #define BENCHMARK_LENGTH 0 My command and output (I did s/--/---/ for email): $ john --list=format-all-details | grep -e '^Format label' -e '^Salt size' | grep -B 1 '^Salt size *0$' | sed -ne 's/^Format label *// p' | while read -r f; do john --test "--format=$f"; done | grep -C 1 Many Benchmarking: dynamic_1011 [md5($p.md5($s)) (WebEdition CMS) 128/128 SSE4.1 4x3]... DONE Many salts: 8096K c/s real, 8096K c/s virtual Only one salt: 7066K c/s real, 7066K c/s virtual --- Benchmarking: dynamic_1012 [md5($p.md5($s)) (WebEdition CMS) 128/128 SSE4.1 4x3]... DONE Many salts: 16427K c/s real, 16593K c/s virtual Only one salt: 12895K c/s real, 12895K c/s virtual --- Benchmarking: dynamic_1013 [md5($p.PMD5(username)) (WebEdition CMS) 128/128 SSE4.1 4x3]... DONE Many salts: 16020K c/s real, 16020K c/s virtual Only one salt: 12653K c/s real, 12653K c/s virtual --- Benchmarking: dynamic_1014 [md5($p.$s) (long salt) 128/128 SSE4.1 4x3]... DONE Many salts: 7916K c/s real, 7916K c/s virtual Only one salt: 6075K c/s real, 6075K c/s virtual --- Benchmarking: dynamic_1016 [md5($s.$p) (long salt) 128/128 SSE4.1 4x3]... DONE Many salts: 14369K c/s real, 14369K c/s virtual Only one salt: 11988K c/s real, 11988K c/s virtual --- Benchmarking: dynamic_1401 [md5($u.\nskyper\n.$p) (Skype MD5) 128/128 SSE4.1 4x3]... DONE Many salts: 9288K c/s real, 9288K c/s virtual Only one salt: 7398K c/s real, 7398K c/s virtual --- Benchmarking: dynamic_1502 [sha1(sha1($pass).$salt) (XenForo SHA-1) 128/128 SSE4.1 4x1]... DONE Many salts: 4626K c/s real, 4626K c/s virtual Only one salt: 4333K c/s real, 4333K c/s virtual --- Benchmarking: dynamic_1503 [sha256(sha256($pass).$salt) (XenForo SHA-256) 128/128 SSE4.1 4x]... DONE Many salts: 1245K c/s real, 1245K c/s virtual Only one salt: 1211K c/s real, 1211K c/s virtual --- Benchmarking: dynamic_1504 [sha1($s.$p.$s) 128/128 SSE4.1 4x1]... DONE Many salts: 9154K c/s real, 9154K c/s virtual Only one salt: 7742K c/s real, 7742K c/s virtual --- Benchmarking: mdc2, MDC-2 [MDC-2DES]... DONE Many salts: 362046 c/s real, 362046 c/s virtual Only one salt: 362350 c/s real, 362350 c/s virtual --- Benchmarking: pix-md5, Cisco PIX [Cisco PIX (MD5) 128/128 SSE4.1 4x3]... DONE Many salts: 14319K c/s real, 14319K c/s virtual Only one salt: 14929K c/s real, 14929K c/s virtual Thanks! -- Regards, Aleksey Cherepanov
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.