Commit Graph
48 Commits
Author SHA1 Message Date
jsteube da2249d143 Fix spacing/tabs 2019-01-09 10:09:12 +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
jsteube e453a9dc04 Fix spacing/tabs 2019-01-09 10:06:14 +01:00
Jens Steube ac9d0603a0 Merge pull request #1854 from matrix/hash-mode-plugin-sha224
Add SHA224 module
2019-01-09 09:59:51 +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 f5f6625a08 Add SHA1 module 2019-01-08 21:35:16 +01:00
Gabriele Gristina 0b1046d275 Remove additional space chars from SHA256 module 2019-01-08 21:11:49 +01:00
Gabriele Gristina 9f6a27e8b6 Add SHA256 module 2019-01-08 20:28:25 +01:00
jsteube 5bc292fe9b Update existing encoder / decoder to work with updated converter functions 2019-01-08 20:11:12 +01:00
Gabriele Gristina 82fcfafadf Add SHA2-512 module 2019-01-08 17:57:37 +01:00
jsteube 8a5f07df93 Add MD5 module 2019-01-08 16:31:41 +01:00
jsteube 0ae955c5ba With this commit, all hash_mode depending branches from core files are converted into hooks which can be registered on a module level 2019-01-08 15:55:11 +01:00
jsteube 86819c070f Add module_hash_save_binary() and module_hash_init_selftest() 2019-01-07 10:05:50 +01:00
jsteube 4c133c4567 Prepare hash_category 2019-01-05 21:02:19 +01:00
jsteube bbcc8fea29 Use MODULE_DEFAULT in module_init to reference a global default function 2019-01-05 20:17:12 +01:00
jsteube 888da50aad Get rid of hash_mode depending branches in status.c 2019-01-05 19:18:30 +01:00
jsteube e0deb3f825 Add module_deep_comp_kernel() 2019-01-05 18:44:43 +01:00
jsteube 6cbb5e4992 Refactor kernel_accel, kernel_loops and kernel_threads management in combination with modules 2019-01-05 18:24:37 +01:00
jsteube 9190be8d44 Add forced_kernel_accel function 2019-01-05 17:01:16 +01:00
jsteube 5633d6808f Move hash_mode specific code which enforce the use of the JiT compiler to modules 2019-01-04 11:23:48 +01:00
jsteube e537197184 Add module_build_plain_postprocess() 2019-01-03 15:43:19 +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 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 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 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
jsteube 3c37daf94b Get rid of hash_mode in autotune.c 2018-12-17 18:49:07 +01:00
jsteube 074947c6db Get rid of hashconfig_get_kernel_threads() and hashconfig_get_kernel_loops() 2018-12-17 13:03:32 +01:00
jsteube af22a9d1d9 Remove hashconfig_forced_kernel_threads() 2018-12-17 12:42:07 +01:00
jsteube 6e794841e3 Add default_benchmark_esalt(), default_benchmark_hook_salt(), default_benchmark_salt() 2018-12-17 11:16:53 +01:00
jsteube 3cce072f40 Get rid of strhashtype() 2018-12-17 10:33:21 +01:00
jsteube 0364dd359e Simplify use of default functions 2018-12-16 19:13:41 +01:00
jsteube e79fa9c22f Simplify use of default functions 2018-12-16 19:01:05 +01:00
jsteube ca169a890c Add more global default value functions 2018-12-15 19:46:55 +01:00
jsteube 1d8c31a7e2 Add more global default value functions 2018-12-15 19:04:05 +01:00
jsteube a4fb31e8f7 Add more global default value functions 2018-12-15 16:24:37 +01:00
jsteube 3848c73f80 Add decoder_apply_optimizer ()
Add encoder_apply_optimizer ()
Add decoder_apply_options ()
Add encoder_apply_options ()
2018-12-15 15:22:40 +01:00
Jens Steube bd37903131 Add hook_size, tmp_size, hook_salt_size 2018-12-14 17:18:17 +01:00
Jens Steube 3aecd150f9 Call module_hash_encode() in ascii_digest() 2018-12-14 15:29:57 +01:00
Jens Steube 222d76f01e Replace parse_func() with module_hash_decode() 2018-12-14 12:22:13 +01:00
Jens Steube 55add7c60e The goal of this branch to develop a plugin like interface for hashcat kernels.
The modification of existing core source files to add new hashcat kernels conflicts with the idea of having private hashcat kernel repositories especially when backporting latest hashcat core changes and new features.
The final outcome of this should be a plugin format that does not require modifications on the core soruce files.
Also convert all existing hash-modes to hashcat modules.
We'll start with dynamic loading the modules at runtime rather than linking them at compile time.
This will require some extra code for different OS types but should beneficial on a long term.
This commit add some first ideas of how such modules could look like, however there's no dynamic loading interface yet.
Next steps will be removing all hash-mode depending special code from source files and move them to the modules.
Finally merge with master.
2018-12-06 14:02:10 +01:00