Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+TsHUCFBEc2ALOv4ErduJ9auBo83nS+auaCJQvwiZ++DrVLew@mail.gmail.com>
Date: Thu, 21 Jun 2012 16:34:05 +0530
From: SAYANTAN DATTA <std2048@...il.com>
To: john-dev@...ts.openwall.com, deepika dutta <deepikadutta_19@...oo.com>
Subject: Re: mschap-v2 conversion

On Thu, Jun 21, 2012 at 4:00 PM, deepika dutta <deepikadutta_19@...oo.com>wrote:

> Can you tell how the test suite is working? On supplying the mschapv2
> argument to jtrts.pl what exactly happens? I found test vectors for
> mschapv2 in test directory and i believe the test suite is doing some sort
> of tests, but how is it different from fmt_selftest() function in the
> program? and can you explain something about the problem which is making it
> to fail?
>
> Cheers,
> Deepika
>   ------------------------------
> *From:* magnum <john.magnum@...hmail.com>
> *To:* john-dev@...ts.openwall.com
> *Sent:* Monday, June 4, 2012 12:16 PM
>
> *Subject:* Re: [john-dev] mschap-v2 conversion
>
> On 06/04/2012 08:07 AM, deepika dutta wrote:
> > Hi, did anyone test the patch? And what about the SSE work?
>
> Here's output from our Test Suite (as found in
> http://openwall.info/wiki/john/patches#Other-files-closely-related-to-patches-found-on-this-page
> ):
>
> magnum@...ge:test [master]$ ./jtrts.pl mschapv2
>
> -------------------------------------------------------------------------------
> - JtR-TestSuite (jtrts). Version 1.12.2, June 3, 2012.  By, Jim Fougeron &
> others
> - Testing:  John the Ripper password cracker, ver:
> 1.7.9-jumbo-5+unstable_omp [generic]
>
> --------------------------------------------------------------------------------
>
> John Jumbo build detected.
> testing: john -test=0
>
> form=mschapv2                    guesses: 1405 time: 0:00:00:00 : Expected
> count(s) (1500)  [!!!FAILED!!!]
> .pot CHK:mschapv2                guesses: 1405 time: 0:00:00:00  [PASSED]
>
> form=mschapv2-utf8                guesses: 1390 time: 0:00:00:00 :
> Expected count(s) (1500)  [!!!FAILED!!!]
> .pot CHK:mschapv2-utf8            guesses: 1390 time: 0:00:00:00  [PASSED]
>
> form=mschapv2-koi8r              guesses: 1385 time: 0:00:00:00 : Expected
> count(s) (1500)  [!!!FAILED!!!]
> .pot CHK:mschapv2-koi8r          guesses: 1385 time: 0:00:00:00  [PASSED]
>
> form=mschapv2-cp1251              guesses: 1387 time: 0:00:00:00 :
> Expected count(s) (1500)  [!!!FAILED!!!]
> .pot CHK:mschapv2-cp1251          guesses: 1387 time: 0:00:00:00  [PASSED]
>
> form=mschapv2-cp866              guesses: 1384 time: 0:00:00:00 : Expected
> count(s) (1500)  [!!!FAILED!!!]
> .pot CHK:mschapv2-cp866          guesses: 1384 time: 0:00:00:00  [PASSED]
>
> form=mschapv2-cp850              guesses: 1413 time: 0:00:00:00 : Expected
> count(s) (1500)  [!!!FAILED!!!]
> .pot CHK:mschapv2-cp850          guesses: 1413 time: 0:00:00:00  [PASSED]
>
> form=mschapv2-cp858              guesses: 1412 time: 0:00:00:00 : Expected
> count(s) (1500)  [!!!FAILED!!!]
> .pot CHK:mschapv2-cp858          guesses: 1412 time: 0:00:00:00  [PASSED]
>
> form=mschapv2-cp737              guesses: 1422 time: 0:00:00:00 : Expected
> count(s) (1500)  [!!!FAILED!!!]
> .pot CHK:mschapv2-cp737          guesses: 1422 time: 0:00:00:00  [PASSED]
>
> form=mschapv2-cp437              guesses: 1419 time: 0:00:00:00 : Expected
> count(s) (1500)  [!!!FAILED!!!]
> .pot CHK:mschapv2-cp437          guesses: 1419 time: 0:00:00:00  [PASSED]
>
> form=mschapv2-iso8859-15          guesses: 1400 time: 0:00:00:00 :
> Expected count(s) (1500)  [!!!FAILED!!!]
> .pot CHK:mschapv2-iso8859-15      guesses: 1400 time: 0:00:00:00  [PASSED]
>
> form=mschapv2-cp1252              guesses: 1404 time: 0:00:00:00 :
> Expected count(s) (1500)  [!!!FAILED!!!]
> .pot CHK:mschapv2-cp1252          guesses: 1404 time: 0:00:00:00  [PASSED]
>
> Some tests had Errors. Performed 11 tests.11 errors
> Time used was 25 seconds
>
>
> You might want to install the Test Suite and debug it.
>
> magnum
>
>
You may try -v for verbose which will generate lots of output. eg.  ./
jtrts.pl mschapv2 -v -v
The self test will only test against the vectors that you have provided in
fmt_tests[]. The test suite will test against the test vectors provided in
test directory.  From the above report it looks like it can't crack some of
the test vectors. E.g guesses:1404 means it could guess 1404 out 1500
hashes correctly. Sometimes decreasing/Increasing the plaintext length may
help.

Regards,
Sayantan

Content of type "text/html" skipped

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.