1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-18 14:18:11 +00:00
Commit Graph

178 Commits

Author SHA1 Message Date
Gabriele Gristina
cdc87017fc minimized the test.sh false negatives with kernels 14000 14100 14900 15400, a1 2020-12-26 16:00:22 +01:00
philsmd
6587606ba4
unit tests: fix packaging (-p) of tests 2020-08-26 12:24:23 +02:00
philsmd
c3c4178791
tests: fix return code check in attack_0 () function 2020-01-16 12:22:30 +01:00
Jens Steube
7306786eb0 Do not check password in test.sh if NEVER_CRACK is set 2020-01-13 18:54:19 +01:00
philsmd
fd4068df4c
tests: prevent -m 20510 multi error message for -m all 2020-01-13 14:29:25 +01:00
philsmd
587ca752e7
tests: fixed new problem with -m 20510 and hash type ranges 2020-01-13 10:40:28 +01:00
Jens Steube
be38eefdad Do not expect hashes encoded in base64 for -m 22000 in test.sh 2019-12-17 16:01:57 +01:00
Jens Steube
2a04354401 New mode 22000 WPA-PBKDF2-PMKID+EAPOL to replace -m 2500 and -m 16800. NOTE: missing support for message_pair and nonce_error_corrections handling 2019-12-15 21:09:04 +01:00
Rosen Penev
0965e25943
Remove extra echo
Seems I forgot to remove this when converting to printf.
2019-08-10 13:16:14 -07:00
Rosen Penev
0dd4ffbd6b
Replace loop bashisms
++var to var=$((var + 1))
2019-08-10 13:13:29 -07:00
Rosen Penev
f1ed35a5f6
tools.sh: Fix remaining quote warnings 2019-08-06 18:40:24 -07:00
Rosen Penev
8e081e69c5
Fix overzealous quoting from last sh patch
Characters with glob characters should not be quoted.
2019-08-05 10:33:09 -07:00
Rosen Penev
9ac0365259
Run test.sh through shellcheck
It uses a lot of bashisms. Cannot be used with /bin/sh.
2019-08-03 23:43:15 -07:00
philsmd
6d09d55991
tests: added special code for -m 20510 to test.sh 2019-06-07 16:22:31 +02:00
Sein Coray
c64a0bf88e
revert some accidentally commited changes and fix os x compatibility issues with sed commands 2019-05-20 21:16:25 +02:00
Sein Coray
15cbaa0f59
adding pkzip stream cipher kernels 20500 and 20510 2019-05-17 14:11:22 +02:00
Jens Steube
bbed0cd67a Fix test.sh and bitsliced algos 2019-05-06 15:06:02 +02:00
philsmd
a8ff1a9e6e
shell script: avoid &> and use > + 2> instead 2019-04-07 17:57:52 +02:00
jsteube
eb39e64e19 Fix -m 16800 unit test 2019-04-03 10:46:50 +02:00
jsteube
2f2bc54fec Bring back manual maintained NEVER_CRACK since OPTS_TYPE_PT_NEVERCRACK was removed from modules 2019-04-01 10:34:59 +02:00
philsmd
29643b343f
tests: fixed -P command line argument
The -P parameter was not correctly changing the OPTS command line argument to hashcat.
This fix changes the way -O/-P are handled within test.sh, i.e. -O is set if -P was not specified and the OPTS argument list will be drafted accordingly.

Thanks
2019-03-08 16:37:10 +01:00
philsmd
decd8322c8
add env variable IS_OPTIMIZED to test.sh
we now export the  IS_OPTIMIZED option within test.sh to let test.pl know if we want to use pure or optimized kernels.

Thanks
2019-03-08 16:10:01 +01:00
philsmd
4b2e3b05f6
tests: -m parameter description fixed
There was a problem within the description of -a and -m. -a currently does not allow a range, but -m does (e.g. -m 0-500).

Thanks
2019-03-08 15:44:49 +01:00
philsmd
d4b33ded27
tests: added some convenient parameters to test.sh 2019-03-08 14:51:26 +01:00
jsteube
b290c4c696 Remove --force from test.sh default commandline option 2019-03-05 05:40:24 +01:00
jsteube
420876c85f Fix -m 8100 module_jit_build_options hook 2019-03-02 16:37:01 +01:00
jsteube
4cf1e75871 Add some module specific warnings for ROCM driver in pure kernel mode 2019-03-02 16:31:56 +01:00
jsteube
58390e34b7 Set back default testing configuration to optimized mode 2019-02-27 10:23:32 +01:00
jsteube
5da1e4b872 Fixed maximum password length limit which was announced as 256 but actually was 255 2019-02-26 21:20:07 +01:00
philsmd
063e3f1c1c
tests: fix -p and slow_algos/never_crack/hashfile_only 2019-02-26 16:44:11 +01:00
jsteube
2f75a2bcff Fix TC/VC/LUKS detection as SLOW_ALGO in test.sh 2019-02-23 22:56:40 +01:00
jsteube
e0ad0d84e1 Automatically detect HASHFILE_ONLY, NEVER_CRACK and SLOW_ALGOS in test.sh 2019-02-23 19:30:23 +01:00
jsteube
1769181d08 Some extra steps for -m 18900 2019-02-22 15:50:03 +01:00
philsmd
b79384c834
tests: fix HASH_TYPES variable and add containers to package 2019-02-20 11:09:20 +01:00
jsteube
7721645758 Not enforcing minimum and maximum password and salt length saves a lot of headache 2019-02-19 17:37:22 +01:00
jsteube
1d95825e5f Add -m 14600 unit test 2019-02-19 16:29:15 +01:00
jsteube
d81b794aec Support naming VC modes using -m with test.sh 2019-02-19 14:37:48 +01:00
jsteube
07fa13b695 Add -m 10300 unit test 2019-02-19 12:23:46 +01:00
Jens Steube
65a143140a
Merge pull request #1917 from philsmd/hash-mode-plugin-test-m-fix
tests: fixed problem with -m 0 or -m 0-10 with new hash type range code
2019-02-15 20:02:58 +01:00
philsmd
071f6de9cb
tests: fixed problem with -m 0 or -m 0-10 with new hash type range code 2019-02-15 19:58:09 +01:00
philsmd
3f66838187
tests: fixed a new macOS compatiblity issue (sort/sed) 2019-02-15 19:51:52 +01:00
philsmd
cd98523b9c
tests: added hash mode range for -m option (-m x-y) 2019-02-15 18:38:19 +01:00
Sein Coray
50cac0a43b
Changed regex to read hash modes from test modules 2019-01-02 20:38:16 +01:00
jsteube
8613e2fc81 test.sh fix packaged hash types 2018-12-29 19:50:27 +01:00
jsteube
3b43bd6d03 Automatically fill HASH_TYPES in test.sh 2018-12-29 18:51:21 +01:00
jsteube
eeff037365 Fix test.sh in non-optimized mode 2018-12-28 22:32:54 +01:00
jsteube
92828910fe Added test_module for -m 300 2018-12-28 21:12:04 +01:00
jsteube
14cda9b33c Added test_module for -m 200 2018-12-28 21:04:31 +01:00
jsteube
9b572d3faa Add remaining updates for test.sh 2018-12-28 20:50:59 +01:00
jsteube
925c089035 test.sh -a 6 fixes 2018-12-28 17:30:52 +01:00