openwall / john-tests

Test Suite for John the Ripper
24 stars 15 forks source link

Rules test #75

Closed jfoug closed 8 years ago

jfoug commented 8 years ago

I have an idea on this. It will not be in jtrts.pl, but it's own perl script, and input data file.

I should have a working prototype checked in shortly.

jfoug commented 8 years ago

Here is the 'initial' cut. This is pretty much jtrts.pl with parts cut out and changed a bit, to run rules based tests.

5ecc457

There still is a TON of work to do building the rules data. But for now, this is a framework of something that CAN be used to test, and easily do regression tests or if we find errors, they can be added to this script to make sure they do not reappear.

jfoug commented 8 years ago

This POC is working pretty well. Now we simply need to add more rules to the rule_tst.dat

jfoug commented 8 years ago

With this commit https://github.com/magnumripper/jtrTestSuite/commit/b56a5d09ce0bc5c1514152c8bd706ea3b76217ec I am going to close this issue. The current rule_tst.pl script fully tests all existing rules in jumbo-john. This will allow modifications to be regression tested. None should fail. IF any do fail, then code checked into johns rules (or some other issue) has caused failure.

NOTE, I do not handle code pages (yet) in this script, so there is still some enhancements to make, but the issue is still being closed.