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

1119 Commits

Author SHA1 Message Date
Gabriele Gristina
9e2cfeac27 Added hash-mode 24 - SolarWinds Serv-U 2020-12-18 18:31:21 +01:00
Gabriele Gristina
48b3cb055f Added hash-mode 10820 - sha384(salt.pass) 2020-12-17 05:39:04 +01:00
Gabriele Gristina
7496ec2d44 Added hash-mode 10810 - sha384(pass.salt) 2020-12-17 04:45:33 +01:00
Gabriele Gristina
c6f98ec4da Added hash-mode 10840 - sha384(salt.utf16le(pass)) 2020-12-17 03:41:16 +01:00
Gabriele Gristina
123ce08e74 show kernel type (pure or optimized) in test.sh output 2020-12-17 02:18:19 +01:00
Gabriele Gristina
9d8e695a3c Added hash-mode 10830 - sha384(utf16le(pass).salt) 2020-12-17 01:48:48 +01:00
Gabriele Gristina
14030f3090 Added hash-mode 10870 - sha384(utf16le(pass)) 2020-12-17 00:53:47 +01:00
Gabriele Gristina
dbd4b33f95 Added hash-mode 1770 - sha512(utf16le(pass)) 2020-12-16 23:43:31 +01:00
Gabriele Gristina
e902697b22 Added hash-mode 1470 - sha256(utf16le(pass)) 2020-12-16 22:22:20 +01:00
Gabriele Gristina
930e39c324 Added hash-mode 70 - md5(utf16le(pass)) 2020-12-16 22:09:22 +01:00
Gabriele Gristina
61afbc7ff9 Added hash-mode 170 - sha1(utf16le(pass)) 2020-12-16 21:49:49 +01:00
Gabriele Gristina
12c0962e51 Added bcrypt(sha1(pass)) // bcryptsha1 2020-12-11 17:35:18 +01:00
Gabriele Gristina
3b34289c48 removed bcrypt password length limits 2020-12-11 16:40:19 +01:00
Gabriele Gristina
46c2464417 fix test module (2) 2020-12-11 14:44:30 +01:00
Gabriele Gristina
731cb1c9bc add missing md5 step to test module 2020-12-11 14:33:45 +01:00
Gabriele Gristina
ba82dd235c fixed kernel, added test module 2020-12-11 14:24:36 +01:00
Gabriele Gristina
46210dd177 Added test module 2020-12-10 03:11:31 +01:00
Gabriele Gristina
967eff530d cleanup 2020-12-10 02:43:49 +01:00
Gabriele Gristina
f46c23d792 add comments to unused code, fixed test file 2020-12-10 02:34:09 +01:00
Royce Williams
4edb4b923e test.pl: add 'potthrough' (like passthrough, but plain:hash) 2020-10-31 17:55:55 -08:00
TROUNCE
cfeb61238d
Update sqlcipher2hashcat.py 2020-10-29 10:44:31 +00:00
TROUNCE
0bab388370
Update sqlcipher2hashcat.py 2020-10-29 10:41:33 +00:00
TROUNCE
8526716bb2
Add files via upload 2020-10-29 10:38:11 +00:00
TROUNCE
5774934eb8
Add files via upload 2020-10-26 23:07:30 +00:00
TROUNCE
1b4b5100dd
Add files via upload 2020-10-26 23:04:42 +00:00
TROUNCE
c209543cda
Add files via upload 2020-10-26 00:06:04 +00:00
TROUNCE
e4fefd21d1
Add files via upload 2020-10-25 23:18:13 +00:00
TROUNCE
ee569ea540
Add files via upload 2020-10-25 22:58:47 +00:00
philsmd
038235f90f
Added -m 24500 = Telegram Desktop >= v2.1.14 (PBKDF2-HMAC-SHA512) 2020-10-16 10:41:58 +02:00
Jens Steube
15bf8b7302
Merge pull request #2579 from philsmd/tests_remove_asn1_package
tests: remove requirement Convert::ASN1
2020-10-13 11:22:31 +02:00
philsmd
2a3f487d94
tests: remove requirement Convert::ASN1 2020-10-13 10:26:45 +02:00
philsmd
10b3e3051c
tests: use python3/pip3 instead of just python/pip 2020-10-13 10:12:10 +02:00
Jens Steube
fb219e0a69 Added hash-mode: PKCS#8 Private Keys 2020-10-09 10:35:27 +02:00
philsmd
1734b3da1b
Added mongodb-scram ServerKey (-m 24100 for SHA1, -m 24200 for SHA256) 2020-10-04 16:42:19 +02:00
Jens Steube
45ad7f9fe4
Merge pull request #2559 from philsmd/bestcrypt_v3_volume_encryption
Added -m 23900 = BestCrypt v3 Volume Encryption
2020-09-30 14:06:17 +02:00
philsmd
8350d4fa3c Added -m 23900 = BestCrypt v3 Volume Encryption 2020-09-26 16:38:51 +02:00
philsmd
53f80fa130 use unix2dos also for libs licenses in the package script 2020-09-26 16:24:49 +02:00
Jens Steube
eedd3b1434
Merge pull request #2536 from cfreal/master
Implement sha1(sha1($pass).$salt) kernel.
2020-09-11 13:16:25 +02:00
philsmd
3cc828ce0a
Added -m 23700/23800 = RAR3-p cracking 2020-09-08 10:51:15 +02:00
cfreal
04a87d73c2 Changed mode from 4720 to 4510 2020-09-05 20:11:09 +02:00
cfreal
58f02c7119 Implement sha1(sha1($pass).$salt) kernel. 2020-08-28 11:36:08 +02:00
Jens Steube
0f31fea8b6
Merge branch 'master' into python3_unit_tests 2020-08-27 09:35:23 +02:00
Jens Steube
2eb91672df
Merge pull request #2533 from philsmd/update_perl_modules
minor: update list of perl modules for unit tests
2020-08-27 09:34:40 +02:00
philsmd
698d0fbbda
tests: added Python 3 support and make it default 2020-08-26 12:49:54 +02:00
philsmd
8e6949e00d minor: update list of perl modules for unit tests 2020-08-26 12:41:25 +02:00
philsmd
6587606ba4
unit tests: fix packaging (-p) of tests 2020-08-26 12:24:23 +02:00
Jens Steube
142d086507
Merge branch 'master' into master 2020-08-17 09:58:07 +02:00
Jens Steube
b737bcf7ab
Merge branch 'master' into 23400_bitwarden 2020-08-15 18:39:23 +02:00
philsmd
00ba7168fe
fixes #2510: Added -m 23500/23600 = AxCrypt 2 AES-128/256 2020-08-14 16:18:29 +02:00
philsmd
035df28c8a
use base64 encoded salt for -m 23400 (Bitwarden) 2020-08-13 14:55:59 +02:00
philsmd
79e5c60fef
fixes #2505: added -m 23400 = Bitwarden 2020-08-13 10:25:56 +02:00
philsmd
0b06034d01 fixes #546: added -m 23300 = Apple iWork cracking 2020-08-12 11:05:35 +02:00
Jens Steube
e00cae4c5c Update support for RSA/DSA/EC/OPENSSH Private Keys 2020-08-03 16:57:23 +02:00
Jens Steube
845aa5d4bf Fix verify function in unit test for -m 23200 2020-07-31 11:00:43 +02:00
Jens Steube
61e8368592 hashcat 6.1.1 2020-07-29 12:16:53 +02:00
Jens Steube
9ed07f892b hashcat 6.1.0 2020-07-28 12:29:13 +02:00
philsmd
9bd77536c2
improved speed of -m 21200 by using pre-computed SHA1 hash 2020-07-26 18:00:09 +02:00
Jens Steube
7d72bd7bae Update test.pl to use is_whole() instead of is_count() 2020-07-22 16:01:10 +02:00
Jens Steube
8eaaad1536
Merge pull request #2499 from philsmd/tests_fix_13200
tests: fixed -m 13200 = AxCrypt tests
2020-07-21 12:48:55 +02:00
philsmd
3ebb2ce163
tests: fixed -m 13200 = AxCrypt tests 2020-07-21 11:28:59 +02:00
philsmd
6b395b67c2
tests: fixed -m 16400 = CRAM-MD5 Dovecot tests 2020-07-21 11:21:18 +02:00
Jens Steube
db4ef8e89f
Merge branch 'master' into tests_fix_13600_verify 2020-07-21 11:18:04 +02:00
Jens Steube
0bf5319523
Merge branch 'master' into tests_rm_16800_verify 2020-07-21 11:10:53 +02:00
Jens Steube
f8194bea72
Merge pull request #2495 from philsmd/tests_install_modules
tests: improve install_modules.sh python dependencies
2020-07-21 11:09:54 +02:00
philsmd
0b16a608b5
tests: fixed -m 13600 = WinZip verification 2020-07-21 11:06:34 +02:00
philsmd
077083c6c5
tests: remove verify code for -m 16800 = WPA-PMKID-PBKDF2 2020-07-21 10:49:42 +02:00
philsmd
89b9d4aaeb
tests: improve install_modules.sh python dependencies 2020-07-21 10:39:38 +02:00
philsmd
423217e4cf
tests: added verify code for -m 11300 = bitcoin/litecoin 2020-07-21 10:11:14 +02:00
Jens Steube
1dd43686cc
Merge pull request #2484 from philsmd/master
minor: add "use warnings;" to every perl script
2020-07-20 11:12:22 +02:00
Jens Steube
7cba225715 Added hash-mode: XMPP SCRAM 2020-07-17 14:27:00 +02:00
philsmd
325d1c0cd0
minor: add use "warnings"; to every perl script 2020-07-07 09:39:01 +02:00
Jens Steube
e141742944
Merge branch 'master' into m23100_apple_keychain 2020-07-01 13:01:16 +02:00
philsmd
8c54727a8c
updates default pw_max length for blake2b 2020-06-27 12:48:36 +02:00
philsmd
630bb5b811
fixes #2457: added -m 23100 = Apple Keychain 2020-06-25 17:36:43 +02:00
philsmd
bd9304724c
fixes #1298: add pure kernels for -m 600 = BLAKE2b-512 2020-06-24 23:41:58 +02:00
Jens Steube
13e2dec017 hashcat 6.0.0 2020-06-16 17:30:11 +02:00
philsmd
e59f61e8cf
cosmetic: minor code style fixes 2020-06-13 11:19:00 +02:00
Jens Steube
6a3f0ef9ea Merge branch 'master' of https://github.com/hashcat/hashcat 2020-06-12 08:58:23 +02:00
Jens Steube
0454175568 Fix some expected values from tools/rules-test-cases.yaml 2020-06-12 08:55:36 +02:00
Jens Steube
5775231cc7
Merge pull request #2443 from philsmd/perl_file_add_license_and_chmod
perl scripts: add license and chmod +x
2020-06-11 13:01:40 +02:00
Jens Steube
24b7662e76
Merge pull request #2442 from philsmd/update_test_required_modules
tests: update perl module requirements
2020-06-11 13:01:26 +02:00
philsmd
9201909cd2
perl scripts: add license and chmod +x 2020-06-10 12:02:33 +02:00
philsmd
96416d5dfb tests: update perl module requirements 2020-06-10 11:55:17 +02:00
philsmd
60bb0d6329
tests: add php to requirements 2020-06-10 11:45:31 +02:00
Jens Steube
69bdd5012c
Merge pull request #2420 from philsmd/dnssecDotReplaceByLen
fixes #2365: NSEC3 dot replace and empty salt/domain fix
2020-06-09 10:45:02 +02:00
Jens Steube
3a9929bd3d
Merge pull request #2419 from philsmd/rarHpPureFix
fixes #2390: RAR3-hp cracking w/ pass > 28 (pure kernel) + tests added
2020-06-04 10:06:29 +02:00
philsmd
5df743cb85
fixes #2410: added -m 2300x = SecureZIP 2020-05-31 10:36:41 +02:00
philsmd
f382d24dcf
fixes #2365: NSEC3 dot replace and empty salt/domain fix 2020-05-25 11:30:45 +02:00
philsmd
edfe21b902
fixes #2390: RAR3-hp cracking w/ pass > 28 (pure kernel) + tests added 2020-05-25 11:08:33 +02:00
philsmd
b7e5216cf1
fixes #2383: added -m 22700 = MultiBit HD (scrypt) 2020-05-08 10:57:32 +02:00
philsmd
688d904aa0
Added -m 22600 = Telegram Desktop App Passcode (PBKDF2-HMAC-SHA1) 2020-04-08 14:31:47 +02:00
philsmd
4f3165c6ea
make -m 21200 more generic (except all supported salt len) 2020-03-30 13:53:37 +02:00
philsmd
2bc126ac96
fixes #2067: 40-bit oldoffice false positive problem 2020-03-16 16:30:35 +01:00
Jens Steube
fe12d2bcc6
Merge pull request #2322 from philsmd/master
solve $telegram$1 format conflict with JTR
2020-03-06 12:14:29 +01:00
philsmd
eb46c82998
tests: solve telegram format conflict with jtr 2020-03-06 11:50:16 +01:00
Jens Steube
ef47811c9d Rename 23911 to 10901 and populate salt->salt_buf[] 2020-03-03 09:55:13 +01:00
thesubtlety
4fafca4747 Add new module for 389-ds 2020-03-02 19:12:47 -08:00
Jens Steube
809c1c5e1e Add missing algorithm to tools/benchmark_deep.pl 2020-02-14 21:38:36 +01:00
philsmd
b6f40c05d6 Added -m 7401 = MySQL $A$ (sha256crypt), closes #2305 2020-02-11 11:36:16 +01:00
Jens Steube
3b1bdc6fa8 Add support for length 20 in unit test for -m 7400 2020-02-10 13:00:44 +01:00
philsmd
b51273fb0b
Fixes #1538: Added -m 22500 = MultiBit Classic .key (MD5) 2020-02-06 20:25:14 +01:00
Jens Steube
4788c61dd2 Add OPTI_TYPE_REGISTER_LIMIT flag to enable register limiting in CUDA 2020-02-04 21:53:27 +01:00
Jens Steube
95f3230bcf Small speedup for -m 12500 (RAR3-hp) in optimized mode 2020-02-04 15:19:53 +01:00
Jens Steube
525f8af200 Add v8x_from_v64_x to inc_common.cl 2020-02-03 15:51:08 +01:00
Jens Steube
cc4fd48ace Optimize hook buffer size to be copied 2020-01-26 20:31:38 +01:00
Jens Steube
7d9461f8b9 Add -m 11600 optimized kernel 2020-01-26 18:38:47 +01:00
Jens Steube
92281f3f58
Merge pull request #2287 from philsmd/patch-2
minor: fix type in README.md of test modules
2020-01-16 13:51:15 +01:00
Jens Steube
6732ce2352
Merge pull request #2286 from philsmd/patch-1
tests: fix return code check in attack_0 () function
2020-01-16 13:51:04 +01:00
philsmd
dce54151ae
minor: fix type in README.md of test modules 2020-01-16 12:25:18 +01:00
philsmd
c3c4178791
tests: fix return code check in attack_0 () function 2020-01-16 12:22:30 +01:00
philsmd
4887cc47b8
Fixes #2267: added support for -m 22400 = AES Crypt (SHA256) 2020-01-16 12:15:17 +01:00
Jens Steube
e72bd958ba Fix some formating 2020-01-15 20:27:08 +01:00
philsmd
706727ad64
Fixed #1534: added -m 22301 = Telegram (SHA256) 2020-01-15 09:18:41 +01:00
philsmd
3353a6fb5d
Added -m 22300 = sha256($salt.$pass.$salt) 2020-01-15 09:16:05 +01:00
Jens Steube
53105abeb4 Added hash-mode: Citrix NetScaler (SHA512) 2020-01-14 17:15:34 +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
philsmd
a86235a68c
fixes #2009: padding problem in -m 13400 tests 2020-01-06 13:25:58 +01:00
Jens Steube
0c6b12b0a7 Update Bitlocker minimum password length 4 2019-12-31 22:04:31 +01:00
philsmd
1c1ed72c65
fixes #1117: added -m 22100 = BitLocker 2019-12-31 18:42:13 +01:00
Jens Steube
2110bd2b24 Fix benchmark_deep.pl for -m 22000 and -m 22001 2019-12-22 15:05:33 +01:00
Jens Steube
2cc4244e14 Initial -m 22001 support 2019-12-19 22:14:42 +01:00
Jens Steube
161775b1b6 Switch separator character in -m 22000 from ':' to '*' 2019-12-19 19:17:01 +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
784eeb257b Make use of message_pair and set default for nonce_error_corrections in -m 22000 2019-12-16 12:47:48 +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
philsmd
415842524d
tests: allow tests with 05 AND 04 in zlib header for electrum 5 2019-12-11 15:45:47 +01:00
Jens Steube
86d3f9e9c7 Fix -m 21600 default hash length 2019-11-27 09:03:17 +01:00
Jamie R
d4ec5161fe add web2py pbkdf2-hmac-sha512 variant 2019-11-24 15:00:13 +00:00
Jens Steube
9f719e6801 Add external hashcat benchmarking tool 2019-11-23 11:05:30 +01:00
Jens Steube
13dcae6879 Fix -m 15400 selftest-pair, benchmark-mask and unit-test 2019-11-21 09:39:07 +01:00
philsmd
db91fe6981 Added -m 21700 = Electrum 4 and -m 21800 = Electrum 5 2019-11-16 10:48:52 +01:00
Jens Steube
a011006104
Merge pull request #2218 from philsmd/fix_test_perl_module_uninstall
minor: pip2 confirm uninstall fixed
2019-11-11 10:16:14 +01:00
philsmd
fc2d9ad235 minor: pip2 confirm uninstall fixed 2019-11-09 10:53:25 +01:00
philsmd
17b7eb1dce fixes #2200: new WinZip tokenizer hex data length problem 2019-11-09 10:44:28 +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
Jens Steube
cadf20b4b9 Fix some code in -m 21500 2019-08-08 10:47:09 +02:00
Jens Steube
dd262a9aa9
Merge pull request #2146 from matrix/solarwinds_orion_1
Added hash-mode 21500 - SHA512(PBKDF2-HMAC-SHA1)
2019-08-08 09:49:18 +02:00
Rosen Penev
f1ed35a5f6
tools.sh: Fix remaining quote warnings 2019-08-06 18:40:24 -07:00
Gabriele Gristina
5f44ce06f6 update SolarWinds Orion patch (2) 2019-08-06 20:23:37 +02: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
Gabriele Gristina
d1fa66b79c fix hash-mode 4710 module_constraints 2019-08-05 13:18:38 +02:00
Gabriele Gristina
7532058be0 Added hash-mode 21500 - SHA512(PBKDF2-HMAC-SHA1) 2019-08-05 01:40:49 +02: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
Rosen Penev
f3a3d5aed9
bash to sh for two scripts
These don't use any special bash features. They can use regular sh.
2019-08-03 22:58:56 -07:00
Jens Steube
e6d69ebaa6
Merge pull request #2143 from matrix/hash_mode_4711
Added hash-mode 4711, Huawei sha1(md5(pass).salt)
2019-08-03 20:24:18 +02:00
Jens Steube
a03bffe64f
Merge pull request #2128 from matrix/authme_1
Added hash-mode: AuthMe - sha256(sha256(pass).salt)
2019-08-03 20:24:07 +02:00
Gabriele Gristina
06bde16336 Added hash-mode 4711, Huawei sha1(md5(pass).salt) 2019-08-03 19:53:23 +02:00
Gabriele Gristina
358c68abd2 update AuthMe patch (3) 2019-08-03 02:37:43 +02:00
Jens Steube
c845d14601 Make -m 4710 more generic 2019-08-02 10:40:32 +02:00
Gabriele Gristina
66337ee8f5 update AuthMe patch (2) 2019-08-01 15:12:51 +02:00
Jens Steube
9e9adfcd7d
Merge pull request #2125 from matrix/double_sha256_1
Added hash-mode: sha256(sha256_bin(pass))
2019-07-31 15:59:36 +02:00
Gabriele Gristina
cc689caa42 switch hash-mode from 1470 to 21400, cleanup credits/readme/changes txt 2019-07-31 15:39:16 +02:00
Jens Steube
738523d4ff
Merge pull request #2131 from matrix/BitShares_v0
Added hash-mode: BitShares v0.x - sha512(sha512(pass))
2019-07-31 15:38:47 +02:00
Jens Steube
fa5873ae33
Merge pull request #2134 from matrix/hash_mode_4430
Added hash-mode: md5(salt.sha1(salt.pass))
2019-07-31 14:44:33 +02:00
Jens Steube
41dc503506
Merge pull request #2133 from matrix/md5_combo_2
Added hash-mode: md5(sha1(salt).md5(pass))
2019-07-31 13:19:12 +02:00
Jens Steube
0582a58ce2
Merge pull request #2132 from matrix/hash_mode_4720
Added hash-mode: sha1(md5(pass.salt))
2019-07-31 13:15:06 +02:00
Jens Steube
e74fcffcea
Merge pull request #2127 from matrix/md5_combo_1
Added hash-mode: md5(sha1(pass).md5(pass).sha1(pass))
2019-07-31 12:46:22 +02:00
Jens Steube
7dba0f311a
Merge pull request #2110 from matrix/sha256_md5_huawei
Added hash-mode: sha256(md5(pass))
2019-07-30 15:34:22 +02:00
Gabriele Gristina
16b06f51fc switch hash-mode from 4430 to 21300 2019-07-30 15:26:07 +02:00
Gabriele Gristina
16b4f745af switch hash-mode from 4420 to 21200 2019-07-30 15:23:04 +02:00
Gabriele Gristina
8f236f9609 switch hash-mode from 4720 to 21100 2019-07-30 15:19:22 +02:00
Gabriele Gristina
bba2ee65a2 switch hash-mode from 1770 to 21000 2019-07-30 15:15:49 +02:00
Gabriele Gristina
1b5168b95a switch hash-mode from 4410 to 20900 2019-07-30 15:08:55 +02:00
Gabriele Gristina
f2d92d8aec switch hash-mode from 4710 to 20800 2019-07-30 14:44:17 +02:00
Gabriele Gristina
c1d15d613b switch hash-mode from 19400 to 20700 2019-07-29 17:16:53 +02:00
Gabriele Gristina
973a972324 Added optimized kernels, fix test 2019-07-29 00:31:51 +02:00
Gabriele Gristina
d824d1943e Added hash-mode: md5(salt.sha1(salt.pass)) 2019-07-27 17:03:19 +02:00
Gabriele Gristina
370a552459 Added hash-mode: md5(sha1().md5()) 2019-07-27 14:16:30 +02:00
Gabriele Gristina
e766cf0dc7 Added hash-mode: sha1(md5(.)) 2019-07-27 02:03:23 +02:00
Gabriele Gristina
af622f6df5 Added hash-mode: BitShares v0.x - sha512(sha512(pass)) 2019-07-26 23:47:32 +02:00
Gabriele Gristina
bbee1890cd Added hash-mode: sha1(md5(pass).salt) 2019-07-26 01:49:35 +02:00
Gabriele Gristina
eedceb698f Added hash-mode: md5(sha1().md5().sha1()) 2019-07-25 23:56:20 +02:00
Gabriele Gristina
c166242996 Add AuthMe - sha256(sha256().) kernel module 2019-07-23 19:23:06 +02:00
Gabriele Gristina
038bce131f Add Double sha256 kernel module 2019-07-20 21:06:46 +02:00
Gabriele Gristina
10f243aa20 add test module, update credits.txt 2019-07-13 16:36:25 +02:00
Jeremi M Gosney
d772af8fa8 update constraints for m20600 test module 2019-06-19 08:12:25 -05:00
Jeremi M Gosney
871df0b81b add hash mode 20600 (oracle transportation manager) 2019-06-18 11:41:41 -05: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
Jens Steube
c9fba782ed Add minimum password length for -m 20510 2019-05-18 16:29:58 +02:00
Sein Coray
15cbaa0f59
adding pkzip stream cipher kernels 20500 and 20510 2019-05-17 14:11:22 +02:00
Jens Steube
2eebc27ec1
Merge pull request #2008 from vlohacks/master
New modules for Python passlib pbkdf2 sha variants
2019-05-15 09:51:19 +02:00
vlo
14dd1aaaeb Added support for passlib pbkdf2-sha256 and sha1
Added: Module for pbkdf2-sha256
Added: Module for pbkdf2-sha1
Cleanup: Avoid magic values for hash lengths
Cleanup: Coding style
2019-05-08 09:24:12 +02:00
Jens Steube
bbed0cd67a Fix test.sh and bitsliced algos 2019-05-06 15:06:02 +02:00
vlo
003e23bae8 Change hash mode of addition, add test module
Changed pbkdf2-sha512 Perl passlib hash module hashmode to 20200
(assigned by maintainer)

