Comments (8)
descrypt and dummy would also be a good choice:
Both are core formats, stable, well tested.
One of them is salted, the other isn't.
from john-tests.
Actually we could be smarter than saying "500", "1500" and "150000". We could use eg. 2xMKPC, 48xMKPC and 48,000xMPKC so for NT (mkpc=32) we'd pick the first 64 words plus 1536 more, out of 1,5 million words.
This would mean we auto-adjust to eg. OpenCL formats with huge batches.
from john-tests.
I prefer NT over dummy because it lets us verify thread-safety in Unicode functions too. But for testing core we could use dummy.
EDIT NT has its own Unicode functions... so we may want to support some other format as well.
from john-tests.
There was Inc at one time, but the char files changed. The script does an msg of the chr file and will not continue if it does not match. Since they changed the script no longer uses them.
from john-tests.
That why I propose to create the test files on the fly. For these few formats, jtrts.dat can include the necessary functions to create the hashes. There's no point in testing incremental with all 300 formats. It would just take a lot of time.
from john-tests.
But if the process being tested is producing the test cases, does that not scream invalid?
from john-tests.
That's true, in many cases. I was mostly thinking about fork/mpi/node tests. The test file should be produced with neither of those options. We'd also test many things in cracker.c and loader.c that is not really used in the --inc --stdout
that produces the files. BTW we could also test --resume this way (perhaps starting with --max-runtime).
But yes, maybe we should keep the thing you have in there, but update it with 1.8.0 incremental too.
from john-tests.
#56 added resume tests, which includes basic mode tests.
from john-tests.
Related Issues (20)
- 1 GB systems fail due to use of unique (and it's recent large defaults) HOT 3
- LogFileProtect = Y issue HOT 3
- When no passwords are cracked, --show finds one invalid password HOT 2
- selftest.dic and selftest.in
- jtrts.pl -v -v is showing two stderr redirections HOT 2
- Search john's stderr output for "runtime error:" and threat that as a failed test HOT 7
- jtrts.pl should remove old tst-.log file before starting next test
- -enc=utf8 fails when using a passthru -rules=none or -mask=?w
- Some option replacements required for --show are apparently required in other places as well HOT 3
- Wrong alnum.chr md5sum HOT 1
- Rules test HOT 3
- dynamic_2009 tests need to be adjusted HOT 1
- grep: tst-.log: No such file or directory
- bcrypt-opencl fails on TS HOT 4
- TS must ignore build warnings etc. in JtR output
- TS has hashes made of UTF-16 BOM's but JtR refuses to use such dictionaries.
- TS fails after 6ea7946
- After changes in unique, .a simple /jtrts.pl fails HOT 6
- bcrypt -internal fail HOT 2
- TS doesn't work properly after 915cfcc
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from john-tests.