1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-24 07:28:10 +00:00
Commit Graph

194 Commits

Author SHA1 Message Date
Gabriele Gristina
dc6d40c012 Fixed Unit Test false negative if there are spaces in the filesystem path to hashcat 2022-01-16 07:15:29 +01:00
Gabriele Gristina
50a4d6b58d Fixed Unit Test early exit on luks test file download/extract failure 2022-01-14 18:28:08 +01:00
Gabriele Gristina
e0e8ce8165 Removed limitation with hash-type 18600 on linux 2022-01-13 13:24:23 +01:00
Gabriele Gristina
516f7588f1 Updated Unit Test 2022-01-12 09:19:52 +01:00
Gabriele Gristina
3fe9f86326 simplified regex 2022-01-10 02:06:19 +01:00
Gabriele Gristina
c48f044fb7 Fixed false negative on Unit Test with hash-type 25400 2022-01-10 01:50:32 +01:00
Gabriele Gristina
c014dc0c34 Updated test.sh 2021-12-28 16:38:38 +01:00
Jens Steube
625ce2bb7c Fix test.sh fix for M1 2021-12-27 15:03:33 +01:00
Gabriele Gristina
ea97241f84 added '-f' to test.sh help 2021-12-19 13:23:17 +01:00
Gabriele Gristina
1b68d333a8 Unit tests: Updated test.sh to set default device-type to CPU with Apple Intel, force pure kernel with Apple Silicon and add -f (--force) option 2021-12-18 02:27:27 +01:00
Jens Steube
5a5ec0c5db Added hash-mode: VeraCrypt PBKDF2-HMAC-Streebog-512 + boot-mode 2021-06-21 13:40:46 +02:00
Jens Steube
f9fab1cadf Tests: Changed tests for VeraCrypt from -a 0 to -a 3, because password extension is not available to all shells 2021-06-17 09:43:21 +02:00
Gabriele Gristina
7275e94946 force add execution permission to cryptoloop2hashcat.py 2021-05-08 02:13:05 +02:00
Gabriele Gristina
e30febc8b8 cryptoapi opts (2) and test unit 2021-05-08 02:06:05 +02:00
Jens Steube
2857e7c881
Merge pull request #2654 from matrix/test_sh_mod
Updated test.sh : show kernel type (pure or optimized) in output
2021-04-29 15:50:36 +02:00
Gabriele Gristina
cdc87017fc minimized the test.sh false negatives with kernels 14000 14100 14900 15400, a1 2020-12-26 16:00:22 +01:00
Gabriele Gristina
123ce08e74 show kernel type (pure or optimized) in test.sh output 2020-12-17 02:18:19 +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