Added test module for 20200 module
2019-05-02 22:36:23 +02:00
jsteube
b9aaaf7809 Move 198xx DiskCryptor to 200xx to not collide with Kerberos 5, etype 17, Pre-Auth 2019-04-20 19:41:37 +02:00
Jens Steube
17ab30b29f
Merge pull request #1991 from brandoncasaba/master
Add hash modes 19800 (krb5pa etype 17) and 19900 (krb5pa etype 18)
2019-04-20 19:10:33 +02:00
jsteube
f424dd1edb Fix tools/install_modules.sh ro uninstall pycryptodome 2019-04-19 13:17:15 +02:00
Brandon Chalk
0a4ce19915 Merge branch 'master' of https://github.com/hashcat/hashcat 2019-04-16 10:03:05 -07:00
Brandon Chalk
5adb941f9a Test module variable scope fix 2019-04-16 09:58:28 -07:00
philsmd
407d331c9d
tests: fix hash generation of -m 8300 = DNSSEC
The salt needs to be passed AS-IS (in hexadecimal) not converted to binary for the perl module Net::DNS::RR::NSEC3::name2hash.

Thank you very much
2019-04-13 19:10:52 +02:00
Brandon Chalk
95c74c52c1 Add hash modes 19800 (krb5pa etype 17) and 19900 (krb5pa etype 18) 2019-04-09 21:58:42 -07:00
philsmd
ab2f81dd38
tests: add all DiskCryptor test modules 2019-04-08 23:24:27 +02:00
jsteube
4cd98603f5 Add DiskCryptor modules for 1024 bit and 1536 and support for Serpent and Twofish. Be careful, untested yet! 2019-04-08 09:31:31 +02:00
Jens Steube
797c7b4be1
Merge pull request #1981 from philsmd/master
added -m 19800 = DiskCryptor AES
2019-04-07 18:15:45 +02:00
philsmd
60c255a69d
added -m 19800 = DiskCryptor AES 2019-04-07 18:08:56 +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
Sein Coray
1143cef606
Merge branch 'master' into master 2019-03-18 09:48:09 +01:00
Fist0urs
2a2d352c39 m19700 test cases: remove debug strings 2019-03-13 22:22:54 +01:00
Fist0urs
afb010870a Add hash modes 19600 (krb5tgs enctype 17) and 19700 (krb5tgs enctype 18) 2019-03-13 17:20:04 +01: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
jsteube
0507d709f0 Enable setting test.pl IS_OPTIMIZED via environment variable 2019-03-08 16:05:17 +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
Sein Coray
ee97d18af9
Added hash mode 19500 2019-03-06 21:15:09 +01:00
jsteube
634c88a027 Merge branch 'master' of https://github.com/hashcat/hashcat 2019-03-05 08:19:11 +01:00
jsteube
3b4bd54899 Fix -m 10700 unit test maximum password length in pure kernel mode 2019-03-05 08:18:50 +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
23917455ef Added hash-mode 19300 sha1(..) 2019-02-28 20:00:52 +01:00
jsteube
87c24200da Added QNX /etc/shadow hash cracking support
- Added hash-mode 19000 QNX /etc/shadow (MD5)
- Added hash-mode 19100 QNX /etc/shadow (SHA256)
- Added hash-mode 19200 QNX /etc/shadow (SHA512)
Implements #35
2019-02-27 17:53:00 +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
9b916918de Remove some debugging leftovers in unit tests 2019-02-23 17:50:21 +01:00
jsteube
d0d4ce9f8c Added hash-mode 18800 Blockchain, My Wallet, Second Password (SHA256) 2019-02-23 17:45:02 +01:00
jsteube
68d6d36761 Binary Distribution: Removed 32 bit binary executeables 2019-02-22 21:36:02 +01:00
jsteube
1769181d08 Some extra steps for -m 18900 2019-02-22 15:50:03 +01:00
jsteube
29fedf2c41 Added hash-mode 18900 Android Backup 2019-02-22 15:49:47 +01:00
jsteube
b4d52e412b Rename -m 18700 to Java Object hashCode() 2019-02-22 09:30:56 +01:00
jsteube
a925545354 No longer require legacy_test.pl 2019-02-21 16:50:50 +01:00
jsteube
51eb9ebff7 Added hash-mode 18700 DJB 32 2019-02-21 13:52:01 +01:00
jsteube
2d0c57c647 Fix pure kernel maximum password length in -m 9900 test unit 2019-02-20 20:56:25 +01:00
jsteube
ae360d8dca Make sure in test.pl to output always at least 8 passwords 2019-02-20 14:18:15 +01:00
jsteube
2162e411e9 Ensure that len_min cannot be larger than len_max, which can happend if len_max was forced to reduced in some special conditions 2019-02-20 13:45:02 +01:00
jsteube
cec4aeac10 Enforce a certain number of entries in random selected password and salt length selection buffers in test.pl 2019-02-20 13:37:34 +01:00
jsteube
a1b72fc93a Go back to at least one minimum and maximum of password and salt length 2019-02-20 13:03:21 +01:00
jsteube
568336d35f Fix -m 5800 unit test 2019-02-20 12:48:12 +01:00
philsmd
b79384c834
tests: fix HASH_TYPES variable and add containers to package 2019-02-20 11:09:20 +01:00
jsteube
dc94408cdb Fix maximum password length in -m 5800 2019-02-19 17:46:42 +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
63fac132e3 Fix cracking streebog 256/512 hmac cracking with password length > 64 2019-02-19 17:17:01 +01:00
jsteube
2f36fb5b44 Remove convert tracker from README.md 2019-02-19 16:30:53 +01:00
jsteube
1d95825e5f Add -m 14600 unit test 2019-02-19 16:29:15 +01:00
Jens Steube
299c8b0f6a
Merge pull request #1922 from 0xbsec/modes_unit_tests_6
Add unit tests for multiple modules
2019-02-19 16:27:11 +01:00
jsteube
aacd2e2e77 Add -m 13600 unit test 2019-02-19 16:20:41 +01:00
jsteube
be4b813a47 Add -m 13500 unit test 2019-02-19 16:13:24 +01:00
jsteube
72a65a4c3e Add -m 13400 unit test 2019-02-19 16:05:42 +01:00
mhasbini
825c977ca4 Add unit tests for multiple modules
13800, 13900, 14400, 14700, 14800, 14900, 15000, 15100 & 15200
2019-02-19 17:02:43 +02:00
jsteube
f36549cf75 Add -m 13300 unit test 2019-02-19 15:50:39 +01:00
jsteube
eccd93a200 Add -m 13200 unit test 2019-02-19 15:31:36 +01:00
jsteube
eb4f5d82d1 Add -m 11900 unit test 2019-02-19 14:58:05 +01:00
jsteube
d81b794aec Support naming VC modes using -m with test.sh 2019-02-19 14:37:48 +01:00
jsteube
0e9f445030 Add -m 15400 unit test 2019-02-19 14:28:26 +01:00
jsteube
b8e5daa582 Add -m 12900 unit test 2019-02-19 13:43:14 +01:00
jsteube
b805c73351 Add -m 12800 unit test 2019-02-19 13:37:06 +01:00
jsteube
f7b95aed8b Add -m 10700 unit test 2019-02-19 13:28:48 +01:00
jsteube
72377c1954 Fix -m 10600 max password length in pure kernel mode 2019-02-19 13:17:40 +01:00
jsteube
b8ea0ad0a1 Add -m 10600 unit test 2019-02-19 13:12:41 +01:00
jsteube
89f2ea1bec Do not use next if we mean return 2019-02-19 12:50:57 +01:00
jsteube
1c7e6d0eaf Add -m 10500 unit test 2019-02-19 12:46:25 +01:00
jsteube
b8134ba920 Add -m 10400 unit test 2019-02-19 12:37:43 +01:00
jsteube
07fa13b695 Add -m 10300 unit test 2019-02-19 12:23:46 +01:00
jsteube
942acb266e Update -m 12000 module and unit test for longer salts 2019-02-19 11:12:28 +01:00
jsteube
7cb5e77f16 Add -m 10200 unit test 2019-02-19 10:53:49 +01:00
jsteube
792aa56893 Add -m 10100 unit test 2019-02-19 10:44:24 +01:00
jsteube
b30495b901 Update constraints for new unit tests 2019-02-19 09:34:58 +01:00
mhasbini
95b8c98980 Add unit tests for multiple modules
11700, 11750, 11760, 11800, 11850, 11860, 12001, 12100, 12200, 12300, 12600 & 12700
2019-02-18 20:53:32 +02:00
jsteube
b0bffaf5eb Add -m 10000 unit test 2019-02-18 15:59:51 +01:00
jsteube
78d8c1583f Add -m 9900 unit test 2019-02-18 15:51:58 +01:00
jsteube
c648bdbc0e Add -m 9800 unit test 2019-02-18 14:24:45 +01:00
jsteube
36550d475a Add -m 9700 unit test 2019-02-18 14:19:36 +01:00
jsteube
7d361c7215 Add -m 9600 unit test 2019-02-18 14:12:28 +01:00
jsteube
1cecf8ff16 Add -m 9500 unit test 2019-02-18 14:03:29 +01:00
jsteube
fe8a0e5bca Add -m 9400 unit test 2019-02-18 12:26:58 +01:00
jsteube
69cee1291a Add -m 9300 unit test 2019-02-18 12:09:40 +01:00
jsteube
1bfbfd7063 Add -m 9200 unit test 2019-02-18 12:05:10 +01:00
jsteube
aa21c10283 Add -m 9100 unit test 2019-02-18 09:48:39 +01:00
jsteube
a560b45705 Remove optimized settings for 10900 and 11300 2019-02-17 22:04:09 +01:00
mhasbini
1049cc8016 Add unit tests for multiple modules:
10900, 11000, 11100, 11200, 11300 & 11400
2019-02-17 22:48:19 +02:00
jsteube
71a071ebdb Add -m 8900 unit test 2019-02-17 16:11:30 +01:00
jsteube
da8cffe12e Add -m 8700 unit test 2019-02-17 16:06:55 +01:00
jsteube
55f1b14f92 Add -m 8600 unit test 2019-02-17 15:54:45 +01:00
jsteube
ac5bcd89fa Add -m 8500 unit test 2019-02-17 15:49:57 +01:00
jsteube
a677920fd8 Add -m 8400 unit test 2019-02-17 15:44:27 +01:00
jsteube
ed3a743453 Add -m 8300 unit test 2019-02-17 15:39:34 +01:00
jsteube
7be1f9cfba Add -m 8200 unit test 2019-02-17 15:24:33 +01:00
jsteube
f2d85e0793 Add -m 8100 unit test 2019-02-17 15:15:55 +01:00
jsteube
afd15a241a Add -m 8000 unit test 2019-02-17 15:10:39 +01:00
jsteube
700d82c868 Add -m 7900 unit test 2019-02-17 15:03:44 +01:00
jsteube
cbe0019461 Add -m 7700, 7701, 7800, 7801 unit tests 2019-02-17 14:55:35 +01:00
jsteube
c4602a2255 Replace -m 1800 und and -m 7400 unit test code with system code 2019-02-17 09:37:50 +01:00
jsteube
5c9544bca5 Make sure the salts are unique in unit tests, otherwise -m 6800 will fail 2019-02-17 09:09:29 +01:00
jsteube
f4e43da456 Fix whirlpool final() handling 2019-02-17 08:57:51 +01:00
jsteube
f2e2967eec Fixed more constraints in unit tests 2019-02-16 16:04:37 +01:00
jsteube
44b15049e7 Mode 2400 and 2410 do not have pure kernel 2019-02-16 14:28:19 +01:00
jsteube
687fe5403c Blake2b has no pure kernel mode 2019-02-16 14:12:18 +01:00
jsteube
ba803a79ae Fix several constraints of raw modes 2019-02-16 13:37:17 +01:00
jsteube
9a4426169c Improve test.pl password selection 2019-02-16 12:08:50 +01:00
jsteube
6c215ad015 Fix minimum password length in -m 16000 unit test 2019-02-16 10:04:16 +01:00
jsteube
db18966093 Update max combinator length in unit test -m 3800 2019-02-15 21:41:38 +01:00
jsteube
76bd9d105f Add -m 7400 unit test 2019-02-15 21:21:44 +01:00
jsteube
179194a576 Add -m 7300 unit test 2019-02-15 21:13:54 +01:00
jsteube
6a387bf704 Add -m 7200 unit test 2019-02-15 21:10:02 +01:00
Jens Steube
0a77d089b3
Merge pull request #1918 from 0xbsec/modes_unit_tests_3
Add unit tests for multiple modules:
2019-02-15 20:52:32 +01:00
mhasbini
e085177e58 Add unit tests for multiple modules:
15500, 15600, 15700, 16000, 16100, 16200, 16300, 16400, 16500, 16600 & 16700
2019-02-15 21:48:09 +02:00
jsteube
e0cc7eac67 Add -m 7000 unit test 2019-02-15 20:42:33 +01:00
jsteube
0cb3d83b5e Add -m 6800 unit test 2019-02-15 20:36:45 +01:00
jsteube
2bed7f0ff6 Add -m 6700 unit test 2019-02-15 20:27:45 +01:00
jsteube
f4eb95f8ee Merge branch 'hash-mode-plugin' of https://github.com/hashcat/hashcat into hash-mode-plugin 2019-02-15 20:17:13 +01:00
jsteube
4f947bd40a Add -m 6600 unit test 2019-02-15 20:16:51 +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
jsteube
6e8c4f5577 Fix minimum salt length in -m 18100 unit test 2019-02-15 14:33:42 +01:00
jsteube
20b8139808 Mode 6900 does not support empty passwords 2019-02-15 13:21:34 +01:00
jsteube
38761eb873 Add -m 6900 unit test 2019-02-15 13:19:53 +01:00
jsteube
4768b848b4 Add -m 18300 unit test 2019-02-15 12:27:51 +01:00
jsteube
d98e989a40 Add -m 16900 unit test 2019-02-15 12:13:55 +01:00
jsteube
0d7d1219f5 Add -m 4800 unit test 2019-02-15 10:26:21 +01:00
jsteube
c52854ebb7 Add -m 1731 unit test 2019-02-15 09:50:19 +01:00
jsteube
9310b534f4 A few fixes on unit tests 2019-02-14 17:50:47 +01:00
mhasbini
7148aa6706 Add unit tests for several modes:
4900, 5300, 5400, 5700, 5800, 6000, 6100, 6400 & 6500
2019-02-14 01:22:16 +02:00
mhasbini
592303b075 Add unit tests for modes: 3710, 3711, 4521 & 4522 2019-02-13 20:21:21 +02:00
mhasbini
e71fba037f Add unit tests for several modes:
1750, 1760, 2100, 2410, 2611, 2612, 2711, 2811 & 3100
2019-02-13 20:00:56 +02:00
jsteube
e571b890e9 Fixed length check for raw PBKDF2 modules 2019-02-13 10:03:07 +01:00
jsteube
af634750f2 Fix Joomla salt length 2019-02-13 09:37:30 +01:00
mhasbini
dec7e25a63 Add -m 1722 unit test 2019-02-10 13:30:54 +02:00
mhasbini
7c67346bfc Add unit tests for -m 1421 -m 1441 -m 1450 -m 1460 -m 1711 2019-02-10 13:21:20 +02:00
mhasbini
c3f7c30eea Remove debug lines from -m 1411 unit test 2019-02-10 13:12:01 +02:00
jsteube
b9365b8961 Disable combinator constraint in -m 1100 2019-02-10 10:27:29 +01:00
mhasbini
dabbc521cb Update -m 1100 unit test constraints 2019-02-10 03:33:41 +02:00
mhasbini
99c14b4d5f Add -m 1411 unit test 2019-02-10 03:01:12 +02:00
mhasbini
54cfc60c57 Add -m 1100 unit test 2019-02-10 02:49:36 +02:00
mhasbini
3df9a862f3 Add -m 124 unit test 2019-02-10 02:44:39 +02:00
mhasbini
76ec0268a7 Add unit test for -m 1410 -m 1420 -m ...
-m 1440 -m 1710 -m 1720 -m 1730 -m 1740 -m 4300 -m 4400 -m 4500 -m 4520 -m 4700
2019-02-10 02:20:03 +02:00
mhasbini
be4ab7320b Add -m 2600 unit test 2019-02-10 01:56:42 +02:00
mhasbini
438b74da56 Add -m 4010 & -m 4110 unit tests 2019-02-10 01:54:17 +02:00
mhasbini
08118bedcc Add unit test for -m 3800 and -m 3910 2019-02-10 01:15:05 +02:00
jsteube
c9e796fcf0 Add some more modules converted 2019-02-08 13:00:40 +01:00
jsteube
f53b846cb7 Add some VeraCrypt boot-mode test header 2019-02-07 17:00:17 +01:00
mhasbini
bd39edc8a2 Add unit test for -m 18100 2019-01-28 20:29:48 +02:00
mhasbini
f142651f15 Fix salt encoding 2019-01-27 23:09:54 +02:00
mhasbini
86d7f0a95b Add -m 11500 module & unit test 2019-01-27 19:58:20 +02:00
jsteube
fa5d122fa0 Add unit test for -m 5500 2019-01-25 17:15:53 +01:00
jsteube
e1e1ac5341 Add module and unit test for -m 13000 2019-01-25 16:35:54 +01:00
jsteube
b729fe04b7 Add module and unit test for -m 11600 2019-01-25 11:24:17 +01:00
Jens Steube
280cc63369
Merge branch 'hash-mode-plugin' into m17600_m18000_modes 2019-01-25 01:03:49 +01:00
mhasbini
c2fdf6172d Add module and unit test for -m 18000
Add -m 17600
2019-01-24 22:31:14 +02:00
mhasbini
48b710e73e Add module and unit test for -m 17900
Add -m 17500
2019-01-24 22:18:02 +02:00
jsteube
83229acd6b Add module and unit test for hash-mode 7100 2019-01-24 15:25:07 +01:00
jsteube
c67287e754 Add module and unit test for hash-mode 15000 2019-01-24 14:05:49 +01:00
jsteube
fc90bfc00c Add module and unit test for hash-mode 15300 2019-01-24 13:43:07 +01:00
jsteube
67627607be Add module and unit test for hash-mode 18200 2019-01-24 12:34:02 +01:00
jsteube
81c3edede3 Add module and unit test for hash-mode 13100 2019-01-24 12:07:24 +01:00
Jens Steube
17fdf8754d
Merge pull request #1885 from 0xbsec/m17400_m17800_modes
Add module and unit test for -m 17800 (& -m 17400 module)
2019-01-24 09:47:46 +01:00
mhasbini
2f89c47ee1 Add module and unit test for -m 17800
Add -m 17400
2019-01-23 23:57:46 +02:00
jsteube
4951816a30 Add module and unit test for hash-mode 7500 2019-01-23 16:29:14 +01:00
jsteube
fcebe9fadb Add module and unit test for hash-mode 1800 2019-01-23 15:05:22 +01:00
jsteube
748a1aac22 Add module and unit test for hash-mode 12000 2019-01-23 11:05:40 +01:00
mhasbini
5497154a89 Add module and unit test for hash-mode 17700 2019-01-22 21:32:31 +02:00
jsteube
8ad3333d2a Add module and unit test for hash-mode 3200 2019-01-21 15:22:58 +01:00
jsteube
de690abfa6 Add unit test modules 1600, 6300 2019-01-20 23:26:40 +01:00
mhasbini
3de0b294a0 Add 17300, 17400, 17500 & 17600 module unit tests 2019-01-20 17:06:15 +02:00
jsteube
0bec0cfb89 Add -m 3000 module and unit test 2019-01-20 12:04:06 +01:00
jsteube
f859fbea66 Add -m 16800 module and unit test 2019-01-20 11:17:48 +01:00
jsteube
355ae342f7 Add -m 2501 module 2019-01-20 10:41:16 +01:00
jsteube
06a5e736b9 Add -m 500 unit test 2019-01-19 20:09:32 +01:00
jsteube
6a39617949 Add -m 600 unit test 2019-01-18 23:25:30 +01:00
jsteube
4550f2f771 Add -m 500 unit test 2019-01-18 23:18:05 +01:00
jsteube
73966d29e7 Add -m 400 unit test 2019-01-18 23:09:19 +01:00
jsteube
da413b4eaa Add -m 5100 module 2019-01-18 22:56:37 +01:00
jsteube
02bdf8dda3 Add unit test modules for -m 14000 and -m 14100 2019-01-16 21:01:24 +01:00
jsteube
2c47c03e26 the idea of having guaranteed mixed password and salt lengths is not working.
fixed size password (as in DES) will always produce length 8 but only the first would get accepted.
the same logic basically also applies if the range is less than 8.
2019-01-16 20:56:40 +01:00
jsteube
036e4eba2c Use -rdynamic instead of including sources of depencies for module compilation 2019-01-13 19:16:00 +01:00
Jens Steube
e0a630d5a5
Merge pull request #1864 from matrix/hash-mode-plugin-2400
Add Cisco-PIX MD5 module
2019-01-09 16:10:52 +01:00
jsteube
2e61d9d0b8 Authenticated hashes (HMAC) use separate buffers for password and salt, therefore no combination constraints required 2019-01-09 11:24:39 +01:00
Jens Steube
e08cca8eee
Merge pull request #1863 from s3inlc/test-plugin-150_160
Added test modules for mode 150 and 160
2019-01-09 11:17:45 +01:00
Jens Steube
d2dfc75d11
Merge pull request #1862 from matrix/hash-mode-plugin-md4
Add MD4 module
2019-01-09 11:17:04 +01:00
Jens Steube
1f398f7626
Merge pull request #1861 from s3inlc/test-plugin-133_140_141
Added test modules for mode 133, 140 and 141
2019-01-09 11:14:16 +01:00
Jens Steube
0f4eac3339
Merge pull request #1859 from s3inlc/test-plugin-130_131_132
Added test modules for mode 130, 131 and 132
2019-01-09 11:07:55 +01:00
Sein Coray
2638052daa
Fixed spacing 2019-01-09 10:51:26 +01:00
Sein Coray
a1fa4aa12f
Fixed spacing 2019-01-09 10:50:26 +01:00
jsteube
31822a9bea Fix spacing 2019-01-09 10:11:50 +01:00
Jens Steube
ebd4fcbbc2
Merge pull request #1856 from s3inlc/test-plugin-121_122_125
Added test modules for mode 121, 122 and 125
2019-01-09 10:10:10 +01:00
Jens Steube
0394df1faf
Merge pull request #1855 from matrix/hash-mode-plugin-sha384
Add SHA384 module
2019-01-09 10:07:21 +01:00
Gabriele Gristina
6fb999a505 Add Cisco-PIX MD5 module 2019-01-08 23:57:58 +01:00
Sein Coray
f16f04ac17
Added test modules for mode 150 and 160 2019-01-08 23:46:44 +01:00
Gabriele Gristina
6fc74a2bdb Add MD4 module 2019-01-08 23:32:17 +01:00
Sein Coray
4d1c53b3e5
Added test modules for mode 133, 140 and 141 2019-01-08 23:27:20 +01:00
Sein Coray
e12ce123c9
Added test modules for mode 130, 131 and 132 2019-01-08 23:00:23 +01:00
Sein Coray
3b629e9c12
Added test modules for mode 121, 122 and 125 2019-01-08 22:35:12 +01:00
Gabriele Gristina
2068f88371 Add SHA384 module 2019-01-08 22:03:07 +01:00
Gabriele Gristina
aa15ae9fb5 Add SHA224 module 2019-01-08 21:46:10 +01:00
Gabriele Gristina
9f6a27e8b6 Add SHA256 module 2019-01-08 20:28:25 +01:00
jsteube
105c0ce0cb Add unit test for SHA512 2019-01-08 20:10:25 +01:00
Jens Steube
fb938970d8
Merge pull request #1844 from s3inlc/test-plugin-101_111_112
Added test modules for mode 101, 111 and 112
2019-01-03 17:06:56 +01:00
Sein Coray
7b033a58ae
Fixed test module constraints 2019-01-03 16:35:41 +01:00
Sein Coray
c959d1bb34
Added test modules for mode 101, 111 and 112 2019-01-03 13:43:05 +01:00
jsteube
958d89872a Remove old code 2019-01-03 13:41:54 +01:00
jsteube
55ff8fe729 Guarantee to have used the minimum and maximum length of both password and salt to be used at least once 2019-01-03 13:37:15 +01:00
jsteube
620bd693c5 Guarantee output of 8 entries in single mode in test.pl 2019-01-03 13:19:36 +01:00
jsteube
0baf8fc2f9 Fix constraints in -m 30 and -m 40 and return array in -m 40 2019-01-03 12:51:45 +01:00
jsteube
9ee247c6f8 Fix password length for optimized mode in constraints for hash-mode 22: 55 - (1 + 20 + 1) 2019-01-03 11:03:35 +01:00
Jens Steube
3516fd70a4
Merge pull request #1843 from s3inlc/test-plugin-22_30_40
Added test modules for mode 22, 30 and 40
2019-01-03 10:56:49 +01:00
Sein Coray
a4b7a052b8
Added test modules for mode 22, 30 and 40 2019-01-03 00:12:39 +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
ac0560fd4a Make use of module_constraints more easy and fix some modes 2018-12-29 16:23:29 +01:00
jsteube
eeff037365 Fix test.sh in non-optimized mode 2018-12-28 22:32:54 +01:00
jsteube
f721f23d39 Update test modules to max password length 255 not 256 2018-12-28 22:31:03 +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
jsteube
813977e419 test.sh first changes 2018-12-28 16:51:40 +01:00
jsteube
bcbaef3853 Fix maximum password and salt length in -m 23 2018-12-28 13:20:20 +01:00
jsteube
e137794555 Fix random_number() and -m 12 contraints 2018-12-28 12:30:57 +01:00
jsteube
e8029cdc5c Generate more reasonable pw and salt length in test.pl mode single 2018-12-28 11:53:41 +01:00
jsteube
062e539b02 Workaround old salt length problem 2018-12-28 10:56:45 +01:00
jsteube
22da2407e9 Make sure word length in test.pl single mode only increases or stays equal to previous one 2018-12-28 00:09:25 +01:00
jsteube
10a7c5df3d Improve test.pl functionality a bit 2018-12-27 19:54:12 +01:00
jsteube
fcaa7d5336 Fix test_modules 2018-12-27 19:43:51 +01:00
jsteube
2afb4e0f36 Fix test.pl single mode if password is '0' 2018-12-27 16:31:36 +01:00
jsteube
7538e82b72 Bring back comparison of hashlist in crackfile 2018-12-27 15:49:18 +01:00
jsteube
97fc147aec Do not try passwords > length 31 in optimized mode, because this works only in -a 3 mode 2018-12-24 14:21:45 +01:00
Jens Steube
5717fcd1a6 Update test_modules and test.pl to respect valid password and salt length ranges per hash mode 2018-12-23 18:15:53 +01:00
Jens Steube
b20591fb89
Merge pull request #1840 from s3inlc/test-plugin-50_60
Added test modules for mode 50 and 60
2018-12-23 15:18:04 +01:00
Jens Steube
ec96c5128f
Merge pull request #1839 from s3inlc/test-plugin-20_21_23
Added test modules for mode 20, 21 and 23
2018-12-23 15:17:49 +01:00
Sein Coray
c15b095088
Added test modules for mode 50 and 60 2018-12-22 23:20:06 +01:00
Sein Coray
b3c29c9412
Added test modules for mode 20, 21 and 23 2018-12-22 22:50:37 +01:00
Jens Steube
1091feb85d
Merge pull request #1838 from s3inlc/test-plugin-10_12
Added test modules for mode 10 and 12
2018-12-22 22:27:58 +01:00
Sein Coray
f476ccc548
added new test module for mode 10 and 12 2018-12-22 22:18:49 +01:00
Jens Steube
146acbd79f
Merge pull request #1837 from s3inlc/test-plugin-18500
Added new test module for mode 18500
2018-12-22 21:19:45 +01:00
jsteube
8bb28837ef Limit single mode to 31 in general as in old test.pl 2018-12-22 21:13:34 +01:00
Sein Coray
b09ccbfbb0
Added new test module for mode 18500 2018-12-22 21:10:00 +01:00
R. Yushaev
6365672c34 Add module_preprocess_hashlist hook for tests
Some algorithms have ambiguous hashes (e.g. case-insensetive usernames
in Net-NTLMv2 hashes). This optional function allows test modules to
unify the hashlist before the verification process starts.

