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
Jens Steube
9f3601c3dc
Merge pull request #1836 from Naufragous/preprocess-hashlist
...
Add module_preprocess_hashlist hook for tests
2018-12-22 19:48: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
a81a566121
Remove hashcat_ctx requirement in ascii_digest()
2018-12-21 15:58:15 +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
Jens Steube
8caffbe6d8
Merge pull request #1835 from Naufragous/test-modules
...
Add test modules and helper functions
2018-12-21 13:42:38 +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
Jens Steube
33de5afa8b
Merge pull request #1833 from Naufragous/modularize-tests
...
Modularize tests
2018-12-20 20:26:38 +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
jsteube
0421cc6782
Add OPTS_TYPE_PT_ALWAYS_HEXIFY
2018-12-20 16:12:29 +01:00
jsteube
0ce01b8836
Make use of module_hash_decode_outfile() in potfile.c as well
2018-12-20 15:46:26 +01:00
jsteube
cfc9772e0e
Add module_hash_decode_zero_hash()
2018-12-20 12:59:56 +01:00
jsteube
3ad6fab63e
Add module_potfile_disable()
2018-12-20 11:04:37 +01:00
jsteube
da30151b70
Get rid of hash_mode in outfile_check.c
2018-12-20 10:43:57 +01:00
jsteube
6928e5bfbe
Get rid of hash_mode in outfile_check.c
2018-12-20 10:33:29 +01:00
jsteube
ce0e19f185
Compile module as .dll example
2018-12-19 16:18:40 +01:00
jsteube
4028bae578
Use dynloader.c instead of dlopen() directly
2018-12-19 16:09:28 +01:00
jsteube
15f546bc4e
Update appveyor to not check dev branch
2018-12-19 15:20:48 +01:00
Jens Steube
33e9ffc24e
Merge pull request #1832 from Naufragous/hash-mode-plugin
...
Add Makefile target 'modules'
2018-12-19 14:45:00 +01:00
R. Yushaev
031094552b
Add Makefile target 'modules'
...
Allows to build all shared objects in modules directory using the
command 'make modules'. Also add objects to gitignore.
2018-12-19 14:31:32 +01:00
jsteube
7e1e1d34f8
Use real dlopen() to load the module
2018-12-19 13:43:45 +01:00
jsteube
fa0b8e643d
Fix pwdump column names
2018-12-19 11:15:18 +01:00
jsteube
ac55386553
Get rid of hash_mode in selftest.c
2018-12-19 10:58:06 +01:00
jsteube
ea22065b9c
Get rid of hash_mode in user_options.c
2018-12-19 10:13:51 +01:00
jsteube
e56c5035aa
Get rid of hash_mode in wordlist.c
2018-12-19 09:51:25 +01:00
jsteube
abbfc3d10b
Get rid of hash_mode in hlfmt.c
2018-12-18 16:59:00 +01:00
jsteube
4993a85b27
Get rid of hash_mode in dictstat.c
2018-12-18 15:00:00 +01:00
Jens Steube
9c0a1a53df
Merge pull request #1830 from hashcat/master
...
Backport from master
2018-12-18 14:39:51 +01:00
Jens Steube
1493bc01cf
Merge pull request #1829 from Naufragous/office-bug
...
Allow cracking non-unique salts for Office 2013
2018-12-18 14:39:08 +01:00
R. Yushaev
393916c0bf
Allow cracking non-unique salts for Office 2013
...
With hash-mode 9600 (MS Office 2013) there can be multiple hashes with
the same salt but with different encryption verifiers in esalt_bufs.
This commit adds the functionality to execute _comp kernels for
different hashes after deriving their common key once.
Fixes #1826
2018-12-18 14:32:56 +01:00
jsteube
e04cd244ab
Fix benchmark initializations
2018-12-17 18:55:20 +01:00
jsteube
3c37daf94b
Get rid of hash_mode in autotune.c
2018-12-17 18:49:07 +01:00
jsteube
f367b7ed91
Move code to migrate into separate files
2018-12-17 14:50:56 +01:00