Giter VIP home page Giter VIP logo

Comments (8)

magnumripper avatar magnumripper commented on June 2, 2024

Also, we should run a short mask mode test on the normal test files.

For example, using -1=?u?d -mask=?1?1?1?1?1 against LM_tst.in should crack exactly 900 passwords. And another run adding -min-len=0 to the above (yes it should be tested separately) should crack exactly 1000.

For slower modes we can run simpler (even just ?d for very slow ones) and/or shorter masks. There is no need to test other formats. We are testing the mode, not the format.

from john-tests.

magnumripper avatar magnumripper commented on June 2, 2024

This is btw part of #12

from john-tests.

jfoug avatar jfoug commented on June 2, 2024

Should this be an external perl script (like the dyna-compiler test suite fuzzer???)

I think an external would be better than incorporated into the current TS. What we 'could' do, is to spawn these external script, from within the TS script, without having to 'overload' the current script, with additional complexity, doing things that are quite different than all current testing.

from john-tests.

magnumripper avatar magnumripper commented on June 2, 2024

Yes I think so. Actually I think the priority is to establish manual tests that should be made. When that is done, we almost don't need them automated (testing only needed when changing mask mode) but at the same time it would be easy to do so.

from john-tests.

jfoug avatar jfoug commented on June 2, 2024

But placing them into a script is not a bad idea. It provides a simple regression test, to make sure changes do not break something. It is really all that the test suite is. Just a regression tool, once all formats are in it.

from john-tests.

magnumripper avatar magnumripper commented on June 2, 2024

True. Also, I really liked the design of the resume tests. One generic doOneRestore() function, and a number of calls to it. That ended up really well. We could do something similar, perhaps even come up with a single generic function that can test most modes.

from john-tests.

jfoug avatar jfoug commented on June 2, 2024

The whole TS is like that. There is a 'core' function, and we simply call that, based upon the *.dat file, and user input whittling that data down. That core function may be a 'loop',

from john-tests.

jfoug avatar jfoug commented on June 2, 2024

See #75 I have a plan on testing the rules, and I think I can do something similar to test mask mode. I will know more once I get the rules tester working. Right now, it is just an idea that popped into my head on a way to do it ;)

from john-tests.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.