Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 2 Apr 2015 00:27:25 +0800
From: Kai Zhao <loverszhao@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: Advice on proposal: John the Ripper jumbo robustness

I wrote a patch to calculate the execution time and invoked times of each
function.
The patch is attached. The log file is generated by "$ ./john  7z_fmt", but
it is too
large to attach it.

Below is the analysis of the log file, we can see most of the time is spent
in the
function: 7z_fmt_plug.c:sevenzip_kdf()

===john.c:john_register_one()                 invoked_times=384
 expend_time=0.0000s     total_expend_time=0.0011s
===john.c:john_register_all()                   invoked_times=1
 expend_time=0.0420s     total_expend_time=0.0420s
===john.c:john_load()                              invoked_times=1
 expend_time=0.0018s     total_expend_time=0.0018s
===john.c:john_init()                                 invoked_times=1
expend_time=0.0457s     total_expend_time=0.0457s
===john.c:john_run()                                invoked_times=1
expend_time=3634.5361s  total_expend_time=3634.5361s      100%

===formats.c:fmt_register()                      invoked_times=384
 expend_time=0.0000s     total_expend_time=0.0004s
===formats.c:fmt_self_test_body()           invoked_times=3
 expend_time=0.0000s     total_expend_time=2.2647s
===formats.c:fmt_self_test()                     invoked_times=3
 expend_time=0.0000s     total_expend_time=2.2651s

===batch.c:do_single_pass()                    invoked_times=1
expend_time=0.0010s     total_expend_time=0.0010s
===batch.c:do_wordlist_pass()                 invoked_times=1
expend_time=3632.2690s  total_expend_time=3632.2690s      99.9%
===batch.c:do_batch_crack()                    invoked_times=1
expend_time=3632.2700s  total_expend_time=3632.2700s      99.9%

===cracker.c:crk_init()                               invoked_times=2
   expend_time=0.0002s     total_expend_time=0.0006s
===cracker.c:crk_process_key()               invoked_times=30848
 expend_time=0.0000s     total_expend_time=0.7320s
===cracker.c:crk_process_event()            invoked_times=161
 expend_time=0.0000s     total_expend_time=0.1000s
===cracker.c:crk_password_loop()           invoked_times=3856
 expend_time=0.0000s     total_expend_time=3629.9688s      99.9%
===cracker.c:crk_salt_loop()                     invoked_times=3856
 expend_time=0.0000s     total_expend_time=3630.1848s      99.9%

===wordlist.c:fix_state()                            invoked_times=3856
expend_time=0.0000s     total_expend_time=0.0351s
===wordlist.c:mgetl()                                 invoked_times=39382
expend_time=0.0000s     total_expend_time=0.1952s
===wordlist.c:do_wordlist_crack()             invoked_times=1
expend_time=3632.2690s  total_expend_time=3632.2690s      99.9%
===wordlist.c:get_progress()                     invoked_times=13
expend_time=0.0000s     total_expend_time=0.0001s

===7z_fmt_plug.c:sevenzip_set_key()      invoked_times=30871
expend_time=0.0000s     total_expend_time=0.1542s
===7z_fmt_plug.c:sevenzip_kdf()              invoked_times=30856
expend_time=0.8281s     total_expend_time=23453.1016s     645.3% / 8 = 80.7%
28===7z_fmt_plug.c:sevenzip_decrypt()   invoked_times=30861
 expend_time=0.0000s     total_expend_time=0.9119s
29===7z_fmt_plug.c:crypt_all()                  invoked_times=3861
 expend_time=0.9141s     total_expend_time=3631.7188s      99.9%
30===7z_fmt_plug.c:cmp_all()                   invoked_times=3861
 expend_time=0.0000s     total_expend_time=0.0383s


Thanks,

Kai

[ CONTENT OF TYPE text/html SKIPPED ]

[ CONTENT OF TYPE application/octet-stream SKIPPED ]

[ CONTENT OF TYPE application/octet-stream SKIPPED ]

Powered by blists - more mailing lists

Your e-mail address:

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