1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-26 00:18:36 +00:00
Commit Graph

2804 Commits

Author SHA1 Message Date
jsteube
014cc8da6b Add module for -m 7300 2019-02-09 16:44:03 +01:00
jsteube
6cca2ff7ce Add module for -m 6900 2019-02-09 16:38:19 +01:00
jsteube
214593d4b1 Add module for -m 6300 2019-02-09 16:32:06 +01:00
jsteube
84357e2bd4 Add module for -m 6700 2019-02-09 16:28:29 +01:00
jsteube
80151320a2 Add module -m 6500 2019-02-09 12:25:55 +01:00
jsteube
ad0824261a Add module for -m 6400 2019-02-09 12:07:25 +01:00
jsteube
3d203af066 Add module for -m 5700 and -m 5800 2019-02-09 10:03:58 +01:00
jsteube
36157f00d9 Add module -m 4800 2019-02-08 17:41:42 +01:00
jsteube
9f5b297ac9 Add module -m 3100 2019-02-08 17:32:47 +01:00
jsteube
ac1e4bc458 Add module -m 2410 2019-02-08 17:24:55 +01:00
jsteube
bf85dd5c53 Add module -m 8200 2019-02-08 16:33:53 +01:00
jsteube
89faa8330f Add module -m 7200 2019-02-08 16:12:51 +01:00
jsteube
5cc04fe92a Add module -m 6600 2019-02-08 16:04:11 +01:00
jsteube
d7db71042f Add -m 14600 module 2019-02-08 15:40:27 +01:00
jsteube
e20fe6f3d1 add module -m 16700 2019-02-08 15:18:28 +01:00
jsteube
06d8f4cc7b Add module -m 15600 2019-02-08 14:54:08 +01:00
jsteube
ff5d983886 Add module -m 16000 2019-02-08 14:30:34 +01:00
jsteube
68d9b798f5 Add missing -m 1100 module 2019-02-08 13:19:15 +01:00
Jens Steube
19c1e46fac
Merge branch 'hash-mode-plugin' into m00023_module 2019-02-08 13:10:02 +01:00
jsteube
c9e796fcf0 Add some more modules converted 2019-02-08 13:00:40 +01:00
jsteube
a59d1c17eb Fix function declaration for execute_keyboard_layout_mapping() 2019-02-07 17:15:45 +01:00
jsteube
0c08e2fcab Add missing cpu_sha256 in module linking 2019-02-07 17:14:55 +01:00
jsteube
2734464cd1 Fix missing KERN3 use if using OPTS_TYPE_DEEP_COMP_KERNEL 2019-02-07 17:14:10 +01:00
jsteube
6a33be5ea5 Get rid of module_build_plain_postprocess() 2019-02-07 17:11:49 +01:00
jsteube
9b842e30ab Get rid of OPTI_TYPE_PRECOMPUTE_PERMUT 2019-02-07 17:05:02 +01:00
mhasbini
3b90c6c5a7 Add missing OPTS_TYPE & use a temporary buffer when encoding salt 2019-02-05 21:06:41 +02:00
mhasbini
4d125e62e7 Add -m 00023 module 2019-02-05 01:28:37 +02:00
jsteube
62c660afe2 Add -m 14600 module 2019-02-02 11:11:27 +01:00
jsteube
c197262831 Add -m 15700 module 2019-01-31 16:42:52 +01:00
jsteube
dfef2f9042 Add -m 9300 module 2019-01-31 15:35:23 +01:00
jsteube
fc648c02f5 Add -m 2000 module 2019-01-31 15:19:21 +01:00
jsteube
ccddfcd2f2 Add -m 1100 module 2019-01-31 11:11:47 +01:00
jsteube
5779fa9df6 Add missing modules 6800, 11300, 13400 and 13500 2019-01-31 10:39:53 +01:00
jsteube
78d2706038 Add -m 8900 module and module_extra_tmp_size() 2019-01-28 14:05:58 +01: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
383b6fb4f7 Make hash-mode sorting in --help a bit more readable 2019-01-27 11:19:32 +01:00
jsteube
ec518a19b4 Add -m 16900 module 2019-01-27 10:58:11 +01:00
jsteube
773281a58b Add -m 11300 module 2019-01-27 10:47:09 +01:00
jsteube
de851c28e1 Add -m 6800 module 2019-01-27 10:37:25 +01:00
jsteube
53f7f4c09d Add -m 13400 module 2019-01-27 10:26:55 +01:00
jsteube
68736ff7a1 Add -m 18300 and -m 18100 module 2019-01-26 21:50:32 +01:00
jsteube
91f6d7c32e Add -m 99999 module 2019-01-26 21:13:53 +01:00
jsteube
380e836cac Add remaining truecrypt modules 2019-01-26 20:27:06 +01:00
jsteube
c9ad96bbf9 Add -m 6213 module 2019-01-26 19:32:01 +01:00
jsteube
f7d2dc8bfc Add -m 6212 module 2019-01-26 19:29:59 +01:00
jsteube
8eb2558a7e Add -m 6211 module and moved some code around 2019-01-26 16:54:29 +01:00
sharmo
646628e188 Add -m 21 module 2019-01-25 21:13:28 +01: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
ae81ecf11c Add module for -m 12500 2019-01-25 13:31:32 +01:00
jsteube
b729fe04b7 Add module and unit test for -m 11600 2019-01-25 11:24:17 +01:00
jsteube
2bd55bca74 Add missing hook_salt buffer parameter to decoder/encoder function declaration 2019-01-25 11:14:04 +01:00
Jens Steube
280cc63369
Merge branch 'hash-mode-plugin' into m17600_m18000_modes 2019-01-25 01:03:49 +01:00
Jens Steube
5a768138e5
Merge pull request #1889 from sharmony/hash-mode-plugin
add -m 12 module
2019-01-25 00:58:30 +01:00
sharmo
049d514d60 add -m 12 module 2019-01-24 22:33:06 +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
jsteube
d266cb5834 Fix -m 17300 and -m 17700 configuration 2019-01-22 23:24:17 +01:00
mhasbini
5497154a89 Add module and unit test for hash-mode 17700 2019-01-22 21:32:31 +02:00
Jens Steube
e1234a4bbc
Merge pull request #1881 from 0xbsec/m17300_module
Add -m 17300 module
2019-01-21 22:14:34 +01:00
mhasbini
9aeb4f602e Migrate correct parsing function 2019-01-21 20:50:03 +02:00
jsteube
8ad3333d2a Add module and unit test for hash-mode 3200 2019-01-21 15:22:58 +01:00
jsteube
4b9b59a3cb Add module 5500 2019-01-21 13:28:52 +01:00
jsteube
3f2346e951 Support hashes in outfiles in outfile-check folder without password 2019-01-21 11:00:18 +01:00
jsteube
b2154b7ed9 Fix use-after-free of hash_name 2019-01-21 10:00:44 +01:00
jsteube
3cd3ba8e44 Fix gcc warnings 2019-01-20 23:02:12 +01:00
mhasbini
cc59de6538 Add -m 17300 module 2019-01-20 21:11:15 +02:00
jsteube
4b49ceea46 Fix module suffix on msys 2019-01-20 19:27:54 +01:00
jsteube
7d7c618629 Go back to code linking into modules until there's a better solution 2019-01-20 18:24:54 +01:00
jsteube
4557bcfbd9 Add modules back to default target 2019-01-20 17:18:22 +01:00
jsteube
e493704e5f Add modules to make install target 2019-01-20 12:26:33 +01:00
jsteube
0bec0cfb89 Add -m 3000 module and unit test 2019-01-20 12:04:06 +01:00
jsteube
550b9018f9 Add -m 16801 module 2019-01-20 11:28:57 +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
35265d43f3 Update outfile_check 2019-01-20 10:28:54 +01:00
jsteube
06a5e736b9 Add -m 500 unit test 2019-01-19 20:09:32 +01:00
jsteube
da413b4eaa Add -m 5100 module 2019-01-18 22:56:37 +01:00
Gabriele Gristina
1541531a5a Fix dnclen typo 2019-01-18 21:55:26 +01:00
jsteube
05b71b6bc0 Get rid of the compiler warnings caused by LZMA SDK 2019-01-18 08:34:36 +01:00
jsteube
a39f414def Add -m 14100 module 2019-01-16 20:38:33 +01:00
jsteube
3b9a26c9f6 Fix -m 20 module 2019-01-16 20:18:40 +01:00
Jens Steube
91dc75b440
Merge pull request #1872 from pellejohnk/module-20
module-20: Added module for hashmode 20.
2019-01-16 20:07:48 +01:00
jsteube
1e31b3b271 Add -m 14000 module 2019-01-16 19:55:54 +01:00
Pelle Kuiters
34c8b7af77 module-20: Added module for hashmode 20. 2019-01-16 16:08:02 +01:00
jsteube
47f78199f8 Add -m 600 module 2019-01-15 17:12:13 +01:00
jsteube
bc1dd699e3 Add -m 1500 module 2019-01-15 11:53:59 +01:00
jsteube
2915266205 Add -m 18500 module 2019-01-15 10:35:49 +01:00
jsteube
85ae6d0905 Add -m 18600 module 2019-01-15 10:25:19 +01:00
jsteube
2a5f473ef1 Add -m 18400 module 2019-01-15 10:06:01 +01:00
jsteube
c3630b2f18 Allow modules to change value from user_options->hash_mode to something different in hashconfig->hash_mode. This will be required for modes that can automatically select the right hash_mode for the user for instance LUKS 2019-01-14 19:02:09 +01:00
jsteube
f6ea21449b Add -m 5600 module 2019-01-14 16:16:34 +01:00
jsteube
6cb9142849 Fixed mandatory module functions check 2019-01-14 15:33:01 +01:00
jsteube
5e0ed24f43 Add CHECK_MANDATORY() 2019-01-14 15:22:28 +01:00
jsteube
79c8618025 Fix cross-compiled binaries and modules 2019-01-14 15:15:21 +01:00
jsteube
083d6e1fb2 Refresh dynloader management 2019-01-14 10:11:23 +01:00
jsteube
0cd2c5ab35 Use -export_dynamic instead of --export-dynamic on OSX 2019-01-14 09:24:58 +01:00
jsteube
56d7b8ceaa Do not compile modules by default during migration 2019-01-14 09:08:03 +01:00
jsteube
555318f843 Replace -rdynamic with more cross-platform compatible --export-dynamic 2019-01-13 19:34:01 +01:00
jsteube
036e4eba2c Use -rdynamic instead of including sources of depencies for module compilation 2019-01-13 19:16:00 +01:00
jsteube
b71e06fca8 Move module sources to src/modules 2019-01-13 15:28:42 +01:00
jsteube
2d4834b735 Add md5crypt based modules 2019-01-13 00:35:22 +01:00
jsteube
02fe28fe6c Preparation for -m 501 2019-01-12 23:42:31 +01:00
jsteube
3c794b370b Add -m 500 module 2019-01-12 21:48:18 +01:00
jsteube
676dd1c410 Clean up some migrated code from interface_migrated.c 2019-01-12 21:30:21 +01:00
jsteube
91fc5286fa Fix module_hash_binary_parse check 2019-01-12 21:18:19 +01:00
jsteube
bc22bfee2e Some cleanup 2019-01-12 15:05:33 +01:00
jsteube
17bd76ee62 Use settings from selftest hash for benchmark unless overriden by module hooks 2019-01-12 01:59:18 +01:00
jsteube
74265307fe Automate module interface version management 2019-01-12 00:39:13 +01:00
jsteube
26033e5787 Make use of return length from ascii_digest instead of calling strlen() 2019-01-11 23:11:56 +01:00
jsteube
03f315a4ab Automatic append of salts to SALT_TYPE_GENERIC hashes is comfortable but counter-intuitive, everything that gets decoded in the module should be also accessed when encoding it again 2019-01-11 22:50:05 +01:00
jsteube
fcfd07ceb2 Move parse_and_store_generic_salt to shared.c 2019-01-10 20:51:38 +01:00
jsteube
df1e00e4ed Fix out-of-boundary reads in base32/base64 operations 2019-01-09 10:56:47 +01:00
jsteube
5e0dec0d6d Bring back needed variables 2019-01-09 10:03:41 +01:00
jsteube
77739ec946 Remove unused variable 2019-01-09 10:02:03 +01:00
jsteube
6aa7c9befb Prepare to make byte swapping more intuitional in encoding/decoding functions 2019-01-08 20:09:55 +01:00
Gabriele Gristina
7d3fee8a55 Fix Makefile DEBUG flags for OSX, add modules compiles by default 2019-01-08 16:32:27 +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
54edd16746 Clean up some code 2019-01-06 13:48:41 +01:00
jsteube
0186f025d3 Add support for hash modules to usage.c 2019-01-06 13:23:45 +01:00
jsteube
aec6a3bc99 Get rid of hash_mode depending branches in potfile.c 2019-01-06 12:04:42 +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
e17c3a54d8 Add hook for unstable_warning 2019-01-04 11:55:06 +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
704f353395 Update brain.c hash_mode access 2019-01-03 14:47:50 +01:00
jsteube
8afb54a93b Fix --benchmark-all on windows 2018-12-30 17:02:11 +01:00
jsteube
a81a566121 Remove hashcat_ctx requirement in ascii_digest() 2018-12-21 15:58:15 +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
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
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
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
jsteube
e2899aa83c Move code to migrate into separate files 2018-12-17 14:47:34 +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
9cf5d9cd6b
Merge pull request #1823 from hashcat/master
Backports from master
2018-12-14 15:33:53 +01:00
Jens Steube
3aecd150f9 Call module_hash_encode() in ascii_digest() 2018-12-14 15:29:57 +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
222d76f01e Replace parse_func() with module_hash_decode() 2018-12-14 12:22:13 +01:00
Jens Steube
ec3f3cd7b6 Switch from size_t to int 2018-12-14 12:21:14 +01:00
Jens Steube
42c3ab0485
Merge pull request #1820 from hashcat/master
backports from master
2018-12-13 14:22:28 +01:00
Jens Steube
376baa2b10
Merge pull request #1814 from s3inlc/algorithm/1652
Added hash mode 18500 sha1(md5(md5($pass)))
2018-12-13 14:21:22 +01:00
Sein Coray
af5d512b6f
Added new hash mode 18500 in usage 2018-12-10 17:02:22 +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
philsmd
7646509234
fixed validation of the --brain-client-features value 2018-12-10 13:16:41 +01:00
Jens Steube
c6dcb1b8ae
Merge pull request #1809 from hashcat/master
Backports from master
2018-12-09 20:41:00 +01:00
R. Yushaev
074fad9fef Correct buffer size parameter in snprintf calls
There are approx. 240 snprintf calls that set the target buffer size to
out_len - 1 or similar. This "mind the null character" subtraction is
unnecessary since snprintf already includes the string termination into
the given buffer size.
2018-12-07 10:37:56 +01:00
Jens Steube
15ece0902f
Merge pull request #1804 from Naufragous/odf-cracking
Add support for Open Document Format 1.2
2018-12-07 09:36:31 +01:00
Jens Steube
9d213147e8
Merge pull request #1805 from mcovalt/electrum_salt_type_2
Electrum Salt-Type 2
2018-12-07 09:33:13 +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
Matt Covalt
e2ac101526 Update interface.c to remove non-existant Salt-Type 3 support. 2018-12-06 08:33:42 -08: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
Matt Covalt
71d9369a70 Correct Electrum Wallet Salt-Type support 2018-12-05 10:53:14 -08:00
Sein Coray
c941e55a35
Extended IKE PSK md5/sha1 (-m 5300/5400) to print hashes correctly 2018-12-05 12:57:54 +01:00