1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-14 03:39:09 +00:00
Commit Graph

3820 Commits

Author SHA1 Message Date
Jens Steube
9f5a22a3ab OpenCL Backend: Use CL_DEVICE_BOARD_NAME_AMD instead of CL_DEVICE_NAME for device name in case OpenCL runtime supports this query 2021-05-26 19:09:50 +02:00
Jens Steube
94df2349cb
Merge branch 'master' into hash-mode-10820 2021-05-25 08:52:57 +02:00
Jens Steube
0aba4cab6b
Merge pull request #2656 from matrix/hash-mode-10810
Added hash-mode 10810 - sha384(pass.salt)
2021-05-25 08:51:44 +02:00
Jens Steube
32aa347e66 RAR3-p (Compressed): Deactivated plugin because unrar is having serious problems with multi threading which lead to false negatives 2021-05-24 17:52:09 +02:00
Jens Steube
3faad47b48 Revert "Merge branch 'matrix-hash-mode-25100'"
This reverts commit a236b55cae, reversing
changes made to 1d965c3e78.
2021-05-23 10:18:51 +02:00
Jens Steube
87f3b2caaf Merge branch 'hash-mode-25100' of https://github.com/matrix/hashcat into matrix-hash-mode-25100 2021-05-23 09:58:42 +02:00
Jens Steube
0457016834 UTF8-to-UTF16: Replaced naive UTF8 to UTF16 conversion with true conversion for RAR3, AES Crypt and MultiBit HD (scrypt) 2021-05-22 10:37:51 +02:00
Jens Steube
0a6080505b AES Crypt Plugin: Replaced naive with true UTF8 to UTF16 conversion, reduced max password length to 128 and improved performance 2021-05-21 22:12:32 +02:00
Jens Steube
df8a773341 Restore maximum password length 128 for pure RAR3 kernels 2021-05-21 22:04:24 +02:00
Jens Steube
fd51086395 RAR3 Plugins: Replaced naive with true UTF8 to UTF16 conversion in optimized and pure kernels 2021-05-21 12:46:14 +02:00
Jens Steube
23bbe457a0 RAR3-hp Plugin: Replaced naive with true UTF8 to UTF16 conversion in optimized and pure kernel 2021-05-21 11:24:43 +02:00
Jens Steube
086660e907 Merge branch 'master' of https://github.com/hashcat/hashcat 2021-05-20 14:39:10 +02:00
Jens Steube
5c6501444a Kernels: Add standalone true UTF8 to UTF16 converter kernel that runs after amplifier. Use OPTS_TYPE_POST_AMP_UTF16LE from plugin 2021-05-20 14:34:24 +02:00
realSnoopy
ea7f7909f4
update in module_13400.c
changed token.len_max[2] = 8; -> token.len_max[2] = 10;
max lenght of an u32 is 10,
use case: for manually user tuned keepass iterations above 99999999
see thread https://hashcat.net/forum/thread-10116-post-52700.html#pid52700
2021-05-19 19:31:27 +02:00
Jens Steube
0fd8de3a75 Status Screen: Show currently running kernel type (pure, optimized) and generator type (host, device) 2021-05-19 08:32:24 +02:00
Jens Steube
58ffef4580 Performance Monitor: Add -S as a user suggestion to improve cracking performance in specific attack configurations 2021-05-19 08:31:51 +02:00
Jens Steube
9028938998 Rename -m 3202 to -m 25800 2021-05-18 19:25:47 +02:00
Jens Steube
9bb45b4f4d
Merge branch 'master' into bcryptsha1 2021-05-18 19:20:28 +02:00
Jens Steube
aa7c579736 Added hash-mode: MurmurHash 2021-05-18 10:58:13 +02:00
Jens Steube
307cb63661
Merge pull request #2695 from matrix/cryptoapi
Added Linux Kernel Crypto API (2.4) KPA
2021-05-17 23:41:10 +02:00
Jens Steube
751d3a6454 Rename -m 3201 to -m 25600 2021-05-17 13:23:50 +02:00
Jens Steube
ae2580a542
Merge pull request #2637 from matrix/bcryptmd5
Added hash-mode 3201 - bcrypt(md5(pass)) / bcryptmd5
2021-05-17 13:17:25 +02:00
Jens Steube
fe91f6276d CUDA Backend: Do not warn about missing CUDA SDK installation if --stdout is used 2021-05-16 18:31:43 +02:00
Jens Steube
e365313a44 Dependencies: Updated LZMA SDK from 19.00 to 21.02 alpha 2021-05-16 08:51:59 +02:00
Jens Steube
d08b5b04fa Unset PRODUCTION option 2021-05-16 08:40:25 +02:00
Jens Steube
442a95d0ea hashcat 6.2.1 2021-05-15 14:07:58 +02:00
Jens Steube
0e2dc4bb82 Remove unused WITH_UNRAR macro 2021-05-15 13:12:23 +02:00
Jens Steube
ce90f83b65 Dependencies: Make unrar dependencies optional and disable hash-mode 23800 if dependency is disabled 2021-05-15 00:04:08 +02:00
Jens Steube
a5bb988f92 Unset PRODUCTION option 2021-05-14 19:28:39 +02:00
Jens Steube
97a8f34251 hashcat 6.2.0 2021-05-14 19:08:08 +02:00
Jens Steube
475716e81d Help autotuner to find more stable workload settings for -m 6900 by limiting kernel loops 2021-05-13 12:14:23 +02:00
Jens Steube
774b76efe2 Remove OPTS_TYPE_MP_MULTI_DISABLE from -m 3200 for better performance on NV GPU 2021-05-13 08:03:44 +02:00
Jens Steube
4ce60a6c61 Add module_unstable_warning() entry for -m 21800 using rocr drivers 2021-05-12 07:42:46 +02:00
Jens Steube
ec0d1309fe Avoid large buffer allocation on stack in -m 23700 and -m 23800 - it crashes on macOS 2021-05-12 00:17:41 +02:00
Jens Steube
4221bd151c Fixed unterminated salt buffer in -m 23400 module_hash_encode() in case salt was of length 256 2021-05-11 23:36:31 +02:00
Jens Steube
a2fcb03fe3 Update AMD GPU check on macOS warning message 2021-05-11 10:54:39 +02:00
Jens Steube
282eb75fe9 Update module_unstable_warning for benchmark long selection on macOS for CPU and GPU; Allow use of GPU without --force testwise 2021-05-10 19:57:56 +02:00
Jens Steube
bb402b784a Update module_unstable_warning for benchmark short selection on macOS for CPU and GPU; Allow use of GPU without --force testwise 2021-05-10 14:36:41 +02:00
Jens Steube
3d0e0d5c2d Add some device_local_mem_size checks relevant for devices with only 32k shared memory 2021-05-09 15:05:28 +00:00
Jens Steube
bbd6e55968 Add missing null pointer to cuda_module_shared and opencl_program_shared in backend cleanup function 2021-05-09 14:55:52 +02:00
Jens Steube
78a053800f Remove module_unstable_warning() entries for AMD (legacy) driver after workaround with zero check on context length is in use 2021-05-09 10:33:05 +00:00
Jens Steube
e4dab0f1bf OpenCL Runtime: Workaround JiT compiler segfault on legacy AMDGPU driver compiling RAR3 OpenCL kernel 2021-05-09 07:38:22 +00:00
Jens Steube
ff72a8ed21 Remove module_unstable_warning() entries for AMD (legacy) driver after workaround inside UTF16 conversion function is in use 2021-05-08 15:55:32 +00:00
Jens Steube
bb1460d851 Fixed hardware management sysfs readings in status screen (typically ROCm controlled GPUs) 2021-05-08 12:14:07 +02:00
Gabriele Gristina
17a83a50af cryptoapi opts (1) 2021-05-06 23:24:46 +02:00
Jens Steube
f011f790e2 Revert accidential rename of module and unit test from -m 21501 to -m 25100 2021-05-05 22:57:16 +02:00
Jens Steube
32b40d5c53 Added command prompt [f]inish to instruct hashcat to finish the current attack and quit afterwards 2021-05-05 22:53:04 +02:00
Jens Steube
7baad686fa
Merge pull request #2571 from ventaquil/master
Declare phony targets in Makefile
2021-05-05 10:20:25 +02:00
Jens Steube
08ed77c15c
Merge branch 'master' into SolarWinds2 2021-05-05 10:12:16 +02:00
Jens Steube
00c87bbc6d
Merge pull request #2658 from matrix/SolarWinds_ServU
Added hash-mode 24 - SolarWinds Serv-U
2021-05-05 10:10:12 +02:00
Jens Steube
3543094591 Make sure no password candidates get rejected for line length in -a 9 mode 2021-05-04 21:44:21 +02:00
Jens Steube
4930105ce3 Fixes memleak in user_options_check_files()
See https://github.com/hashcat/hashcat/pull/2669
2021-05-04 13:53:50 +02:00
Jens Steube
5d7dc3cbc1 Fixes memleak in user_options_check_files()
See https://github.com/hashcat/hashcat/pull/2671
2021-05-04 13:48:04 +02:00
Jens Steube
95489b0473 Update module_unstable_warning() for amdgpu-pro-20.50-1234664-ubuntu-20.04 (legacy) 2021-05-02 18:18:50 +00:00
Jens Steube
b4f86d2262 Update module_unstable_warning() for -m 21800 2021-05-02 12:32:17 +02:00
Jens Steube
bf2064df7f Update module_unstable_warning() for -m 172xx and -m 200xx 2021-05-02 08:19:16 +00:00
Jens Steube
0c2afde83b Add support for clUnloadPlatformCompiler() 2021-05-02 08:15:25 +00:00
Jens Steube
59459d0e5b Fixed memory leak causing problems in sessions with many iterations. for instance, --benchmark-all or large mask files 2021-05-01 17:27:33 +02:00
Jens Steube
fb081947e1 Fixed access to filename which is a null-pointer in benchmark mode 2021-05-01 14:13:58 +02:00
Jens Steube
96df73dee4
Merge pull request #2646 from Slattz/master
Fix --keep-guessing mode
2021-04-28 10:23:29 +02:00
Jens Steube
33d95348f5 Update patch 2021-04-28 09:48:33 +02:00
Jens Steube
057de100d9
Merge pull request #2645 from n8x0b7T/master
Improve vocablulary
2021-04-27 20:03:07 +02:00
Jens Steube
2d44626ab2
Merge pull request #2650 from matrix/fix_osx_Makefile_warnings
Fixed build warnings on OSX
2021-04-27 20:02:21 +02:00
Jens Steube
9a87d5aa01 Fixed out-of-boundary reads in case user activates -S for fast but pure hashes in -a 1 or -a 3 mode 2021-04-27 19:55:30 +02:00
Jens Steube
0ba77fe761 Kernel Development: Kernel cache is disabled automatically in casehashcat is compiled with DEBUG=1
See https://github.com/hashcat/hashcat/issues/2750
2021-04-26 09:51:50 +02:00
Jens Steube
db57497e8f Prevent unit test of -m 3000 to generate zero hash. This confuses test.sh validator 2021-04-26 09:32:19 +02:00
Jens Steube
9c8509e101 Update module_unstable_warning() on latest Intel OpenCL runtime 2021-04-26 09:25:57 +02:00
Jens Steube
07ed10a77e
Merge pull request #2768 from Chick3nman/master
Fix typo in potfile remove message
2021-04-25 08:16:18 +02:00
epixoip
6ff51e1070 Workaround for NVML and WSL2 shim 2021-04-24 22:17:05 -05:00
Jens Steube
1dac869cb7 Removed unnecessary swaps in SCRYPT based algorithms 2021-04-23 20:55:13 +02:00
Jens Steube
81a76e363b Fixed tuning database search if a device was not assigned an alias it couldn't be found in general 2021-04-23 20:53:48 +02:00
Chick3nman
793dff4d53 Fix typo in warning message 2021-04-22 14:27:01 -05:00
Jens Steube
1e35b05979 Update unstable warning message in all modules based on latest AMD driver (rocr version) 2021-04-22 20:10:49 +02:00
Jens Steube
c444b42290 Add optimized unroll settings for SCRYPT hash-modes 2021-04-21 19:02:01 +02:00
Jens Steube
15f35fa68c Scrypt Kernels: Reduced kernel wait times by making it a true split kernel where iteration count = N value 2021-04-21 15:59:14 +02:00
Jens Steube
56f47cabe2 Fixed race condition in potfile check during removal of empty hashes 2021-04-21 09:22:00 +02:00
Jens Steube
62fc3601bb Wrap atomic functions with hc_ prefix to have better platform control 2021-04-20 17:47:44 +02:00
Jens Steube
8e47fdf8f5 Add 4 times single workitem extra buffer size to total extra buffer size to workaround single workitem buffer overflows 2021-04-19 10:27:51 +02:00
Jens Steube
5e9adac1c2 Update module_unstable_warning() results after Crypt::CBC has been fixed 2021-04-19 07:51:26 +02:00
Jens Steube
a834574daf Update module_unstable_warning() based on the latest available drivers:
- NVIDIA-Linux-x86_64-460.73.01
- amdgpu-pro-20.50-1234664-ubuntu-20.04 (rocr for new gpu, legacy for
old gpu)
- w_opencl_runtime_p_2021.2.0.616.exe

