1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 12:29:35 +00:00
Commit Graph

1403 Commits

Author SHA1 Message Date
Gabriele Gristina
490702fcfa Backends: added Metal host-code 2022-02-05 22:48:16 +01:00
Gabriele Gristina
9d36245d51 Kernels: Set the default Address Space Qualifier for any pointer, refactored / updated KERN_ATTR macros and rc4 cipher functions, in order to support Apple Metal runtime 2022-02-04 19:54:00 +01:00
Jens Steube
edae3db725
Merge pull request #3140 from matrix/metal_prepare_kernelIncludes_v2
Refactored standard kernel includes in order to support Apple Metal runtime, updated backend, test units and status code
2022-02-03 18:17:17 +01:00
Jens Steube
bf8f14669b Fix docs/changes.txt wording 2022-02-02 16:34:10 +01:00
Gabriele Gristina
f21ae3219c
Merge branch 'master' into metal_prepare_kernelIncludes_v2 2022-02-02 07:33:45 +01:00
Gabriele Gristina
c2cbb2938a Padding backend_info() output, updated changes.txt 2022-01-30 19:49:23 +01:00
Gabriele Gristina
cd363b32f6
Merge branch 'master' into metal_prepare_kernelIncludes_v2 2022-01-28 19:56:26 +01:00
Jens Steube
86b4abde9a Fixed changes.txt ordering 2022-01-28 17:09:52 +01:00
Jens Steube
b8a2853be0
Merge pull request #3142 from matrix/appleSilicon_universalBinary
Added support to building Universal macOS binary on Apple Silicon
2022-01-27 16:26:17 +01:00
Jens Steube
a60c4a2033
Merge branch 'master' into updated_moduleUnstableWarnings_and_statusCodes 2022-01-26 13:37:02 +01:00
Jens Steube
c39829f231 Cleaned up some changes.txt entries 2022-01-25 14:44:27 +01:00
Gabriele Gristina
e15df9dac9 push back changes on changes.txt and status_codes.txt 2022-01-24 07:35:46 +01:00
Gabriele Gristina
e5237a0ad2
Merge branch 'hashcat:master' into metal_prepare_kernelIncludes_v2 2022-01-24 07:13:51 +01:00
Gabriele Gristina
0bb2f8ebe4
Merge branch 'hashcat:master' into autotune_error_handling 2022-01-23 00:08:22 +01:00
Gabriele Gristina
743c12b858 Updated credits 2022-01-22 23:49:02 +01:00
Gabriele Gristina
07240ada8b Added support to building Universal macOS binary on Apple Silicon 2022-01-22 23:08:18 +01:00
Gabriele Gristina
01a28f80f7 Updated handling of POCL's known bugs 2022-01-22 22:40:18 +01:00
Gabriele Gristina
2c0b4cd20a
Merge branch 'hashcat:master' into metal_prepare_kernelIncludes_v2 2022-01-22 21:06:02 +01:00
Jens Steube
d85f86373c
Merge pull request #3113 from matrix/apple_gpu_modules_native_threads
Set native_threads to 32 with Apple GPU's on multiple hash modules
2022-01-22 18:26:26 +01:00
Gabriele Gristina
10fa1434ca Updated status code: set -10 for autotune failure 2022-01-21 20:28:13 +01:00
Gabriele Gristina
6175459b0a
Merge branch 'hashcat:master' into autotune_error_handling 2022-01-21 20:26:10 +01:00
Gabriele Gristina
f38aff1497 Hash-Mode 13100: set native_threads to 32 with Apple GPU's 2022-01-21 20:01:58 +01:00
Gabriele Gristina
c061f02d27 Hash-Mode 10500: set native_threads to 32 with Apple GPU's 2022-01-21 20:01:04 +01:00
Gabriele Gristina
819cbe77b0 Hash-Mode 7500: set native_threads to 32 with Apple GPU's 2022-01-21 20:00:06 +01:00
Jens Steube
e2eacb4dd3
Merge pull request #3138 from b0lek/PostgreSQL_SCRAM
Adding PostgreSQL SCRAM-SHA-256 hash mode - #3038
2022-01-21 17:42:15 +01:00
Gabriele Gristina
0180b29390
Merge branch 'master' into apple_gpu_modules_native_threads 2022-01-20 21:52:58 +01:00
Jens Steube
0c91f6fc01
Merge pull request #3127 from b0lek/hex_separator
Added hex format for --separator option
2022-01-20 17:03:27 +01:00
Jens Steube
88726a92b0
Merge branch 'master' into updated_testUnit_optSaltMax 2022-01-19 14:09:55 +01:00
Gabriele Gristina
2e4a136758 Refactored standard kernel includes in order to support Apple Metal runtime, updated backend, test units and status code 2022-01-18 22:52:14 +01:00
Jens Steube
d565fb9c04
Merge branch 'master' into updated_TestUnit_handlingWiteSpaceInPath 2022-01-18 18:58:19 +01:00
b0lek
415e95ab38 Adding PostgreSQL SCRAM-SHA-256 hash mode 2022-01-17 19:51:20 +01:00
Gabriele Gristina
c1b56a3018 Hash Info: show more information (Updated Hash-Format. Added Autodetect, Self-Test, Potfile and Plaintext encoding) 2022-01-16 14:48:49 +01:00
Gabriele Gristina
adfe942751 Fixed --hash-info example password output: force uppercase if OPTS_TYPE_PT_UPPER is set 2022-01-16 08:40:42 +01:00
Gabriele Gristina
dc6d40c012 Fixed Unit Test false negative if there are spaces in the filesystem path to hashcat 2022-01-16 07:15:29 +01:00
Gabriele Gristina
54605b9254 Fixed Unit Test salt-max in case of optimized kernel, with hash-type 22 and 23 2022-01-15 16:27:15 +01:00
Jens Steube
aff608fe29
Merge branch 'master' into fix_benchmarkEngine_plus_updated_statusCode 2022-01-15 14:10:59 +01:00
Gabriele Gristina
50a4d6b58d Fixed Unit Test early exit on luks test file download/extract failure 2022-01-14 18:28:08 +01:00
b0lek
0c0e161cec
Update changes.txt 2022-01-13 17:56:45 +01:00
Gabriele Gristina
516f7588f1 Updated Unit Test 2022-01-12 09:19:52 +01:00
Gabriele Gristina
7650894e02 fixed bug in benchmark engine, updated negative status code 2022-01-11 04:58:30 +01:00
Gabriele Gristina
c48f044fb7 Fixed false negative on Unit Test with hash-type 25400 2022-01-10 01:50:32 +01:00
Jens Steube
583c8ef1bd
Merge branch 'master' into autotune_error_handling 2022-01-08 17:16:59 +01:00
Gabriele Gristina
5de942710d Hash-Mode 25400: set native_threads to 32 with Apple GPU's 2022-01-07 22:35:36 +01:00
Gabriele Gristina
feb0bbfb75 Hash-Mode 18200: set native_threads to 32 with Apple GPU's 2022-01-07 22:34:46 +01:00
Gabriele Gristina
ff74ad5a99 Hash-Mode 10420: set native_threads to 32 with Apple GPU's 2022-01-07 22:33:39 +01:00
Gabriele Gristina
bd8e7a2975 Hash-Mode 10410: set native_threads to 32 with Apple GPU's 2022-01-07 22:33:03 +01:00
Gabriele Gristina
bec4b2e601 Hash-Mode 10400: set native_threads to 32 with Apple GPU's 2022-01-07 22:32:17 +01:00
Gabriele Gristina
d4c264ebf1 Hash-Mode 9820: set native_threads to 32 with Apple GPU's 2022-01-07 22:31:03 +01:00
Gabriele Gristina
0471725d39 Hash-Mode 9810: set native_threads to 32 with Apple GPU's 2022-01-07 22:30:22 +01:00
Gabriele Gristina
54fd3f8973 Hash-Mode 9800: set native_threads to 32 with Apple GPU's 2022-01-07 22:29:36 +01:00
Gabriele Gristina
d7ddb425e5 Hash-Mode 9720: set native_threads to 32 with Apple GPU's 2022-01-07 22:28:35 +01:00
Gabriele Gristina
688038adc6 Hash-Mode 9710: set native_threads to 32 with Apple GPU's 2022-01-07 22:27:50 +01:00
Gabriele Gristina
2d2d745b3c Hash-Mode 9700: set native_threads to 32 with Apple GPU's 2022-01-07 22:26:55 +01:00
Gabriele Gristina
607d314ff2
Merge branch 'master' into autotune_error_handling 2022-01-07 12:24:39 +01:00
Gabriele Gristina
b2499211b3
Merge branch 'master' into apple_updated_Makefile 2022-01-07 12:23:56 +01:00
Jens Steube
56ef2b4bde
Merge pull request #3102 from matrix/backend_cuda_restyle
CUDA Backend: moved functions to ext_cuda.c/ext_nvrtc.c and includes to ext_cuda.h/ext_nvrtc.h
2022-01-06 11:29:56 +01:00
Jens Steube
6d2d865830 Fixed handling of password candidates that are shorter than the minimum password length in Association Attack 2022-01-05 11:05:41 +01:00
Jens Steube
045ca5cb7a Fixed method how OPTS_TYPE_AUX* kernels are called in association mode, for instance WPA/WPA2 kernels 2022-01-05 10:46:00 +01:00
Jens Steube
668d2179cd Kernels: Refactored standard kernel declaration to use a structure holding u32/u64 attributes to reduce the number of attributes 2022-01-04 18:07:18 +01:00
Gabriele Gristina
80f0dff8fb Makefile: updated MACOSX_DEPLOYMENT_TARGET to 10.15 and removed OpenCL framework from LFLAGS_NATIVE on MacOS 2022-01-04 17:41:57 +01:00
Gabriele Gristina
3802adff7e Autotune: Added error handling. By default skipping device on error, with --force using accel/loops/threads min values instead 2022-01-04 01:14:39 +01:00
Gabriele Gristina
f8ceb8785e CUDA Backend: moved functions to ext_cuda.c/ext_nvrtc.c and includes to ext_cuda.h/ext_nvrtc.h 2022-01-03 16:29:15 +01:00
Gabriele Gristina
78c7ee2af6 HIP Backend: moved functions to ext_hip.c/ext_hiprtc.c and includes to ext_hip.h/ext_hiprtc.h 2022-01-02 19:12:41 +01:00
Jens Steube
656ed048f0
Merge pull request #3086 from matrix/backend_opencl_restyle
OpenCL Backend: moved functions to ext_OpenCL.c and includes to ext_OpenCL.h
2022-01-02 18:29:22 +01:00
Jens Steube
dd3161949c
Update license.txt 2022-01-01 20:04:53 +01:00
Jens Steube
8867da9122 Add missing unit test and docs entry for -m 21420 2021-12-30 09:04:26 +01:00
Gabriele Gristina
26b6054cab OpenCL Backend: moved functions to ext_OpenCL.c and includes to ext_OpenCL.h 2021-12-28 21:55:05 +01:00
Gabriele Gristina
c014dc0c34 Updated test.sh 2021-12-28 16:38:38 +01:00
Jens Steube
7df672683a
Merge branch 'master' into unit_tests_update 2021-12-26 16:06:25 +01:00
Gabriele Gristina
861e644057 OpenCL Backend: added workaround to make optimized kernels work on Apple Silicon 2021-12-24 17:30:49 +01:00
Jens Steube
806257f2e6
Merge pull request #3068 from matrix/backend_info_add_localMemory_size
Backend Info: Added local memory size to output
2021-12-22 19:17:05 +01:00
Jens Steube
f1bcb6e059
Merge pull request #3067 from b0lek/master
Added guess data into --status-json output to fix #3061
2021-12-21 19:30:34 +01:00
Jens Steube
5015bc0d2e Module Parser: Renamed struct token_t to hc_token_t to avoid naming conflict with token_t on MacOS 2021-12-20 13:19:40 +01:00
Jens Steube
0d304b68f1 Added hash-mode: Teamspeak 3 (channel hash) 2021-12-19 10:33:06 +01:00
Gabriele Gristina
1b68d333a8 Unit tests: Updated test.sh to set default device-type to CPU with Apple Intel, force pure kernel with Apple Silicon and add -f (--force) option 2021-12-18 02:27:27 +01:00
Gabriele Gristina
450f9549b4 Backend Info: Added local memory size to output 2021-12-17 22:43:11 +01:00
b0lek
f4edcc33eb
updating recent two changes 2021-12-17 22:25:06 +01:00
Jens Steube
8b61f60e86
Merge pull request #3058 from matrix/apple_m1_final
Added support to use Apple Silicon compute devices
2021-12-15 20:53:10 +01:00
Gabriele Gristina
b53624d0a3 update changes and credits 2021-12-14 19:42:35 +01:00
Jens Steube
bf865d8bff Added hash-mode: Exodus Desktop Wallet (scrypt) 2021-12-14 13:46:20 +01:00
Jens Steube
acc592e963 Added support to use --debug-mode in attack-mode 9 (Association Attack) 2021-12-12 10:18:05 +01:00
Jens Steube
8b9fa631ce Fixed missing option flag OPTS_TYPE_SUGGEST_KG for hash-mode 11600 to inform the user about possible false positives in this mode 2021-12-11 16:32:45 +01:00
Jens Steube
69788cd10d Add note about the new module_hash_decode_postprocess() function to plugin developer guide 2021-12-10 19:36:51 +01:00
Jens Steube
4dc98b334a Fixed undefined function call to hc_byte_perm_S() in hash-mode 17010 on non-CUDA compute devices 2021-12-08 16:30:32 +01:00
Jens Steube
3d53188cc3 Tuning Database: Added a warning if a module implements module_extra_tuningdb_block but the installed computing device is not found 2021-12-04 16:56:16 +01:00
Jens Steube
6d46185488 Add some description for OPTS_TYPE_BINARY_HASHFILE_OPTIONAL in developer guide 2021-12-02 17:21:03 +01:00
Jens Steube
964cff951f Fixed functional error when nonce-error-corrections that were set on the command line in hash-mode 22000/22001 were not accepted 2021-11-29 10:40:06 +01:00
Jens Steube
5b4ac09e91 User Options: Add new module function module_hash_decode_postprocess() to override hash specific configurations from command line 2021-11-28 13:58:27 +01:00
Jens Steube
d5d09df75c Association Attack: Enable module specific pw_min and pw_max settings to avoid false positives in -a 9 attack-mode 2021-11-27 09:14:03 +01:00
Jens Steube
5389adff81 Usage Screen: On windows console, wait for any keypress if usage_mini_print() is used 2021-11-26 09:53:42 +01:00
Jens Steube
1458f8fa8d Update hashcat-plugin-development-guide.md with new OPTS_TYPE_* flags 2021-11-25 19:37:32 +01:00
Jens Steube
c5637b8dc0 Unset PRODUCTION option 2021-11-21 17:01:01 +01:00
Jens Steube
fe1d3f95bb hashcat 6.2.5 2021-11-21 16:39:01 +01:00
Jens Steube
eb4b9d8c99 Electrum Wallet: Added new entropy-based check to test whether the decryption was successful or not 2021-11-18 11:41:55 +01:00
Chick3nman
f61362e205
Update changes.txt spelling/phrasing 2021-11-16 17:15:27 -06:00
Jens Steube
d2ccd96da6 Added hash-mode: Windows Hello PIN/Password 2021-11-15 16:14:59 +01:00
Jens Steube
21f91c5bb8 Module Optimizaters: Added OPTS_TYPE_MAXIMUM_THREADS to deactivate the else branch route in the section to find -T before compilation
Set the new flag based on some testings with RX6900XT
2021-11-13 17:27:06 +01:00
Gabriele Gristina
9be7bc71a5 OpenCL Backend: added workaround to support Apple Silicon 2021-11-11 00:57:54 +01:00
Jens Steube
4bafdfc3e6
Merge pull request #3017 from Chick3nman/master
Add Signature matching for mac2john format
2021-11-05 13:21:39 +01:00
Jens Steube
b768f96228 Device Threads: The default maximum device thread number has been reduced from 1024 to 256, users can still overwrite with the -T option 2021-11-03 09:08:17 +01:00
Chick3nman
6ec1594060
Update changes.txt 2021-11-02 05:07:07 -05:00
Jens Steube
db3bc8eca2 Benchmark: Update benchmark_deep.pl with new hash modes added (also new hash modes which were added with v6.2.3) 2021-11-02 08:10:53 +01:00
Jens Steube
f84aca82ca Backend types: The default filter for the device types is now set so that only the GPU is used, except for APPLE, where we set CPU 2021-11-01 10:49:20 +01:00
Jens Steube
aee8e559c4 PDF Kernel (10700): Improved performance on AMD GPU by using shared memory for the scratch buffer and disable inlining to save spilling
Inspired by https://github.com/reger-men/hashcat/blob/6.2.4/OpenCL/m10700-optimized.cl
2021-10-31 10:05:58 +01:00
Jens Steube
1d33b57144 PDF 1.7 Kernel: Improved performance on AMD GPU by using shared memory for the scratch buffer
Inspired by https://github.com/reger-men/hashcat/blob/6.2.4/OpenCL/m10700-optimized.cl
2021-10-30 20:16:45 +02:00
Jens Steube
139ace28a9 Fixed out-of-boundary reads in hash-mode 22400 (AES Crypt) kernel 2021-10-22 19:05:43 +02:00
Jens Steube
49a68cd6c1 AMD Driver: Updated requirements for AMD Linux drivers to ROCm 4.5 or later due to new HIP interface 2021-10-21 20:03:01 +02:00
Jens Steube
44a5e2a1c2
Merge pull request #3011 from llamasoft/patch-1
Replace placeholder with actual example modules
2021-10-20 19:29:15 +02:00
Marcus T
2a8e1ab72f
Replace placeholder with actual example modules
Currently, there are only two modules that implement the `module_hook_extra_param_*` functions.
They have both been added as examples to the documentation.
2021-10-18 19:52:20 -04:00
Marcus T
f225d07fa5
Add documentation about the 04|08|16 fast kernels 2021-10-18 19:38:16 -04:00
Jens Steube
552e58f3a8 Synchronize -m 25400 hash name entries of module and readme.txt 2021-10-14 09:00:07 +02:00
Jens Steube
d6f8f3089a Added hash-mode: CRC64Jones 2021-10-09 11:43:04 +02:00
Jens Steube
07e58631a5 Backend devices: In non -S mode, limit the number of workitems so that no more than 4GB of host memory is required per backend device 2021-10-04 08:36:56 +02:00
Jens Steube
d34616c423 Added hash-mode: CRC32C 2021-10-02 09:57:16 +02:00
Jens Steube
5e48f2a552 Fixed invalid handling of initialization value for -m 11500 2021-09-30 21:30:20 +02:00
Slattz
c717821f84 Add MurmurHash3 module 2021-09-27 21:07:23 +01:00
Jens Steube
bd2cde31ae Back-end devices: In -S mode, limit the number of workitems so that no more than 2GB of host memory is required per backend device 2021-09-22 13:03:25 +02:00
Jens Steube
4ef1509bc7 Backend Devices: Reduce maximum workitems limited derived from available host memory down from to 8GB to 4GB per backend device 2021-09-21 13:01:15 +02:00
Jens Steube
01365ba471 Update hashcat discord address in contact.txt 2021-09-20 13:53:46 +02:00
Jens Steube
db8de70ac8
Merge pull request #2988 from matrix/metamask_big
MetaMask: Increase the supported data len from 784b to 3136b and set pw-min to 8
2021-09-19 07:46:47 -04:00
Gabriele Gristina
70269ce556 update changes.txt 2021-09-19 02:56:49 +02:00
Jens Steube
dbefc7e60e Fixed strategy for eliminating hashes with zero length in LM when multiple hashes contain a zero hash 2021-09-18 14:14:28 +02:00
Jens Steube
b7c547823e Add changes entry for missing entries for -m 25600 and -m 25800 2021-09-13 14:12:13 +02:00
Jens Steube
aea0071b58
Merge pull request #2965 from philsmd/master
fixes #2674: added -m 27700 = MultiBit Classic .wallet (scrypt)
2021-09-10 20:24:06 +02:00
philsmd
547532d310
fixed changes.txt for MultiBit Classic .wallet (27700) 2021-09-10 15:43:04 +02:00
Jens Steube
721e1ea54d Fixed division by zero because backend_ctx->hardware_power_all was not re-inserted after refactoring device_param->hardware_power 2021-09-08 17:37:18 +02:00
philsmd
8db02091a1 fixes #2674: added -m 27700 = MultiBit Classic .wallet (scrypt) 2021-09-06 19:54:22 +02:00
Jens Steube
8c14fd85ea POCL: Added a workaround for an issue in POCL that uses a quote character as part of the path itself given to a path for the -I option 2021-09-05 10:55:59 +02:00
Jens Steube
bdd3f27239 Fixed invalid progress counter initialization in attack-mode 9 when using --skip or --restore 2021-09-01 09:35:25 +02:00
Jens Steube
aaf26dee98 Makefile: Added wildcard include src/modules/module_*.mk directive so that plugin developers can add 3rd party libraries for their plugins 2021-08-31 20:54:32 +02:00
Jens Steube
cb93875c32 Disabled checking of the minimum and maximum length of the password candidate in attack-mode 9 because they are incompatible 2021-08-30 14:34:56 +02:00
Jens Steube
534bfd3172 Fixed out-of-boundary reads in attack mode 9 that were caused by a missing work item limit in the refactored autotune engine 2021-08-30 14:20:00 +02:00
Jens Steube
5769c99686 Unset PRODUCTION option 2021-08-29 17:45:39 +02:00
Jens Steube
4aadb3a2f1 hashcat 6.2.4 2021-08-29 17:22:59 +02:00
Jens Steube
6de5e9058d Add missing entries in docs/changes.txt from commits 2021-08-29 17:07:43 +02:00
Jens Steube
b4b2195fa5 OpenCL Runtime: The use of clUnloadPlatformCompiler () was disabled after some users received unexpected return codes 2021-08-24 09:37:49 +02:00
Jens Steube
330ad34f17 Fixed unintentional overwriting of the --quiet option in benchmark and speed-only mode 2021-08-20 10:41:44 +02:00
Jens Steube
76e388ea47 Memory Management: Check in OpenCL that CL_DEVICE_HOST_UNIFIED_MEMORY is true and if so, then half of the available memory
NEO driver: Activate the NEO driver (Intel GPU) after it passed several tests in hashcat using the latest NEO driver version
2021-08-18 16:10:51 +02:00
Jens Steube
9254603960 Fixed out-of-boundary read in PKZIP masterkey kernel if the password candidate has length zero.
Now that kernel threads are no longer fixed over the entire session, hardware_power and hardware_power_all
needs to be updated the same way as kernel_power and kernel_power_all for each call to inner2_loop().
2021-08-17 17:38:45 +02:00
Jens Steube
49117745cf STDIN Interface: Disable the --stdin-timeout-abort check after 1000 successful reads from stdin 2021-08-16 19:42:02 +02:00
Jens Steube
2c9e8ca25c Put team-hashcat repository link to docs/team.txt 2021-08-15 20:05:55 +02:00
Jens Steube
05f107cbe5 Added option --generate-rules-func-sel to specify a pool of operators that the random rule generator is allowed to pick from 2021-08-14 11:43:32 +02:00
Jens Steube
2ca13fb450
Merge pull request #2884 from matrix/vbox
Added hash-modes: VirtualBox (PBKDF2-HMAC-SHA256 & AES-128-XTS/AES-256-XTS)
2021-08-14 08:48:20 +02:00
Jens Steube
c158d55e6b
Fix description of the fix done in potfile_handle_show() 2021-08-13 09:04:13 +02:00
Gabriele Gristina
b61852675f Fixed segfault in potfile_handle_show() 2021-08-12 23:53:52 +02:00
Gabriele Gristina
75d3d5503d merge master 2021-08-12 14:36:51 +02:00
Jens Steube
b386ab1c27
Merge pull request #2882 from matrix/vmware_vmx
Added hash-mode: VMware VMX (PBKDF2-HMAC-SHA1 + AES-256-CBC)
2021-08-12 08:32:38 +02:00
Jens Steube
f72f2b0f09 Encoding: Truncate password candidates in UTF8 -> UTF16 conversion if it contains an invalid UTF8 byte sequence 2021-08-11 16:44:04 +02:00
Jens Steube
577fada1de Add link to new hashcat discord 2021-08-10 23:54:18 +02:00
Jens Steube
caca54b0c6 Deprecated Plugins: Marked plugins 2500/2501 and 16800/16801 as deprecated 2021-08-10 18:14:21 +02:00