Also update readme and minor code formatting.
2018-12-22 19:29:24 +01:00
jsteube
7396ce3273 Remove copy/paste left over 2018-12-21 15:20:16 +01:00
jsteube
864bd3451e Add test module for -m 1500 2018-12-21 14:16:31 +01:00
R. Yushaev
9f1749dce3 Add test modules and helper functions
Modularize mode 5600, add random_ helper functions, update readme.
2018-12-21 12:16:11 +01:00
jsteube
ae53dd3b85 Update other modules just for consistency 2018-12-21 09:53:41 +01:00
jsteube
73af860f43 Add functionality in test.pl to allow empty hash returns. This is required to enable hash-mode depending password length checks. NTLM supports just 27 characters in optimized mode, but single mode would produce 32, resulting in a non found password 2018-12-21 09:48:51 +01:00
jsteube
c5fb8ab2e8 Fix use of test.pl from test.sh 2018-12-21 09:20:16 +01:00
jsteube
c0e83dc471 Some minor test.pl fixes, added m01000.pm 2018-12-21 09:10:23 +01:00
R. Yushaev
444d11a74b Add test modules
Add tests for modes 0, 100, 110, 120, 18400, 18600. Update readme.
2018-12-20 19:18:06 +01:00
R. Yushaev
a92ab33ad5 Add modularized test.pl 2018-12-20 19:14:58 +01:00
R. Yushaev
d0478e4481 Rename test.pl to legacy_test.pl 2018-12-20 17:08:11 +01:00
R. Yushaev
b5a7e967c1 Add support for Open Document Format 1.1
Contains a kernel for the ODF 1.1 encryption implemented in OpenOffice.
The algorithm uses a SHA-1 checksum, a PBKDF2-HMAC-SHA1 key derivation
with 1024 iterations and Blowfish-CFB encryption.

Valid hashes can be extracted with the libreoffice2john.py script,
available from the John the Ripper Jumbo repository at
https://github.com/magnumripper/JohnTheRipper/blob/bleeding-jumbo/run/libreoffice2john.py

You have to remove the filename suffix at the end of the hash before
passing it to hashcat. Also see 'hashcat -m18600 --example-hashes'.

You can leave the filename prefix if you use the --username option to
process those hashes.

 - Add hash-mode 18600 (Open Document Format (ODF) 1.1 (SHA-1, Blowfish))
 - Tests: add hash-mode 18600 (Open Document Format (ODF) 1.1 (SHA-1, Blowfish))
2018-12-14 13:23:52 +01:00
R. Yushaev
875d6eb516 Fix selftest for hash-mode 18400 2018-12-14 13:09:54 +01:00