Not tested:

- Apple *
- l_opencl_p_18.1.0.015.tgz
- Intel GPU
- POCL

Update docs/license.txt
2021-04-18 14:41:44 +02:00
Jens Steube
ee7d8ef0e7 Added new hash-modes Mozilla key3.db and key4.db 2021-04-17 21:24:27 +02:00
Jens Steube
49ffdcef1b NVIDIA start to prefix the device names, make tuning database search aware.
Update hashcat.hctune and add optimized SCRYPT values for RTX2080Ti.
2021-04-16 21:48:16 +02:00
Jens Steube
57a8923b81 Update complete SCRYPT workload tuning logic.
A detailed description will follow.
Set -m 8900 defaults to 16k:8:1 (default scrypt settings).
2021-04-16 20:17:53 +02:00
Jens Steube
90bb28fcc7
Merge branch 'master' into 24300-mode 2021-04-15 17:55:07 +02:00
Jens Steube
bd3c5795f5
Merge pull request #2583 from philsmd/telegram_desktop_modern
Added -m 24500 = Telegram Desktop >= v2.1.14 (PBKDF2-HMAC-SHA512)
2021-04-15 17:20:07 +02:00
Jens Steube
ff96015f53 Add OPTS_TYPE_NATIVE_THREADS for use by plugin developer to enforce native thread count (useful for scrypt) 2021-04-14 15:22:30 +02:00
Jens Steube
67d189e10a Update calculation of EXTRA_SPACE in backend.c and add upper and lower hard limit 2021-04-13 12:02:52 +02:00
Jens Steube
51e8661070 Update calculation of EXTRA_SPACE in backend.c to make it depending from kernel-accel 2021-04-13 11:47:37 +02:00
Jens Steube
9033975efd Allow plugins to disable the multiplication of the kernel-accel value with the multiprocessor count of the compute device. Will be used later. 2021-04-13 11:26:17 +02:00
Robert Gützkow
ada829fa20
Fix the processing for constant salt
KNX IP Secure uses a constant salt, which require the use of `OPTS_TYPE_DEEP_COMP_KERNEL`. This commit adds the required options and adjusts the indexing of the esalt accordingly. The attempt at an optimized kernel has been removed as requested in the PR feedback. Additionally, minor formatting improvements have been made.
2021-04-12 09:48:38 +02:00
Robert Gützkow
364338a0c9
Merge remote-tracking branch 'origin/master' into knx-ip-secure 2021-04-11 14:36:54 +02:00
Jens Steube
e591b0039b Fixed invalid handling of outfile folder entries for -m 22000 2021-04-11 14:05:55 +02:00
Jens Steube
a0eae9050c OpenCL Runtime: Workaround JiT compiler deadlock on NVIDIA driver >= 465.89 2021-04-11 13:35:40 +02:00
Jens Steube
97cce89bb8
Merge pull request #2739 from thatux/pdf-edit-25400
Added attack mode 25400
2021-04-10 10:51:39 +02:00
Your Name
4b24e91610 now we can crack the hash direct from pdf2john.pl, no need to alter it ourselves anymore 2021-04-10 00:07:00 +02:00
Jens Steube
8cfc2dacb5
Merge pull request #2586 from llamasoft/patch-1
Improve warning message wording
2021-04-09 19:16:28 +02:00
Jens Steube
57213e6c6c Add AES_GCM_GHASH_GLOBAL() to allow using encrypted data directly from GPU memory to avoid reserving registers 2021-04-08 13:19:27 +02:00
Jens Steube
9979394745
Merge branch 'master' into mongodb-scram 2021-04-06 13:52:13 +02:00
Jens Steube
71a8f97294 Optimize GCM code to use only u32 data types, make it CUDA compatible and remove some branches 2021-04-05 17:59:42 +02:00
Jens Steube
1ba1fa6e58
Merge branch 'master' into full-aes-gcm-and-hash-mode-27000 2021-04-05 17:51:43 +02:00