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
Jens Steube
478fd2c8cf
Merge pull request #1815 from s3inlc/test-compatibility
...
Changed cat -A to cat -vet in test.sh
2018-12-13 14:21:31 +01:00
Sein Coray
997a6cce87
Changed cat -A to cat -vet in test.sh
2018-12-10 16:33:56 +01:00
Sein Coray
a70a0513bf
Added hash mode 18500 sha1(md5(md5($pass)))
...
closes hashcat/hashcat#1652
2018-12-10 16:11:11 +01:00
R. Yushaev
6a5b0c821e
Add support for Open Document Format 1.2
...
Contains a kernel for the latest ODF 1.2 encryption implemented in
LibreOffice. The algorithm uses a SHA-256 checksum, a PBKDF2-HMAC-SHA1
key derivation with 100000 iterations and key stretching and AES-CBC
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 -m18400 --example-hashes'.
You can leave the filename prefix if you use the --username option to
process those hashes.
- Add hash-mode 18400 (Open Document Format (ODF) 1.2 (SHA-256, AES))
- Tests: add hash-mode 18400 (Open Document Format (ODF) 1.2 (SHA-256, AES))
2018-12-06 18:00:09 +01:00
Jens Steube
72319875d8
Update version to 5.1.0
2018-12-02 11:58:48 +01:00
R. Yushaev
baf47d409e
Add Camellia support for VeraCrypt kernels
...
Adds suport for the Japanese cipher Camellia with 256-bit keys as used
by VeraCrypt.
- Add Camellia header decryption checks to all VeraCrypt kernels
- Add test containers for remaining cipher combinations
2018-11-28 14:21:14 +01:00
Jens Steube
8fb93a7685
Add new layouts folder to binary package script
2018-11-26 09:17:24 +01:00
R. Yushaev
8b04be0e93
Add Kuznyechik support for VeraCrypt kernels
...
Adds support for the Russian cipher specified in GOST R 34.12-2015, also
known as Kuznyechik (Grasshopper).
- Add Kuznyechik header decryption checks to all VeraCrypt kernels
- Add test containers for available Kuznyechik cipher combinations
2018-11-22 16:07:45 +01:00
Jens Steube
1a8c712452
Fix typo in test.pl
2018-11-21 08:54:20 +01:00
Jens Steube
2635331de3
Unify some global handling in test.pl
2018-11-19 09:30:20 +01:00
jsteube
63aae4d670
Fix missing perl modules in install_modules.sh
2018-11-18 20:48:01 +01:00
jsteube
b1d3e2d403
Add some missing perl modules to install_modules.sh
2018-11-18 08:55:49 +01:00
R. Yushaev
0134f5f018
Clean up test suite scripts
...
The test scripts have grown to be quite big (over 15000 lines) and
are hard to navigate. There are multiple if branches with over
40 conditional checks chained together. This commit solves some of
those issues.
- Unite big repetetive if conditions into clean array lookups
- Move 'install help' commands to a separate shell script
- Adjust array lookup in test.sh to behave more intuitive
- Add comments at key points to simplify navigation
- Code formatting
2018-11-12 13:49:12 +01:00