1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-03-05 17:46:06 +00:00
Commit Graph

4890 Commits

Author SHA1 Message Date
Jens Steube
8901e657a5 RC4 Kernels: Improved performance by 20%+ for hash-modes Kerberos 5 (etype 23), MS Office (<= 2003) and PDF (<= 1.6) by using new RC4 code 2021-05-31 08:28:13 +02:00
Jens Steube
4e565efcf9 RC4: Updated hash-mode 7500, 9710, 9720, 10400 and 10410 to new RC4 crypto library code, improving performance by 20% or more 2021-05-30 19:53:28 +02:00
Jens Steube
2a55fd7f33 RC4: Update -m 97x0 and -m 104x0 to new RC4 crypto library code, improving performance by 20% or more 2021-05-30 15:40:33 +02:00
Jens Steube
58467e0869 PDF: Update -m 10400 and -m 10410 to new RC4 crypto library code, improving performance by 20% or more 2021-05-30 14:35:28 +02:00
Jens Steube
3192f55707 PDF: Update -m 10410 to new RC4 crypto library code, improving performance by 22% - 32%. 2021-05-30 12:36:17 +02:00
Jens Steube
f54643479d CRC32: Prevent decompression of data used in CRC32 calculation on host. This leads to false negatives with TrueCrypt/VeraCrypt keyfiles 2021-05-29 13:27:05 +02:00
Jens Steube
99faf3e6e1
Merge branch 'master' into hash-mode-10870 2021-05-29 10:46:28 +02:00
Jens Steube
0b52409590 Modules: Recategorized HASH_CATEGORY option in various modules 2021-05-28 20:06:01 +02:00
Jens Steube
71969a33cd
Merge branch 'master' into hash-mode-1770 2021-05-28 18:58:19 +02:00
Jens Steube
7078ee4fe9
Merge branch 'master' into hash-mode-10870 2021-05-28 18:57:24 +02:00
Jens Steube
fbc390788c
Merge branch 'master' into hash-mode-1470 2021-05-28 18:56:39 +02:00
Cablethief
e818b56cf3 Change module number to match future grouping 2021-05-28 14:45:41 +02:00
Jens Steube
ef3b2fa61c
Merge branch 'master' into hash-mode-170 2021-05-27 19:31:44 +02:00
Jens Steube
6314c24f16
Merge pull request #2648 from matrix/hash-mode-70
Added hash-mode 70 - md5(utf16le(pass))
2021-05-27 19:30:54 +02:00
Jens Steube
9ca94a2a36 RAR3-p (Compressed): Fix workaround in unrar library in AES constant table generation to enable multi-threading support 2021-05-27 09:21:44 +02:00
Jens Steube
6ce0b568b7
Merge branch 'master' into hash-mode-10840 2021-05-26 19:18:14 +02:00
Jens Steube
7378159487
Merge branch 'master' into hash-mode-10830 2021-05-26 19:16:22 +02:00
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
Jens Steube
6663fe4161
Merge pull request #2744 from davidbolvansky/hash_show
Machine readable mode for show hash feature
2021-04-05 12:59:04 +02:00
Jens Steube
3c199bfa1b
Merge pull request #2693 from matrix/out_of_host_memory
[backend.c] skipping devices instead of stop with error
2021-04-05 12:58:47 +02:00
Dávid Bolvanský
430b8b17c1 Machine readable mode for show hash feature 2021-04-04 15:11:07 +02:00
Jens Steube
f05ea114a9
Merge pull request #2668 from RealEnder/master
Correct check for gz header.
2021-04-04 12:44:53 +02:00
Jens Steube
1323ef3a82 Support loading hash from command line in -m 22000 and -m 22001
Fixes #2742
2021-04-04 11:38:02 +02:00
Robert Gützkow
9a4a8d942e
Plugin for KNX IP Secure's device authentication code 2021-04-03 19:07:06 +02:00
Jens Steube
6daea9c7c1 Fix compiler warning from new --hash-info section 2021-04-03 13:40:06 +02:00
Jens Steube
d53913f444
Merge pull request #2672 from matrix/example2info
Replaced --example-hashes with --hash-info
2021-04-03 13:25:51 +02:00
Jens Steube
1976118b83
Merge pull request #2677 from RAN1/darwin_version
Makefile: Check Darwin major version instead of macOS minor version
2021-04-03 13:19:37 +02:00
Jens Steube
9ee1977ac7 Rename -m 29700 to 25300 2021-04-02 11:05:00 +02:00
Jens Steube
2537de1fd4
Merge pull request #2700 from matrix/office-2016-sheetprot
Added hash-mode: MS Office 2016 - SheetProtection
2021-04-02 11:02:17 +02:00
Chick3nman
9b6235a5fc
Downgrade Kernel Exec Timeout Warning
Kernel times of >450ms are very uncommon and this warning is not a blocking, downgrading it to advice to allow for it to be hidden along with other advice messages.
2021-04-01 20:01:44 -05:00
Your Name
d52f9c2cad Added attack mode 25400 which cracks a pdf edit password. It's largely duplicate code of 10500. Based on https://hashcat.net/forum/thread-6233.html 2021-04-01 22:20:54 +02:00
Jens Steube
b3bfaf8e1e Rename -m 29800 to -m 24700 and other small changes 2021-04-01 11:14:18 +02:00
Jens Steube
9ce063d4b6
Merge pull request #2702 from matrix/stuffit5
Added hash-mode: Stuffit5
2021-04-01 11:08:27 +02:00
Jens Steube
42dfa6b543 Add optimized -m 24800 kernels 2021-03-31 11:05:22 +02:00
Jens Steube
ea4fdcd7dd
Merge pull request #2703 from lordneon/master
Added hash-mode 24800 - Umbraco HMAC-SHA1
2021-03-31 11:03:41 +02:00
Jens Steube
429b06a425
Merge pull request #2721 from h3xx/fix-typo
Fix typo
2021-03-30 20:40:46 +02:00
Jens Steube
de19c31dee Remove lookup table for speed, add vector datatype support for CPU and unit-test script for -m 24900 2021-03-27 14:08:22 +01:00
Jens Steube
98ee8c4168
Merge pull request #2723 from Chick3nman/master
Added hash-mode 24900 - Dahua Authentication MD5
2021-03-27 14:04:42 +01:00
Jens Steube
524cb20703 Add additional support for SQLCipher v3 and hashes SHA1 and SHA256 and a unit-test 2021-03-26 11:36:41 +01:00
Jens Steube
71766dab43
Merge pull request #2596 from trounce1/24600
Added -m 24600 = SQLCipher
2021-03-26 11:22:04 +01:00
Chick3nman
677a61c7fc Added Dahua Authentication MD5, optimized kernels only. Collision rate is high, no need for Pure kernel/longer plaintexts. 2021-03-07 17:28:42 -06:00
Dan Church
d9cd42d577
Fix typo 2021-03-03 10:26:39 -06:00
lordneon
b470ce8df2 Updated hashcategory for m24800 2021-02-05 12:54:54 +00:00
lordneon
c83204c708 Added hashmode m24800 for Umbaraco hashes 2021-02-05 12:21:07 +00:00
Gabriele Gristina
6cf3a89ac3 Added hash-mode: Stuffit5 2021-02-04 01:10:32 +01:00
Gabriele Gristina
f0dec6fe64 Added hash-mode: MS Office 2016 - SheetProtection 2021-02-02 19:34:06 +01:00
Gabriele Gristina
fda0d668e5 use skip also with first checks of backend_session_begin() 2021-01-23 18:51:25 +01:00
Gabriele Gristina
4c2605f7f2 switch to skip instead return -1 for all checks, moved cuda counter update to the end of loop 2021-01-23 18:37:47 +01:00
Gabriele Gristina
f4dbd46b71 trying skip devices instead of return -1 2021-01-23 13:54:46 +01:00
RAN1
8f871db328 Makefile: Check Darwin major version instead of macOS minor version 2021-01-07 19:03:59 -05:00
Gabriele Gristina
82af37b93a Added salt type and slow hash info 2020-12-30 19:16:57 +01:00
Gabriele Gristina
77e328d659 Removed option --example-hashes, now is an alias of --hash-info 2020-12-29 07:56:20 +01:00
Gabriele Gristina
3ed1f0d840 Added new option: --hash-info 2020-12-29 04:58:58 +01:00
Alex Stanev
7252091d3b Correct check for gz header.
gzip format is described in rfc1952.
From there, first 2 bytes (0x1f8b) are header;
next is Compression method (0x08 for deflate, this is the general used method);
and 4th byte is Flags. Some compression tools don't set this and we can't process the gzips.
zlib plays well in this cases, so we can just drop the check for the 4th byte.
2020-12-26 22:49:05 +02:00
Gabriele Gristina
fe088595cd Added swizzle optimization and OPTI_TYPE_SLOW_HASH_SIMD_LOOP 2020-12-26 07:18:29 +01:00
Gabriele Gristina
54df7d53ea Added full AES-GCM cipher & hash-mode 27000 - Stargazer Stellar Wallet XLM 2020-12-25 04:50:18 +01:00
Gabriele Gristina
8b7e83b72f Added hash-mode 26000 - OpenEdge Progress Encode 2020-12-22 20:30:17 +01:00
Gabriele Gristina
99b5aa8f60 Added hash-mode 25100 - SNMPv3 HMAC-MD5-96 2020-12-22 07:02:19 +01:00
Gabriele Gristina
aba6a3d47d Updated HASH_CATEGORY 2020-12-18 18:33:58 +01:00
Gabriele Gristina
9e2cfeac27 Added hash-mode 24 - SolarWinds Serv-U 2020-12-18 18:31:21 +01:00
Gabriele Gristina
48b3cb055f Added hash-mode 10820 - sha384(salt.pass) 2020-12-17 05:39:04 +01:00
Gabriele Gristina
7496ec2d44 Added hash-mode 10810 - sha384(pass.salt) 2020-12-17 04:45:33 +01:00
Gabriele Gristina
65cc442c7f Fixed hash-mode 10830, HASH_CATEGORY 2020-12-17 03:46:34 +01:00
Gabriele Gristina
676cb23f26 Fixed hash-mode 10840, HASH_CATEGORY 2020-12-17 03:45:47 +01:00
Gabriele Gristina
c6f98ec4da Added hash-mode 10840 - sha384(salt.utf16le(pass)) 2020-12-17 03:41:16 +01:00
Gabriele Gristina
9d8e695a3c Added hash-mode 10830 - sha384(utf16le(pass).salt) 2020-12-17 01:48:48 +01:00
Gabriele Gristina
14030f3090 Added hash-mode 10870 - sha384(utf16le(pass)) 2020-12-17 00:53:47 +01:00
Gabriele Gristina
dbd4b33f95 Added hash-mode 1770 - sha512(utf16le(pass)) 2020-12-16 23:43:31 +01:00
Gabriele Gristina
99a3c47b5f Fix build warning on OSX 2020-12-16 22:26:59 +01:00
Gabriele Gristina
e902697b22 Added hash-mode 1470 - sha256(utf16le(pass)) 2020-12-16 22:22:20 +01:00
Gabriele Gristina
930e39c324 Added hash-mode 70 - md5(utf16le(pass)) 2020-12-16 22:09:22 +01:00
Gabriele Gristina
61afbc7ff9 Added hash-mode 170 - sha1(utf16le(pass)) 2020-12-16 21:49:49 +01:00
Slattz
e5f2a877a5 Fix --keep-guessing mode
New cracked passwords would not be outputted at all.
Broken by 04d5e5a119
2020-12-16 16:48:53 +00:00
JandJ101
74523ef74b Improve vocablulary 2020-12-15 20:17:02 -05:00
Gabriele Gristina
12c0962e51 Added bcrypt(sha1(pass)) // bcryptsha1 2020-12-11 17:35:18 +01:00
Gabriele Gristina
3b34289c48 removed bcrypt password length limits 2020-12-11 16:40:19 +01:00
Gabriele Gristina
2097d67cd5 Added hash-mode bcrypt(md5(pass)) / bcryptmd5 2020-12-10 02:16:33 +01:00
Gabriele Gristina
6582939121 update signature and self-test hash 2020-12-03 20:56:36 +01:00
Gabriele Gristina
7895c45bf8 fix indentation 2020-12-01 02:46:09 +01:00
Gabriele Gristina
55f10f1751 Added hash-type 21501, SolarWinds Orion v2 2020-12-01 02:38:21 +01:00
Michael Kruger
611c73d294 NetNTLM bypass NT 2020-11-06 23:28:05 +02:00
TROUNCE
bf7b9c2d73
Add files via upload 2020-10-26 23:11:16 +00:00
TROUNCE
074b821a8c
Add files via upload 2020-10-26 23:06:54 +00:00
TROUNCE
e6f94fc1fd
Add files via upload 2020-10-26 23:05:54 +00:00
TROUNCE
a017ae130c
Add files via upload 2020-10-26 00:05:27 +00:00
TROUNCE
8c0d467638
Add files via upload 2020-10-25 22:58:18 +00:00
TROUNCE
0dff551161
Add files via upload 2020-10-24 19:39:49 +01:00
TROUNCE
677f259774
Add files via upload 2020-10-23 22:23:22 +01:00
Konrad Goławski
44ceb819fa Declare phony targets 2020-10-23 19:27:12 +02:00
Marcus T
5919641285
Improve warning message wording
The comments earlier in the file indicate an optimized kernel may be listed as unavailable either because A) it doesn't exist or B) provides no benefit.
This updates the warning message to make that more clear.
2020-10-21 16:23:38 -04:00
TROUNCE
57fac8ab0f
Add files via upload 2020-10-20 19:44:19 +01:00
Marcus T
ee3b5da25b
Improve warning message wording
The current warning message makes it sound like the optimized kernel exists but isn't being used.  This rewording makes it clear that the optimized kernel simply doesn't exist.
2020-10-20 13:56:39 -04:00
philsmd
038235f90f
Added -m 24500 = Telegram Desktop >= v2.1.14 (PBKDF2-HMAC-SHA512) 2020-10-16 10:41:58 +02:00
Jens Steube
fb219e0a69 Added hash-mode: PKCS#8 Private Keys 2020-10-09 10:35:27 +02:00
philsmd
1734b3da1b
Added mongodb-scram ServerKey (-m 24100 for SHA1, -m 24200 for SHA256) 2020-10-04 16:42:19 +02:00
Jens Steube
45ad7f9fe4
Merge pull request #2559 from philsmd/bestcrypt_v3_volume_encryption
Added -m 23900 = BestCrypt v3 Volume Encryption
2020-09-30 14:06:17 +02:00
Jens Steube
04d5e5a119 New Attack-Mode: Association Attack. Like JtR's single mode. Very early
stage. See hashcat Forum for detailed writeup.
2020-09-29 15:56:32 +02:00
philsmd
8350d4fa3c Added -m 23900 = BestCrypt v3 Volume Encryption 2020-09-26 16:38:51 +02:00
Jens Steube
7be7ce3a31
Merge pull request #2548 from philsmd/7z_hook_init_term
Improved the hook's memory handling for -m 11600 = 7-Zip
2020-09-22 10:43:45 +02:00
Jens Steube
8207af471c Update module_init() to latest structure in -m 4510 2020-09-11 13:17:12 +02:00
Jens Steube
eedd3b1434
Merge pull request #2536 from cfreal/master
Implement sha1(sha1($pass).$salt) kernel.
2020-09-11 13:16:25 +02:00
philsmd
fa1cd70c81
Improved the hook's memory handling for -m 11600 = 7-Zip 2020-09-11 10:23:50 +02:00
Jens Steube
90fb4aadae Use only 128 threads for -m 12500, user can override using -T 2020-09-10 21:38:39 +02:00
Jens Steube
3cd7b1565b Add missing free in -m 23800 2020-09-09 09:00:35 +02:00
philsmd
3cc828ce0a
Added -m 23700/23800 = RAR3-p cracking 2020-09-08 10:51:15 +02:00
Jens Steube
57bef8abc9 Display possible NVIDIA CUDA/RTC library loading error message only in case a NVIDIA device was found using OpenCL 2020-09-06 13:29:32 +02:00
Jens Steube
111f39eeb2 OpenCL Runtime: Switched default OpenCL device type on macOS from GPU to CPU. Use -D 2 to enable GPU devices. 2020-09-05 23:20:59 +02:00
cfreal
04a87d73c2 Changed mode from 4720 to 4510 2020-09-05 20:11:09 +02:00
Jens Steube
343d3bc0aa CUDA Backend: Give detailed warning if either the NVIDIA CUDA or the NVIDIA RTC library cannot be initialized
CUDA Backend: Do not warn about missing CUDA SDK installation if --backend-ignore-cuda is used
2020-09-05 15:46:28 +02:00
Jens Steube
176bbd3fb7 Documentation: Added 3rd party licenses to docs/license_libs 2020-09-04 22:58:12 +02:00
Jens Steube
1ba80a6c1e Fixed copy/paste error leading to invalid reassembled passwords added with a1b5af4433 2020-09-03 06:48:07 +02:00
Jens Steube
6a419d068c CUDA Backend: Use blocking events to avoid 100% CPU core usage (per GPU) 2020-08-31 13:35:57 +02:00
Jens Steube
fb448b6eb6 Fixed incorrect maximum password length support for -m 400 in optimized mode (reduced from 55 to 39) 2020-08-30 15:53:58 +02:00
Jens Steube
a1b5af4433 Fixed password reassembling for cracked hashes on host for slow hashes in optimized mode that are longer than 32 characters 2020-08-30 15:45:40 +02:00
Jens Steube
62a7ae4075 Increase EXTRA_SPACE to leave some room for free device memory 2020-08-29 20:01:39 +02:00
Jens Steube
3ebf4c5f9f Merge branch 'master' of https://github.com/hashcat/hashcat 2020-08-29 16:12:37 +02:00
Jens Steube
98aef2ae92 Module Structure: Add 3rd party library hook management functions. This also requires an update to all existing module_init() 2020-08-29 16:12:15 +02:00
cfreal
58f02c7119 Implement sha1(sha1($pass).$salt) kernel. 2020-08-28 11:36:08 +02:00
Jens Steube
45108468c9
Merge pull request #2531 from philsmd/clear_prompt
fixes #2518: call clear_prompt () more often to avoid misaligned prompt
2020-08-27 09:33:40 +02:00
philsmd
ee5bce1c3e
fixes #2518: call clear_prompt () more often to avoid misaligned prompt 2020-08-26 12:14:26 +02:00
philsmd
eed7863af4
add OPTS_TYPE_SUGGEST_KG to -m 23100 = Apple Keychain 2020-08-26 12:05:57 +02:00
Jens Steube
142d086507
Merge branch 'master' into master 2020-08-17 09:58:07 +02:00
Jens Steube
56e8de15e4
Merge pull request #2522 from roycewilliams/master
fix case in 'OpenSSH'
2020-08-17 09:49:42 +02:00
magnum
89f84b64a3 -m 21200 bugfix: Array declared too small. We're using indeces 0..4 so it
has to be pc[5].
2020-08-16 21:19:59 +02:00
Jens Steube
b737bcf7ab
Merge branch 'master' into 23400_bitwarden 2020-08-15 18:39:23 +02:00
Royce Williams
7de74a08a2 fix case in 'OpenSSH' 2020-08-15 08:15:52 -08:00
Jens Steube
30949c1578 Fixed unexpected non-unique salts in multi-hash cracking in Bitcoin/Litecoin wallet.dat module which lead to false negatives 2020-08-15 17:00:55 +02:00
philsmd
3627840bbc
AxCrypt 2: only copy/use as little data as required 2020-08-15 12:14:45 +02:00
philsmd
00ba7168fe
fixes #2510: Added -m 23500/23600 = AxCrypt 2 AES-128/256 2020-08-14 16:18:29 +02:00
Jens Steube
a72ba6faab Add OPTI_TYPE_SLOW_HASH_SIMD_INIT2 and OPTI_TYPE_SLOW_HASH_SIMD_LOOP2 2020-08-14 15:52:36 +02:00
Jens Steube
aa3f384858
Merge pull request #2513 from philsmd/master
fixes #546: added -m 23300 = Apple iWork cracking
2020-08-14 12:38:47 +02:00
Jens Steube
1cf2f94292
Merge pull request #2514 from philsmd/axcrypt1_rename
fixes #2509: use AxCrypt 1 to avoid confusion for -m 13200/13300
2020-08-14 12:31:12 +02:00
Jens Steube
762a4c45ba
Merge pull request #2512 from philsmd/patch-1
Makefile: minor typo
2020-08-14 12:30:03 +02:00
Jens Steube
e21463da4b Fixed race condition resulting in out of memory error on startup if multiple hashcat instances are started at the same time 2020-08-14 09:04:52 +02:00
philsmd
035df28c8a
use base64 encoded salt for -m 23400 (Bitwarden) 2020-08-13 14:55:59 +02:00
philsmd
79e5c60fef
fixes #2505: added -m 23400 = Bitwarden 2020-08-13 10:25:56 +02:00
philsmd
91e10abaea
fixes #2509: use AxCrypt 1 to avoid confusion for -m 13200/13300 2020-08-12 11:22:37 +02:00
philsmd
0b06034d01 fixes #546: added -m 23300 = Apple iWork cracking 2020-08-12 11:05:35 +02:00
philsmd
a661d0e135
Makefile: minor typo 2020-08-12 10:45:35 +02:00
Jens Steube
dc9a246893 Removed unstable warnings for AMD-GPU-PRO on -m 15300, 15700 and 21500 2020-08-05 14:52:13 +02:00
Jens Steube
cdd06d404a Add option OPTS_TYPE_SUGGEST_KG to all -m 229xx modules 2020-08-04 15:15:41 +02:00
Jens Steube
9560bfc7a4 Fixed internal access on module option attribute OPTS_TYPE_SUGGEST_KG with the result that it was unused 2020-08-04 15:15:06 +02:00
Jens Steube
acafe3dae2 Fixed too early execution of some module functions which could make use of non-final values opts_type and opti_type 2020-08-04 14:48:12 +02:00
Jens Steube
6259acc3ab Switch hash category for -m 15500 to HASH_CATEGORY_PRIVATE_KEY 2020-08-04 09:43:46 +02:00
Jens Steube
b8cbf94791 Add missing modules for -m 229xx 2020-08-03 18:21:26 +02:00
Jens Steube
e00cae4c5c Update support for RSA/DSA/EC/OPENSSH Private Keys 2020-08-03 16:57:23 +02:00
Jens Steube
152fefe65f
Merge pull request #2363 from mpalmer/pkcs1
Module to decrypt PEM-encoded encrypted private keys (#74)
2020-08-03 16:54:06 +02:00
Jens Steube
6cec2664bc Add new category HASH_CATEGORY_PRIVATE_KEY 2020-07-30 12:25:46 +02:00
Jens Steube
cec6051d74 Unset PRODUCTION in src/Makefile 2020-07-29 12:32:11 +02:00
Jens Steube
61e8368592 hashcat 6.1.1 2020-07-29 12:16:53 +02:00
Jens Steube
02e2ef63fb Fixed unresolvable relative paths in hashcat.log 2020-07-29 11:26:45 +02:00
Jens Steube
9ac87db99e Unset PRODUCTION in src/Makefile 2020-07-28 12:43:44 +02:00
Jens Steube
9ed07f892b hashcat 6.1.0 2020-07-28 12:29:13 +02:00
Jens Steube
f358b641e0
Merge branch 'master' into master 2020-07-27 15:47:44 +02:00
Jens Steube
0ff2f8c5e1 OpenCL Devices: Utilize PCI domain to improve alias device detection 2020-07-27 15:21:56 +02:00
philsmd
9bd77536c2
improved speed of -m 21200 by using pre-computed SHA1 hash 2020-07-26 18:00:09 +02:00
Jens Steube
4a9f8a1e75 Fixed false negatives in hash-mode 10901 if hash-mode 9200, 10000, 10900 or 20300 was used to compile the kernel binary 2020-07-23 12:56:21 +02:00
Jens Steube
91b663b14d Fixed integer overflow for large masks in -a 6 attack mode 2020-07-21 14:12:55 +02:00
Jens Steube
5fab483cf0 Compile ZLIB: Fixed makefile include paths in case USE_SYSTEM_ZLIB is used 2020-07-21 12:41:20 +02:00
Jens Steube
ca8a8b33e6
Merge pull request #2459 from xvitaly/minizip-fix
Fixed linkage against packaged version of minizip (part of zlib)
2020-07-21 12:37:53 +02:00
Jens Steube
7cba225715 Added hash-mode: XMPP SCRAM 2020-07-17 14:27:00 +02:00
Jens Steube
b9f6777f1b OpenCL Runtime: Add some unstable warnings for some SHA512 based algorithms on AMD GPU on macOS 2020-07-15 11:27:46 +02:00
Jens Steube
75d801e1d7 Compile macOS: Fixed makefile target 'clean' to correctly remove *.dSYM folders 2020-07-08 12:48:29 +02:00
Jens Steube
b35a7fc72e
Merge pull request #2480 from philsmd/macos_alias_detection
fixes #2460: better alias detection esp. for macOS
2020-07-03 13:17:04 +02:00
Jens Steube
2b08f736eb
Merge pull request #2479 from philsmd/stdout_status_code
fixes #2465: --stdout should return status code 0
2020-07-03 13:16:24 +02:00
philsmd
3e822e97b9
fixes #2460: better alias detection esp. for macOS 2020-07-02 17:39:22 +02:00
philsmd
541ef659aa
fixes #2465: --stdout should return status code 0 2020-07-02 17:32:54 +02:00
philsmd
9ec84ed6bd
fix pw_max w/ -O for -m 10600 2020-07-02 17:27:43 +02:00
Jens Steube
5d04e97adc Fixed maximum password length in modules of hash-modes 600, 7800, 7801 and 9900 2020-07-02 12:20:41 +02:00
Jens Steube
1563405950
Merge pull request #2471 from philsmd/clean_target_makefile
Makefile: update clean/distclean targets
2020-07-01 13:22:08 +02:00
Jens Steube
e141742944
Merge branch 'master' into m23100_apple_keychain 2020-07-01 13:01:16 +02:00
Jens Steube
ab4a1783df
Merge branch 'master' into master 2020-07-01 12:50:44 +02:00
philsmd
570d0ac090
Makefile: added .dictstat2, brain files and luks_tests to the distclean target 2020-07-01 10:45:38 +02:00
Jens Steube
3ac68b455c
Merge pull request #2464 from roycewilliams/master
update team preferred handles; clarify optimizer title
2020-07-01 09:44:13 +02:00
philsmd
8c54727a8c
updates default pw_max length for blake2b 2020-06-27 12:48:36 +02:00
philsmd
480466a954
kerberos: do NOT use PWDUMP format with -m 7500/18200 2020-06-27 12:40:40 +02:00
philsmd
78dd206bf2
Makefile: update clean/distclean targets 2020-06-27 12:37:48 +02:00
philsmd
630bb5b811
fixes #2457: added -m 23100 = Apple Keychain 2020-06-25 17:36:43 +02:00
philsmd
bd9304724c
fixes #1298: add pure kernels for -m 600 = BLAKE2b-512 2020-06-24 23:41:58 +02:00
Royce Williams
b09bebae3c make 'Applicable optimizers' less ambiguous 2020-06-23 12:10:47 -08:00
Jens Steube
5628317de8 OpenCL Runtime: Reinterpret return code CL_DEVICE_NOT_FOUND from clGetDeviceIDs() as non-fatal 2020-06-19 13:15:31 +02:00
Vitaly Zaitsev
d259689e19
Fixed linkage against packaged version of minizip (part of zlib).
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-06-17 16:06:25 +02:00
Vitaly Zaitsev
eb8c398114
Allow GNU/Linux maintainers to select configure options without
patching of Makefile.

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-06-17 12:50:33 +02:00
Jens Steube
9b3cda2d43 Unset PRODUCTION in src/Makefile 2020-06-17 11:02:04 +02:00
Jens Steube
13e2dec017 hashcat 6.0.0 2020-06-16 17:30:11 +02:00
philsmd
437e9aa3d1
allow --left and -o work with binary hash files 2020-06-15 15:43:49 +02:00
Jens Steube
4ac772d272
Merge pull request #2451 from philsmd/left_eol_fix
fixes #2424: only print EOL in case of non-binary hash file
2020-06-15 15:11:14 +02:00
philsmd
11f3c8c285
fixes #2424: only print EOL in case of non-binary hash file 2020-06-15 15:07:47 +02:00
philsmd
0ef0a1673f
fixes #2162: add -liconv to FreeBSD's Makefile LFLAGS 2020-06-15 14:55:12 +02:00
philsmd
e59f61e8cf
cosmetic: minor code style fixes 2020-06-13 11:19:00 +02:00
Royce Williams
f3606e307a strip trailing whitespace - h/t @philsmd 2020-06-11 08:35:10 -08:00
Jens Steube
9ea8b3424d
Merge branch 'master' into pkcs1 2020-06-10 10:51:43 +02:00
Royce Williams
cafb3bde0b wrap kernel optimization warning 2020-06-09 11:56:20 -08:00
Jens Steube
69bdd5012c
Merge pull request #2420 from philsmd/dnssecDotReplaceByLen
fixes #2365: NSEC3 dot replace and empty salt/domain fix
2020-06-09 10:45:02 +02:00
Matt Palmer
70441138ed Renumber PEM module to 22900
Also took the liberty of removing old PKCS1 naming everywhere,
so as to prevent future confusion.
2020-06-08 13:36:39 +10:00
Jens Steube
3a9929bd3d
Merge pull request #2419 from philsmd/rarHpPureFix
fixes #2390: RAR3-hp cracking w/ pass > 28 (pure kernel) + tests added
2020-06-04 10:06:29 +02:00
Jens Steube
f6322dccd5
Merge branch 'master' into pkcs1 2020-06-04 09:44:01 +02:00
Jens Steube
a6a6bb200a Mark NV 441.x as fixed 2020-06-03 14:38:04 +02:00
Jens Steube
09b2bb0ad7 Fixed a buffer overflow in module_hash_decode() of -m 15500 2020-06-03 12:51:38 +02:00
Jens Steube
1e469a96a4 Add missing branch in automatic alias device selection 2020-06-03 12:31:17 +02:00
Jens Steube
dc9f4e993a Fix for #2387, but need some testing first 2020-06-03 11:10:31 +02:00
Jens Steube
891b59fb2f Remove some old code no longed needed 2020-06-03 10:05:29 +02:00
Jens Steube
34f71aaea3 Re-enable POCL is version detected is >= 1.5 and LLVM is >= 9.x and also remove performance warning. Still prefers native OpenCL runtime in alias detection, but this default can be overriden using -d parameter. 2020-06-03 09:29:20 +02:00
Jens Steube
c51b6391c9
Merge pull request #2405 from philsmd/luks_hash_example_fix
luks: remove self-test example hash
2020-06-02 12:35:07 +02:00
Jens Steube
4aaec30ada
Merge pull request #2404 from philsmd/master
use our safe free () wrapper hcfree whenever possible
2020-06-02 12:34:19 +02:00
Jens Steube
a8aece13a2
Merge pull request #2425 from philsmd/secureZIP
fixes #2410: added -m 2300x = SecureZIP
2020-06-02 12:33:09 +02:00
philsmd
416bdd8e47
SecureZIP: use hex_encode () / hex_decode () 2020-06-02 11:21:25 +02:00
philsmd
e151a72717
huge fwrite/fread problem on windows fixed 2020-06-02 09:52:10 +02:00
philsmd
5df743cb85
fixes #2410: added -m 2300x = SecureZIP 2020-05-31 10:36:41 +02:00
Jens Steube
6c0dc7493e Fix modules where salt->salt_buf[] is used but salt->salt_len was not set 2020-05-29 11:19:49 +02:00
Jens Steube
84d3981e7b Add returncode PARSER_HAVE_ERRNO as a valid returncode from module_hash_binary_count() and module_hash_binary_parse() module hooks. You can use this in case fopen() fails and you want to transport back the original error from the OS 2020-05-27 15:23:02 +02:00
Matt Palmer
cff3fbda9b Provide benchmark esalt structure 2020-05-27 20:30:00 +10:00
Jens Steube
bb19c9cf1b
Merge pull request #2373 from mpalmer/more-error-messages
Add some more generic error messages
2020-05-26 13:25:36 +02:00
philsmd
f382d24dcf
fixes #2365: NSEC3 dot replace and empty salt/domain fix 2020-05-25 11:30:45 +02:00
philsmd
edfe21b902
fixes #2390: RAR3-hp cracking w/ pass > 28 (pure kernel) + tests added 2020-05-25 11:08:33 +02:00
Jens Steube
9b64a405d1 Fixed cleanup of password candidate buffers on GPU set from autotune in case -n was used 2020-05-20 12:44:04 +02:00
Matt Palmer
2d83149a54 Module to decrypt PEM-encoded encrypted private keys (#74)
Supports a variety of common PKCS#1 ciphers, with fast kernels in all
available colours, shapes, and sizes.
2020-05-19 23:58:09 +10:00
Matt Palmer
c39e3dfcea Add some more generic error messages
These are almost all taken from error messages that are specific to one
particular module, and turned into generic errors that can be used for any
module.  It seemed like a better idea to provide generic messages than to
encourage infinite proliferation of error codes (which would probably end up
blowing the 255 value threshold sooner or later).  It doesn't seem necessary
to provide module-specific error messages for things like "Invalid <X>
filesize", since users should already know what sort of file they're asking
to be parsed.
2020-05-19 23:52:16 +10:00
Jens Steube
1dc3469f6e
Merge pull request #2372 from mpalmer/binary-parse-report-error
Allow module_hash_binary_parse to report a fatal error
2020-05-18 15:14:49 +02:00
philsmd
943c57ae5f
luks: remove self-test example hash 2020-05-14 19:27:39 +02:00
philsmd
d1c3274965
use our safe free () wrapper hcfree whenever possible 2020-05-14 19:21:59 +02:00
Jens Steube
109fa01a54
Merge pull request #2395 from s3inlc/patch-2
Adding escaping for --status-json
2020-05-14 09:44:10 +02:00
Sein Coray
d91a25027b
minor adjustments to code style and explanatory comment added 2020-05-13 13:37:30 +02:00
Jens Steube
ff37264c36 Use special type for hashlist sorting in brain_compute_session() 2020-05-12 08:54:26 +02:00
Sein Coray
4a0757e251
added escaping to --status-json output 2020-05-11 23:22:47 +02:00
Jens Steube
f9e4dc0db1 Remove sort_by_string(), no longer needed 2020-05-11 12:00:26 +02:00
Jens Steube
d5cd0a0030 Fix invalid brain session id calculation and move sorting functions to shared.c 2020-05-11 11:52:36 +02:00
Jens Steube
08ea00020a Fixed calculation of brain-session ID, only the first hash of the hashset was taken into account 2020-05-10 10:05:14 +02:00
philsmd
b7e5216cf1
fixes #2383: added -m 22700 = MultiBit HD (scrypt) 2020-05-08 10:57:32 +02:00
Jens Steube
33579ae3db Add new option for modules OPTS_TYPE_SELF_TEST_DISABLE to disable self-test functionality from hash-mode directly 2020-05-08 10:18:17 +02:00
Jens Steube
c7da6357ff suppress some handpicked control characters from being printed to console 2020-04-30 13:29:51 +02:00
Jens Steube
d22a9a0978 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-04-30 12:58:46 +02:00
Matt Palmer
b25c8d9a5a Add some more generic error messages
These are almost all taken from error messages that are specific to one
particular module, and turned into generic errors that can be used for any
module.  It seemed like a better idea to provide generic messages than to
encourage infinite proliferation of error codes (which would probably end up
blowing the 255 value threshold sooner or later).  It doesn't seem necessary
to provide module-specific error messages for things like "Invalid <X>
filesize", since users should already know what sort of file they're asking
to be parsed.
2020-04-23 12:36:15 +10:00
Matt Palmer
b4204d265d Allow module_hash_binary_parse to report a fatal error
If module_hash_binary_parse is completely unable to successfully parse out
any hashes, up until now the output has been

```
Hashfile 'foo': Success
```

which is less than helpful.

This patch allows (but does not require) m_h_binary_parse to report a useful
error response, by returning a negative value.  Modules which continue to
return '0 hashes' will get the same less-than-useful behaviour they always
hace.

I've also modified the LUKS module to report a useful error, as a proof of
concept.

Further expansions on this could include:

* Applying similar behaviour to module_hash_binary_count, so it too can
  report errors when trying to count hashes.  This would require more
  co-ordinated change, because m_h_binary_count already uses -1 to indicate
  a system error.

* Allow and encourage modules to print their own errors and warnings during
  parsing.  This would allow for situations where a single hash in a
  multi-hash file could be reported as malformed, without having to fail the
  whole parse.  However, implementing this would, I expect, require modules
  to have access to `hashcat_ctx`, which...  yeah.  Not so straightforward.
2020-04-23 12:05:41 +10:00
Matt Palmer
240d35976a Fix build warning in DEBUG mode
Just a tiny cleanup to avoid an 'unused variable' warning when building
with DEBUG=1.
2020-04-18 12:18:18 +10:00
philsmd
688d904aa0
Added -m 22600 = Telegram Desktop App Passcode (PBKDF2-HMAC-SHA1) 2020-04-08 14:31:47 +02:00
Jens Steube
1797f3ffa4 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-04-02 15:16:26 +02:00
Jens Steube
2c94c003ce
Merge pull request #2353 from s3inlc/patch-separator
Patch all inconsistent separators in modules
2020-04-02 14:39:42 +02:00
Jens Steube
a45548d176
Merge pull request #2351 from s3inlc/patch-1
Fix constant separator when printing IPMI hashes
2020-04-02 14:39:24 +02:00
Jens Steube
26570cdb17 Disable some modules on AMDGPU-Pro driver 2020-04-01 15:10:52 +02:00
Jens Steube
008072eb65 OpenCL Runtime: Added a warning if OpenCL runtime NEO, Beignet, POCL or MESA is detected and skip associated devices (override with --force) 2020-04-01 10:16:49 +02:00
s3inlc
b9d251b76e fixing all inconsistent hash separators 2020-03-31 20:40:09 +02:00
Sein Coray
949b61a6bb
Fix constant separator when printing IPMI hashes 2020-03-31 17:37:46 +02:00
Jens Steube
e3e31adec3 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-03-31 14:41:35 +02:00
Jens Steube
10e986990b
Merge pull request #2349 from philsmd/hexSaltFix
fixes #2339: problem with --hex-salt fixed
2020-03-30 18:02:32 +02:00
philsmd
15eb70152f
fixes #2339: problem with --hex-salt fixed 2020-03-30 14:06:11 +02:00
philsmd
4f3165c6ea
make -m 21200 more generic (except all supported salt len) 2020-03-30 13:53:37 +02:00
Jens Steube
ddb641b843 Add option to force disable real SHM access to be used from within the module 2020-03-20 16:20:22 +01:00
Jens Steube
82a024d9cb Merge branch 'master' of https://github.com/hashcat/hashcat 2020-03-20 16:09:41 +01:00
Jens Steube
9421b99a6f
Merge pull request #2332 from philsmd/master
fixes #2067: 40-bit oldoffice false positive problem
2020-03-20 08:30:38 +01:00
Jens Steube
a6cf7caf4a Extend hashes in -m 7100 to be of length 128 or 256 2020-03-17 14:44:11 +01:00
Jens Steube
81cb508808 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-03-17 12:02:34 +01:00
philsmd
2bc126ac96
fixes #2067: 40-bit oldoffice false positive problem 2020-03-16 16:30:35 +01:00
Jens Steube
434ad76381 Improve alias device detection to distinguish between Intel CPU and embedded GPU 2020-03-13 10:01:57 +01:00
Jens Steube
119344c084 Mark -m 13100 as unstable on Apple + Iris 2020-03-13 09:51:27 +01:00
Jens Steube
ba7163062d Do not set -cl-std=XXX to workaround NEO driver bug causing to hang while compiling -m 22000 2020-03-13 09:43:41 +01:00
Jens Steube
2e8d6854c1 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-03-12 10:53:52 +01:00
Jens Steube
2b2a7ede66 OpenCL Options: Set --spin-damp to 0 (disabled) by default. With the CUDA backend this workaround became deprecated 2020-03-12 10:51:10 +01:00
Jens Steube
2712eff3f0 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-03-11 15:11:42 +01:00
Jens Steube
d2527d142a Fixed missing to copy the dictfile to dictfile_padded buffer 2020-03-10 15:49:02 +01:00
Jens Steube
d706f90a75 Dictstat: On Windows, the st_ino attribute in the stat struct is not set which can lead to invalid cache hits. Added the filename to the database entry. 2020-03-10 15:42:55 +01:00
Jens Steube
c0554af987 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-03-10 09:43:17 +01:00
Jens Steube
8c3808bad5 Fix NUL filename on windows 2020-03-09 20:12:36 +01:00
Jens Steube
3e4d110fd2 Add stderr redirection the regular way 2020-03-09 20:05:23 +01:00
Jens Steube
125e9ec863 Do not redirect stderr to /dev/null to prevent rocm 3.1 from crashing on debian 2020-03-09 11:13:43 +01:00
Jens Steube
0b0cbab24b Merge branch 'master' of https://github.com/hashcat/hashcat 2020-03-08 15:16:53 +01:00
Jens Steube
5b58cba12e Use _unroll in -m 5500 for CPU 2020-03-06 14:34:41 +01:00
Jens Steube
2fdb7ded8b Update self-test hash for -m 1500 2020-03-06 14:09:38 +01:00
Jens Steube
fe12d2bcc6
Merge pull request #2322 from philsmd/master
solve $telegram$1 format conflict with JTR
2020-03-06 12:14:29 +01:00
philsmd
7f55f69d7f
solve telegram format conflict with jtr 2020-03-06 11:49:22 +01:00
Jens Steube
8a2a821c03 Allow unroll code in -m 18200 on NV GPU 2020-03-04 13:32:42 +01:00
Jens Steube
aaef45196f
Merge pull request #2315 from xambroz/patch-1
Fix debugedit - canonicalization unexpectedly shrank by one character
2020-03-04 12:26:21 +01:00
Jens Steube
ef47811c9d Rename 23911 to 10901 and populate salt->salt_buf[] 2020-03-03 09:55:13 +01:00
Jens Steube
a18ba9fde6
Merge pull request #2320 from thesubtlety/389-ds
Add new module for 389-ds
2020-03-03 09:47:36 +01:00
thesubtlety
4fafca4747 Add new module for 389-ds 2020-03-02 19:12:47 -08:00
Jens Steube
c258aa4111 Reenable SIMD mode for -m 13600 2020-03-02 15:00:52 +01:00
Jens Steube
b627536c45 Fixed missing OPTS_TYPE_COPY_TMPS in -m 1374x and -m 1376x 2020-03-02 10:20:22 +01:00
Jens Steube
f1d4260983 Fix missing hc_unlockfile() 2020-02-29 10:40:47 +01:00
Jens Steube
1da40bf5d8 Fix double close() in hc_fclose() 2020-02-29 10:39:28 +01:00
Jens Steube
f381e1bbf8 Remove force_recompile functionality, doesn't work with cubin anymore 2020-02-29 10:38:20 +01:00
xambroz
6b253c15c6
Fix debugedit - canonicalization unexpectedly shrank by one character
Hello,
As some paths in the src/Makefile are containing trailing slash "/", this is causing that during compile time some sources get referenced with double "//" in the path. On RHEL7 this causing issue to debugedit and is reported as error during the RPM package build.

Please consider adding this patch to prevent issue with debugedit on RHEL7
if path during compilation contains // in the reference to the file, the debugedit then reports unexpected difference.

This is the sample error messahe from RHEL7 build:
extracting debug info from /builddir/build/BUILDROOT/hashcat-5.1.0-7.20200220git398e068.el7.x86_64/usr/lib64/libhashcat.so.5.1.0
/usr/lib/rpm/debugedit: canonicalization unexpectedly shrank by one character

https://download.copr.fedorainfracloud.org/results/rebus/infosec-rebus/epel-7-x86_64/01248605-hashcat/build.log.gz

diff -ru hashcat-398e06878d6e36460bcd00283d847c723a162be3/src/Makefile hashcat-398e06878d6e36460bcd00283d847c723a162be3.new/src/Makefile

Best regards
Michal Ambroz
2020-02-24 03:17:48 +01:00
Jens Steube
4c2ef5993a Set -m 7000 to OPTS_TYPE_PT_GENERATE_BE mode to slightly improve performance 2020-02-23 15:21:34 +01:00
Jens Steube
669619c1a7 Fixed out-of-boundary write to decrypted[] in DPAPI masterkey file v1 kernel 2020-02-22 08:42:36 +01:00
Jens Steube
f96e35649d Change bitsliced kernels from 3d to 2d invocation mode for slightly better performance 2020-02-22 07:59:58 +01:00
Jens Steube
3ce3ecedd9 Reenable VeraCrypt on ROCM 2020-02-20 16:09:41 +01:00
Jens Steube
d9473358ef Add support for OPTS_TYPE_LOOP_EXTENDED kernel for special cases like VeraCrypt 2020-02-20 16:00:21 +01:00
Jens Steube
189bbb2661 Fixed buffer overflow in mp_add_cs_buf() function 2020-02-19 18:50:50 +01:00
Jens Steube
9957422191 Add tokenizer option TOKEN_ATTR_SEPARATOR_FARTHEST as an option to deal with hash formats where separator character could be part of the salt data itself and at the same time does not allow escape character logic to be applied. This can only work if it is guaranteed by the design of the hash format that the separator character does not occur after the position of the separator character. 2020-02-19 10:35:44 +01:00
Jens Steube
cd3ca53203 Update ROCM to use _unroll for mode -m 621x 2020-02-16 11:19:56 +01:00
Jens Steube
f946e321a9 Update unroll and unstable configuration for NVIDIA CUDA/OpenCL runtime after unroll whitelisting change 2020-02-15 16:17:05 +01:00
Jens Steube
193aa77cdf Update unroll and unstable configuration for ROCM OpenCL runtime after unroll whitelisting change 2020-02-15 16:09:37 +01:00
Jens Steube
87b151836d Update unroll and unstable configuration for AMD-GPU-PRO OpenCL runtime after unroll whitelisting change 2020-02-15 15:34:47 +01:00
Jens Steube
cc3cb66f12 Update unroll and unstable configuration for Intel OpenCL runtime after unroll whitelisting change 2020-02-15 14:39:26 +01:00
Jens Steube
9980389f34 Update unroll and unstable configuration for Apple OpenCL runtime after unroll whitelisting change 2020-02-15 13:58:42 +01:00
Jens Steube
c90d83c3eb Prepare for UNROLL whitelisting 2020-02-15 12:44:12 +01:00
Jens Steube
ec841fcd1c Add NO_UNROLL to -m 15900 2020-02-14 12:21:00 +01:00
Jens Steube
20fa2167af Add NO_UNROLL to -m 13800 2020-02-14 11:29:19 +01:00
Jens Steube
42e7fa1303 Fix buffer overflow in module_hash_encode() in hash-mode 13600 2020-02-13 13:59:32 +01:00
philsmd
b6f40c05d6 Added -m 7401 = MySQL $A$ (sha256crypt), closes #2305 2020-02-11 11:36:16 +01:00
Jens Steube
a06f5f6644 Add support for length 20 in module for -m 7400 2020-02-10 13:01:32 +01:00
Jens Steube
4ed18af14c Make VeraCrypt PIM configuration mechanism easier to read 2020-02-08 12:24:47 +01:00
philsmd
0c0912d4da
-m 22500: remove unnecessary comment 2020-02-06 21:29:50 +01:00
philsmd
b51273fb0b
Fixes #1538: Added -m 22500 = MultiBit Classic .key (MD5) 2020-02-06 20:25:14 +01:00
Jens Steube
4788c61dd2 Add OPTI_TYPE_REGISTER_LIMIT flag to enable register limiting in CUDA 2020-02-04 21:53:27 +01:00
Jens Steube
17a64f5019 Set a fixed register count maximumfor CUDA kernel. This prevents kernels going out of control and to have negative effects on other kernels from the same source code (For instance 16600) 2020-02-04 18:31:23 +01:00
Jens Steube
633327d8b7 Rewrite Whirlpool hash with 64 bit instructions 2020-02-03 15:24:38 +01:00
Jens Steube
1290b01b3e Fix KERN_TYPE in --stdout mode 2020-02-02 14:36:47 +01:00
Jens Steube
c40f474c2e Add special module option to indicate the kernel is using dynamic shared memory 2020-02-02 11:24:38 +01:00
Jens Steube
fb7bb04587 Do not use dynamic shared memory if dynamic_local_mem_size is a multiple of local_mem_size 2020-02-02 11:15:37 +01:00
Jens Steube
96a2c36f53 Reduce CUDA Toolkit minimum version to 9.0 (even 8.0 should be sufficient) 2020-02-01 19:32:03 +01:00
Jens Steube
aef53f7e10 OpenCL Runtime: Allow the kernel to access post-48k shared memory region on CUDA. Requires both module and kernel preparation 2020-02-01 14:27:42 +01:00
Jens Steube
1fc37c25f9 OpenCL Kernels: Moved "gpu_decompress", "gpu_memset" and "gpu_atinit" into new OpenCL/shared.cl in order to reduce compile time 2020-02-01 09:00:48 +01:00
Jens Steube
08163501cf Add option to disable cubin cache binaries and moved some redundant kernel load code into specific function 2020-01-31 17:50:53 +01:00
Jens Steube
01085cdab2 Move cujit_opts allocation closer to the calling functions because CUDA library needs it reinitialized after each use 2020-01-31 11:59:59 +01:00
Jens Steube
346637ec43 Improve cujit logging 2020-01-30 11:44:57 +01:00
Jens Steube
66ae5125ce Cache cubin instead of PTX to decrease startup time 2020-01-29 15:56:36 +01:00
Jens Steube
cc4fd48ace Optimize hook buffer size to be copied 2020-01-26 20:31:38 +01:00
Jens Steube
46bba107fa Reduce max accel in -m 11600 since thread count was unlocked 2020-01-26 20:00:51 +01:00
Jens Steube
7d9461f8b9 Add -m 11600 optimized kernel 2020-01-26 18:38:47 +01:00
Jens Steube
424a6ee8e9 Fix endianess of MIC in -m 22000 and -m 22001 outfile format 2020-01-26 10:45:41 +01:00
Jens Steube
247d1a91a5 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-01-25 11:26:56 +01:00
Jens Steube
42b3ef7b90 Mark -m 137xx as unstable on rocm 2020-01-25 11:26:34 +01:00
Jens Steube
c8f9bd7d64
Merge pull request #2292 from philsmd/master
Fixes #2255: new --outfile-format with support for timestamps
2020-01-24 19:54:24 +01:00
philsmd
7764d1e7e1
outfile: remove unnecessary include 2020-01-24 18:47:01 +01:00
philsmd
ebd904a179
outfile: improved version of OUTFILE_FORMAT assignment 2020-01-24 18:43:13 +01:00
Jens Steube
041a777025 OpenCL Runtime: Unlocked maximum thread count for NVIDIA GPU 2020-01-24 13:24:19 +01:00
Jens Steube
ccacc508cb Reenabled support for Intel GPU OpenCL runtime (Beignet and NEO) because a workaround was found (force -cl-std=CL2.0) 2020-01-24 10:52:12 +01:00
philsmd
0b082e2e31
outfile: add missing check for empty string for --outfile-format 2020-01-24 09:42:44 +01:00
H. L. Seger
c3ec4c458e Implement sha256($salt.sha256_bin($pass)) kernel 2020-01-23 12:00:00 +01:00
philsmd
13675d2965
Fixes #2255: new --outfile-format with support for timestamps 2020-01-23 09:03:22 +01:00
Jens Steube
42358dc2f0 Remove OPTS_TYPE_PT_NEVERCRACK leftover when merging PR from an older source base 2020-01-22 09:28:48 +01:00
Jens Steube
441fcea8a1 Replace mode 2500 with 22000 as default WPA benchmark mode 2020-01-19 19:24:11 +01:00
Jens Steube
7797488a12 Add PMKID/MIC to cracked output line in -m 22000 and -m 22001 2020-01-19 18:12:16 +01:00
Jens Steube
616683df5c Use an easier example hash for -m 22001 2020-01-19 10:50:47 +01:00
Jens Steube
abd4b99fd9 Use an easier example hash for -m 22000 2020-01-18 15:29:06 +01:00
Jens Steube
c58a889aa6 Small performance boost in -m 22400 2020-01-16 15:00:19 +01:00
philsmd
4887cc47b8
Fixes #2267: added support for -m 22400 = AES Crypt (SHA256) 2020-01-16 12:15:17 +01:00
Jens Steube
e72bd958ba Fix some formating 2020-01-15 20:27:08 +01:00
Jens Steube
ae03120981 Update HASH_NAME in -m 22301 2020-01-15 10:33:36 +01:00
philsmd
706727ad64
Fixed #1534: added -m 22301 = Telegram (SHA256) 2020-01-15 09:18:41 +01:00
philsmd
3353a6fb5d
Added -m 22300 = sha256($salt.$pass.$salt) 2020-01-15 09:16:05 +01:00
Jens Steube
53105abeb4 Added hash-mode: Citrix NetScaler (SHA512) 2020-01-14 17:15:34 +01:00
Jens Steube
9824e6e91b Update unstable warnings for Intel GPU on macOSX 10.15 2020-01-14 13:29:02 +01:00
Jens Steube
7672c49f7e gcc: disable picky gcc-8 function pointer warnings 2020-01-14 13:17:45 +01:00
Jens Steube
40a9473070 Updated pure kernel unstable markers to amdgpu-pro-18.50-708488-ubuntu-18.04 2020-01-13 21:20:06 +01:00
Jens Steube
a24d5ef9fa Merge branch 'master' of https://github.com/hashcat/hashcat 2020-01-13 16:26:37 +01:00
Jens Steube
cc85d1bd97 Update salt limit in -m 1460 from 64 to 256 2020-01-13 16:26:22 +01:00
Jens Steube
8a905d19aa Updated optimized kernel unstable markers to amdgpu-pro-18.50-708488-ubuntu-18.04 2020-01-13 16:06:04 +01:00
Jens Steube
84209dd2ff Fix buffer overflow in src/hashes.c 2020-01-13 14:40:52 +01:00
philsmd
844f12abf7
use BRAIN_SERVER_TIMER instead of BRAIN_SERVER_DUMP_EVERY 2020-01-11 11:25:37 +01:00
philsmd
c826558b49
fixes #2271: added --brain-server-timer for scheduled backup time 2020-01-11 10:46:11 +01:00
Jens Steube
8039290cd0 Update -m 10700 unstable warning and disable JiT compiler optimization for AMD GPU PRO, too 2020-01-06 13:36:17 +01:00
Jens Steube
4bef41ed1b Update -m 10700 unstable warning and disable JiT compiler optimization in pure kernel mode 2020-01-06 13:24:47 +01:00
Jens Steube
fe372dffb7 Add RDNA ISA instructions test for ADD/ADDC/SUB/SUBB 2020-01-06 12:49:57 +01:00
philsmd
b2c28289c8
PDF module: -m 10700 missing assignment of tmp_size 2020-01-04 14:08:30 +01:00
Jens Steube
df5e2361d3 Disable inline assembly instruction tests for CUDA and refer to documented requirements 2020-01-03 12:27:27 +01:00
Jens Steube
d0fb171da9 Added new options --backend-ignore-cuda and --backend-ingore-opencl, to ignore CUDA and/or OpenCL interface from being load on startup 2020-01-03 11:51:24 +01:00
philsmd
36fab0aa67
usage/help: use crack_pos everywhere instead of mixing crackpos w/ crack_pos 2020-01-03 11:21:48 +01:00
Jens Steube
b3690fcd05 Backport instruction test cache from CUDA to OpenCL 2020-01-03 11:06:55 +01:00
Jens Steube
2b4d0656d5 Cache inline assembly instruction check results for same devices types 2020-01-03 10:44:10 +01:00
Jens Steube
8e0f976ccf Merge branch 'master' of https://github.com/hashcat/hashcat 2020-01-02 19:40:35 +01:00
Jens Steube
20ef9725ef Use * in potfile entries for -m 250x and -m 1680x 2020-01-02 19:40:18 +01:00
Jens Steube
09c0cfcc04 Set -u for -m 22100 to 4k with the idea to force -n value to go down to 1 2020-01-02 12:51:25 +01:00
Jens Steube
931e29d333 Another Bitlocker boost, reduce shared mem consumption to give some of them to the compiler for more efficient calculating of memory pointer addresses 2020-01-02 12:34:19 +01:00
Jens Steube
daaf5d365c Use * in potfile entries for -m 22000 and -m 22001 2020-01-02 10:41:22 +01:00
Jens Steube
311d363054 Store precomputed KE for -m 22100 in shared memory and lock the loops per kernel invocation to a fixed value 2020-01-01 20:48:55 +01:00
Jens Steube
49b6520ca8 Make thread selection for -m 22100 mode flexible 2020-01-01 10:49:39 +01:00
Jens Steube
e31e7690ed Add BitCracker optimization to precompute KE of second sha256_transform since input data is static 2020-01-01 10:49:04 +01:00
Jens Steube
7215d4e9c0 Limit Bitlocker threads to 256 2019-12-31 23:01:47 +01:00
Jens Steube
0f9ad6f974 Limit Bitlocker threads to 256 2019-12-31 22:54:50 +01:00
Jens Steube
50907c5fff Update Bitlocker minimum password length 4 2019-12-31 22:03:53 +01:00
Jens Steube
bc442ad821 Add Bitlocker minimum password length 8 restriction 2019-12-31 21:29:09 +01:00
Jens Steube
268e4be7e8
Merge pull request #2258 from philsmd/master
fixes #1117: added -m 22100 = BitLocker
2019-12-31 21:26:55 +01:00
Jens Steube
5d1d48f5d7 Do not check for COPY_PW limits in outside kernels 2019-12-31 21:25:37 +01:00
philsmd
1c1ed72c65
fixes #1117: added -m 22100 = BitLocker 2019-12-31 18:42:13 +01:00
Jens Steube
4d286d5dc7 Fix selftest in case OPTS_TYPE_DEEP_COMP_KERNEL is active 2019-12-24 17:24:27 +01:00
Jens Steube
6ed3003a30 Fix for -m 3000 loading hashes in pwdump format 2019-12-23 15:59:14 +01:00
Jens Steube
81903e95ee Fix EAPOL temporary buffer overflow in -m 22000 and -m 22001 2019-12-22 10:35:40 +01:00
Jens Steube
c9b4e796b0 Fix missing EOL in -m 22000 and -m 22001 2019-12-22 10:11:25 +01:00
Jens Steube
2cc4244e14 Initial -m 22001 support 2019-12-19 22:14:42 +01:00
Jens Steube
161775b1b6 Switch separator character in -m 22000 from ':' to '*' 2019-12-19 19:17:01 +01:00
Jens Steube
f2aedd3741 Add support to load hashes for hash-mode 2500 and 16800 format from hash-mode 22000 2019-12-16 19:35:00 +01:00
Jens Steube
784eeb257b Make use of message_pair and set default for nonce_error_corrections in -m 22000 2019-12-16 12:47:48 +01:00
Jens Steube
2a04354401 New mode 22000 WPA-PBKDF2-PMKID+EAPOL to replace -m 2500 and -m 16800. NOTE: missing support for message_pair and nonce_error_corrections handling 2019-12-15 21:09:04 +01:00
Jens Steube
f9e5dcc133 Use deep comparison kernel from module function in selftest.c 2019-12-15 11:10:04 +01:00
Jens Steube
e83c71a18f Add missing AUX4 in selftest.c 2019-12-14 18:44:13 +01:00
Jens Steube
40a5835927 In -m 12700 and -m 15200 decrypt 48 byte of data instead of just 16 byte 2019-12-13 13:19:58 +01:00
Jens Steube
8932c71ac2 Mark -m 17200, 17220, 17225 and 21800 as unstable on ROCM 2019-12-07 12:09:58 +01:00
Jens Steube
53254b45aa Backport inc_ecc_secp256k1 inline assembly code for AMD ISA 2019-12-05 15:43:01 +01:00
philsmd
d07f002337 electrum 4/5: improve speed (rm hook) 2019-12-05 10:43:42 +01:00
Jens Steube
52e83c2292 Fix missing OPTS_TYPE_KEYBOARD_MAPPING in -m 624x 2019-12-03 11:26:33 +01:00
Jens Steube
9a2c4e3417 Fix invalid use of TOKEN_ATTR_VERIFY_DIGIT in -m 15500 2019-11-28 12:21:36 +01:00
Jens Steube
bfd95d42f6 - OpenCL Runtime: Reenabled support for Intel GPU OpenCL runtime 2019-11-27 10:28:12 +01:00
Jens Steube
48f60cc0f5 Get rid of cast-function-type warnings on newer GCC 2019-11-27 09:40:47 +01:00
Jens Steube
d18ff6fa3d Fix -m 21600 DGST_SIZE 2019-11-27 09:07:47 +01:00
Jens Steube
86d3f9e9c7 Fix -m 21600 default hash length 2019-11-27 09:03:17 +01:00
Jens Steube
a63aa679d3 Few changes to -m 21600 and move -m 124 and -m 10000 to pure Framework category 2019-11-26 17:16:18 +01:00
Jens Steube
9a28f53887
Merge pull request #2239 from blacktraffic/master
new PR for mode 21600, as discussed on previous thread for 12101
2019-11-26 13:10:22 +01:00
Jens Steube
d9a92afecc Change out-of-boundary fix in order to re-enable password length 256 with rules in pure kernel mode 2019-11-26 11:26:56 +01:00
Jens Steube
2884bded32 Initialize some variable to make scan-build happy 2019-11-26 10:55:57 +01:00
Jamie R
ce17418b27 add web2py pbkdf2-hmac-sha512 variant 2019-11-24 14:49:13 +00:00
Jens Steube
d315f61414 Fix -m 1800 speed on ROCM 2019-11-24 08:50:31 +01:00
Jens Steube
d518bd3903 Unlock all threads for -m 600 2019-11-23 13:26:40 +01:00
Jens Steube
f152f6a16c Fix missing --quiet check in password/salt min/max info on startup 2019-11-22 19:10:56 +01:00
philsmd
9264560a28 formatting: remove extra whitespace in terminal.c 2019-11-21 10:47:07 +01:00
Jens Steube
13dcae6879 Fix -m 15400 selftest-pair, benchmark-mask and unit-test 2019-11-21 09:39:07 +01:00
Jens Steube
588e0ed294 Show information about minimum and maximum password- and salt-length before the hash parser starts 2019-11-21 09:03:06 +01:00
Jens Steube
00b9f4c557 Add kernel accel minimum limit check 2019-11-19 20:38:31 +01:00
Jens Steube
424777ae28 Add kernel accel limiter based on kernel threads to reduce host memory requirements 2019-11-19 17:59:50 +01:00
Chick3nman
b1016aee62
Update Terminal.c
Increase verbosity for `--force` usage
2019-11-17 15:12:27 -06:00
Jens Steube
f7c3ced548 Fix use of calloc() in backend.c 2019-11-17 19:59:23 +01:00
philsmd
31d8445c37 re-enable USE_SYSTEM_LIBSECP256K1 = 1 2019-11-17 13:11:19 +01:00
Jens Steube
b618a72bd7 Update accel and thread modifiers for -m 21700 and -m 21800 2019-11-16 21:09:56 +01:00
philsmd
8839504daa
electrum 4/5 improve speed by avoiding secp256k1_ec_pubkey_serialize 2019-11-16 20:53:28 +01:00
Jens Steube
c4dd020685 Add support for NVIDIA Jetson AGX Xavier developer kit 2019-11-16 17:27:35 +01:00
Jens Steube
d0ad516422 Add some accel and thread limits to -m 21700 and -m 21800 for a smoother benchmark and checkpoint experience 2019-11-16 12:41:59 +01:00
Jens Steube
14ea59c001
Merge pull request #2227 from philsmd/master
Fixes #1806: added -m 21700 = Electrum 4 and -m 21800 = Electrum 5
2019-11-16 12:08:14 +01:00
Jens Steube
53e96a12a0 Improve automatic calculation of hook threads value 2019-11-16 11:48:25 +01:00
philsmd
db91fe6981 Added -m 21700 = Electrum 4 and -m 21800 = Electrum 5 2019-11-16 10:48:52 +01:00
Jens Steube
fe8c17f4c7 Support pause/abort in hooks 2019-11-15 14:42:34 +01:00
Jens Steube
08a74596c1 Add cry_salt_buf[] and cry_salt_len for easier readability in -m 11300 2019-11-15 13:06:45 +01:00
Jens Steube
bb2ea7ec57
Merge pull request #2222 from solardiz/nexus-wallet
Add Nexus legacy wallet support to -m 11300
2019-11-15 12:43:50 +01:00
Jens Steube
9c2c73c6cc Clear hook buffers after full kernel chain is finished 2019-11-15 10:12:33 +01:00
Jens Steube
732ea73721 Add free memory to per device startup info (not only total and allocatable memory) 2019-11-14 12:47:05 +01:00
Jens Steube
664e595b45 Add unstable warning for -m 10700 for Intel CPU 2019-11-14 12:46:09 +01:00
Jens Steube
7458e4f487 Add per-device available memory test of static data (hashlist, ruleset) before test of dynamic data (-n based) 2019-11-14 11:31:00 +01:00
Solar Designer
9d9351da22 Add Nexus legacy wallet support to -m 11300 2019-11-12 19:32:03 +01:00
Jens Steube
e194fec229
Merge pull request #2220 from neheb/cm
Fix extra semicolon warnings
2019-11-11 10:17:10 +01:00
Rosen Penev
a6edb84157
Fix extra semicolon warnings
These macros don't need a ; but since ; is used, make the macros more
robust by enclosing them in a do while loop.
2019-11-09 16:42:50 -08:00
philsmd
17b7eb1dce fixes #2200: new WinZip tokenizer hex data length problem 2019-11-09 10:44:28 +01:00
philsmd
461deb1e17
fixes #2214: -m 15200 = Blockchain allow large data similar to -m 12700 with hash copy 2019-11-08 11:39:03 +01:00
Jens Steube
b02fe8e076 Mark Intel OpenCL CPU runtime as broken for hash-mode 15300 2019-11-05 20:44:19 +01:00
Jens Steube
6adc217bae Keep output of --show and --left in the original ordering of the input hash file 2019-11-05 13:49:22 +01:00
Jens Steube
30f0745252
Merge pull request #2190 from neheb/narrow
Avoid narrowing errors
2019-11-05 12:30:08 +01:00
Jens Steube
ce0257dd84
Merge pull request #2189 from neheb/fgfggdf
bools
2019-11-05 12:29:02 +01:00
Jens Steube
c12470b978
Merge pull request #2188 from neheb/cast
Add casts where needed in C++ mode
2019-11-05 12:28:21 +01:00
Jens Steube
b4c7a8a914
Merge pull request #2184 from neheb/patch-2
Remove inline from functions
2019-11-05 12:21:18 +01:00
Jens Steube
82f4766f13
Merge pull request #2181 from Chick3nman/master
Fixed bug in mode 9500
2019-11-05 12:20:49 +01:00
Jens Steube
4078bcd8d7 Fix tokenizer configuration in -m 20710 and -m 13600 2019-11-05 12:18:14 +01:00
Jens Steube
9ea1f88f27 Fix tokenizer configuration in -m 20711 2019-11-03 12:33:09 +01:00
Jens Steube
a8555fa048 Support use of all available CPU cores for hash-mode specific hooks 2019-11-03 12:05:52 +01:00
Jens Steube
d71afd6d7a Prepare new --hook-threads feature 2019-11-02 10:29:34 +01:00
Jens Steube
5a4cfe9fa3 Allow workload-profile change in benchmark mode 2019-10-25 11:16:06 +02:00
Jens Steube
95920f1ef3 Startup Checks: Prevent the user to modify options which are overwritten automatically in benchmark mode 2019-10-25 10:05:56 +02:00
Jens Steube
c78b8878d5 Fix calculation of mask length for status view in case hex-charset is used 2019-10-09 19:18:18 +02:00
Jens Steube
2622993c00 Fix check of OPTS_TYPE_PT_HEX in selftest 2019-10-09 19:15:37 +02:00
Jens Steube
786efc2d7c Add support for OPTS_TYPE_PT_HEX 2019-10-09 10:49:58 +02:00
Jens Steube
a0284b8378 Fixed invalid use of --hex-wordlist if encoded wordlist string is larger than length 256 2019-10-08 12:33:11 +02:00
Jens Steube
b197610811 Add tokenizer support for TOKEN_ATTR_VERIFY_FLOAT 2019-10-02 14:18:26 +02:00
Rosen Penev
49edbe184b Avoid narrowing errors
C++ with -Wnarrowing complains about these.
2019-09-11 20:18:26 -07:00
Rosen Penev
bd6c0e57e4 Change 0/1 to true/false
Found with clang-tidy
2019-09-11 18:36:52 -07:00
Rosen Penev
fd8150769d Add casts where needed in C++ mode
Otherwise, -fpermissive must be passed.
2019-09-11 18:05:01 -07:00
Rosen Penev
3a64325c7e
Remove inline from functions
This breaks C++ semantics. It's also unnecessary.
2019-09-09 16:46:58 -07:00
Chick3nman
253db764b7 Fixed issue where multiple hashes with the same salt would fail to crack in module/kernel for 9500. Remove unused include in module for 9600. 2019-09-05 05:27:39 -05:00
philsmd
d9b22b86e4
wrong separator used in SipHash (-m 10100) 2019-08-22 09:45:35 +02:00
Jens Steube
0063bc7245 Fix uninitialized buffer in maskfile iteration 2019-08-21 14:57:41 +02:00
Jens Steube
417a1f6592 Add new hash-mode category 'framework' 2019-08-12 11:25:21 +02:00
Jens Steube
cadf20b4b9 Fix some code in -m 21500 2019-08-08 10:47:09 +02:00
Jens Steube
dd262a9aa9
Merge pull request #2146 from matrix/solarwinds_orion_1
Added hash-mode 21500 - SHA512(PBKDF2-HMAC-SHA1)
2019-08-08 09:49:18 +02:00
Gabriele Gristina
e921fbdf19 update SolarWinds Orion patch (3) 2019-08-07 21:21:14 +02:00
Jens Steube
7284b934cb Fix null pointer dereference in case LM hash with both LM parts was given without hash file 2019-08-07 16:20:26 +02:00
Jens Steube
884f003725 Fixed some memory leaks in case mask-files are used in optimized mode 2019-08-07 14:20:32 +02:00
Gabriele Gristina
5f44ce06f6 update SolarWinds Orion patch (2) 2019-08-06 20:23:37 +02:00
Jens Steube
ca31ef43af Fixed race condition in maskfile mode by using a dedicated flag for restore execution 2019-08-06 14:07:43 +02:00
Jens Steube
57a149276c Do alias check only in case both CUDA and OpenCL devices were detected 2019-08-06 12:44:39 +02:00
Jens Steube
97c9e86d15 Filehandling: Print a truncation warning in case an oversized line was detected 2019-08-06 12:22:24 +02:00
Jens Steube
1ecdffb580 Fix some code formatting 2019-08-06 11:26:56 +02:00
Gabriele Gristina
54f8811b4e update SolarWinds Orion patch (1) 2019-08-06 02:29:52 +02:00
Jens Steube
2aa5299992 Workaround too much register use in -m 14600 on low-end GPU 2019-08-05 15:23:00 +02:00
Gabriele Gristina
7532058be0 Added hash-mode 21500 - SHA512(PBKDF2-HMAC-SHA1) 2019-08-05 01:40:49 +02:00
Rosen Penev
ab061ba761
Run Clang's bugprone-narrowing-conversions
Fairly minor issue.
2019-08-03 22:37:38 -07:00
Rosen Penev
df618e861e
Run through Clang's performance-type-promotion-in-math-fn
Only changed log2 to log2f. Rightly so.
2019-08-03 22:37:38 -07:00
Rosen Penev
dca1a86315
Run through Clang's bugprone-macro-parentheses 2019-08-03 22:37:38 -07:00
Rosen Penev
6dc72ebcc5
Run through Clang's readability-else-after-return
There's no need for a return statement in an else path. Just take it out.
Simplifies the code slightly.
2019-08-03 22:37:38 -07:00
Rosen Penev
fb75164126
Run through Clang's google-readability-casting
Removes casts where the type is identical.
2019-08-03 22:37:38 -07:00
Rosen Penev
2f76326c37
Run through Clang's android-cloexec checkers
This is mainly useful with SELinux.
2019-08-03 22:37:37 -07:00
Rosen Penev
98e17d5774
Run through clang-tidy's readability-uppercase-literal-suffix
1 and l are visually similar and can be confused. This also changes u to U
for consistency.
2019-08-03 19:59:17 -07:00
Jens Steube
e6d69ebaa6
Merge pull request #2143 from matrix/hash_mode_4711
Added hash-mode 4711, Huawei sha1(md5(pass).salt)
2019-08-03 20:24:18 +02:00
Jens Steube
a03bffe64f
Merge pull request #2128 from matrix/authme_1
Added hash-mode: AuthMe - sha256(sha256(pass).salt)
2019-08-03 20:24:07 +02:00
Gabriele Gristina
06bde16336 Added hash-mode 4711, Huawei sha1(md5(pass).salt) 2019-08-03 19:53:23 +02:00
Gabriele Gristina
358c68abd2 update AuthMe patch (3) 2019-08-03 02:37:43 +02:00
Jens Steube
c845d14601 Make -m 4710 more generic 2019-08-02 10:40:32 +02:00
Jens Steube
317b45adcf
Merge pull request #2137 from matrix/issue_2136
fix bug in 4710 a3 kernel
2019-08-02 10:23:50 +02:00
Awais Chishti
c40473416a Avoid -Waddress-of-packed-member warnings 2019-08-01 21:31:56 +05:00
Gabriele Gristina
66337ee8f5 update AuthMe patch (2) 2019-08-01 15:12:51 +02:00
Gabriele Gristina
d794d662c6 Added hash-mode 21100 optimized kernels 2019-08-01 02:38:43 +02:00
Gabriele Gristina
94d901e411 fix bug in 4710 a3 kernel 2019-07-31 19:04:40 +02:00
Gabriele Gristina
468bf2f19a update AuthMe patch (1) 2019-07-31 17:36:31 +02:00
Jens Steube
9e9adfcd7d
Merge pull request #2125 from matrix/double_sha256_1
Added hash-mode: sha256(sha256_bin(pass))
2019-07-31 15:59:36 +02:00
Gabriele Gristina
cc689caa42 switch hash-mode from 1470 to 21400, cleanup credits/readme/changes txt 2019-07-31 15:39:16 +02:00
Jens Steube
738523d4ff
Merge pull request #2131 from matrix/BitShares_v0
Added hash-mode: BitShares v0.x - sha512(sha512(pass))
2019-07-31 15:38:47 +02:00
Gabriele Gristina
ca0ef1b70e update hash-name 2019-07-31 15:30:39 +02:00
Jens Steube
fa5873ae33
Merge pull request #2134 from matrix/hash_mode_4430
Added hash-mode: md5(salt.sha1(salt.pass))
2019-07-31 14:44:33 +02:00
Jens Steube
41dc503506
Merge pull request #2133 from matrix/md5_combo_2
Added hash-mode: md5(sha1(salt).md5(pass))
2019-07-31 13:19:12 +02:00
Jens Steube
0582a58ce2
Merge pull request #2132 from matrix/hash_mode_4720
Added hash-mode: sha1(md5(pass.salt))
2019-07-31 13:15:06 +02:00
Jens Steube
e74fcffcea
Merge pull request #2127 from matrix/md5_combo_1
Added hash-mode: md5(sha1(pass).md5(pass).sha1(pass))
2019-07-31 12:46:22 +02:00
Jens Steube
6ecc662451
Merge pull request #2115 from matrix/zip_support_1
Add support to load wordlists in zip format
2019-07-30 15:55:06 +02:00
Jens Steube
7dba0f311a
Merge pull request #2110 from matrix/sha256_md5_huawei
Added hash-mode: sha256(md5(pass))
2019-07-30 15:34:22 +02:00
Gabriele Gristina
16b06f51fc switch hash-mode from 4430 to 21300 2019-07-30 15:26:07 +02:00
Gabriele Gristina
16b4f745af switch hash-mode from 4420 to 21200 2019-07-30 15:23:04 +02:00
Gabriele Gristina
8f236f9609 switch hash-mode from 4720 to 21100 2019-07-30 15:19:22 +02:00
Gabriele Gristina
bba2ee65a2 switch hash-mode from 1770 to 21000 2019-07-30 15:15:49 +02:00
Gabriele Gristina
1b5168b95a switch hash-mode from 4410 to 20900 2019-07-30 15:08:55 +02:00
Gabriele Gristina
f2d92d8aec switch hash-mode from 4710 to 20800 2019-07-30 14:44:17 +02:00
Jens Steube
8ec95ddfbf
Merge pull request #2129 from matrix/sha1_combo_1
Added hash-mode: sha1(md5(pass).salt)
2019-07-30 12:41:31 +02:00
Gabriele Gristina
b54ad7981f update repo and re-apply zip patch 2019-07-29 18:42:50 +02:00
Gabriele Gristina
c1d15d613b switch hash-mode from 19400 to 20700 2019-07-29 17:16:53 +02:00
Jens Steube
dc000aa281
Merge pull request #2120 from jackschmidt/nsec3-empty-salt-fix
nsec3 m 8300: salt can be empty
2019-07-29 16:47:03 +02:00
Jens Steube
e76c3de86a Fix invalid password truncation in -a 1 mode 2019-07-29 16:11:50 +02:00
Jens Steube
8d770e6981
Merge pull request #2109 from matrix/brain_1
(brain) remove unused *rc* vars and cleanup
2019-07-29 15:06:16 +02:00
Jens Steube
90b9e08fc7
Merge pull request #2108 from matrix/dispatch_1
(dispatch) remove unused *rc* vars and cleanup
2019-07-29 15:05:05 +02:00
Jens Steube
be53c3dbe9
Merge pull request #2107 from matrix/straight_1
(straight) remove unused *rc* vars and cleanup
2019-07-29 15:04:22 +02:00
Jens Steube
0718b87dcb
Merge pull request #2106 from matrix/restore_1
(restore) remove unused *rc* vars and cleanup
2019-07-29 15:03:33 +02:00
Jens Steube
64fd1575c8
Merge pull request #2105 from matrix/main_1
(main) remove unused *rc* vars and cleanup
2019-07-29 15:03:00 +02:00
Jens Steube
97b5b723c4
Merge pull request #2104 from matrix/keyboard_layout_1
(keyboard_layout) remove unused *rc* vars, change free with hcfree
2019-07-29 15:02:34 +02:00
Jens Steube
35f04bf15d
Merge pull request #2102 from matrix/filehandling_1
move hc_* file functions from shared.c/.h to filehandling.c/.h
2019-07-29 14:58:15 +02:00
Jens Steube
fbf787bd73
Merge pull request #2101 from matrix/issue_2084
Fix #2084: bug with -S -O arguments set together
2019-07-29 14:41:57 +02:00
Gabriele Gristina
85b16ef844 do not call mp_css_utf16le_expand() in case this is a slow_candidate session 2019-07-29 14:29:43 +02:00
Jens Steube
aadb4c71d4
Merge pull request #2100 from matrix/fix_mpsp_bug
fix bug in mpsp
2019-07-29 12:33:09 +02:00
Gabriele Gristina
d824d1943e Added hash-mode: md5(salt.sha1(salt.pass)) 2019-07-27 17:03:19 +02:00
Gabriele Gristina
370a552459 Added hash-mode: md5(sha1().md5()) 2019-07-27 14:16:30 +02:00
Gabriele Gristina
e766cf0dc7 Added hash-mode: sha1(md5(.)) 2019-07-27 02:03:23 +02:00
Gabriele Gristina
af622f6df5 Added hash-mode: BitShares v0.x - sha512(sha512(pass)) 2019-07-26 23:47:32 +02:00
Gabriele Gristina
b1d8035707 remove the changes to src/mpsp.c 2019-07-26 12:38:33 +02:00
Gabriele Gristina
8ad2261a01 remove the changes to src/mpsp.c 2019-07-26 12:35:14 +02:00
Gabriele Gristina
bf5d8af890 remove the changes to src/mpsp.c 2019-07-26 12:17:44 +02:00
Gabriele Gristina
bbee1890cd Added hash-mode: sha1(md5(pass).salt) 2019-07-26 01:49:35 +02:00
Gabriele Gristina
eedceb698f Added hash-mode: md5(sha1().md5().sha1()) 2019-07-25 23:56:20 +02:00
Gabriele Gristina
c166242996 Add AuthMe - sha256(sha256().) kernel module 2019-07-23 19:23:06 +02:00
Gabriele Gristina
038bce131f Add Double sha256 kernel module 2019-07-20 21:06:46 +02:00
Jack Schmidt
e724e0dadc nsec3 m 8300: salt can be empty 2019-07-18 08:06:00 -04:00
Jens Steube
d1f473d6ba
Merge pull request #2099 from Chick3nman/master
Added Remaining counts and changed Recovered count logic
2019-07-13 16:35:07 +02:00
Gabriele Gristina
806b00168c fix wrong OPTS_TYPE, add remaining 4710 kernels 2019-07-13 15:36:16 +02:00
Gabriele Gristina
bbcb23b038 Add hash mode 4710 - sha256(md5(pass)) 2019-07-13 14:43:13 +02:00
Gabriele Gristina
e77d6e947c (brain) remove unused *rc* vars and cleanup 2019-07-13 08:23:12 +02:00
Gabriele Gristina
278cd66775 (dispatch) remove unused *rc* vars and cleanup 2019-07-13 07:52:54 +02:00
Gabriele Gristina
cdbef854a4 (keyboard_layout) remove unused *rc* vars, change free with hcfree 2019-07-13 07:32:15 +02:00
Gabriele Gristina
7e7acb0ee8 (main) remove unused *rc* vars and cleanup 2019-07-13 07:27:32 +02:00
Gabriele Gristina
f0a7ba1473 (restore) remove unused *rc* vars and cleanup 2019-07-13 07:23:50 +02:00
Gabriele Gristina
48ca028714 (straight) remove unused *rc* vars and cleanup 2019-07-13 07:16:03 +02:00
Gabriele Gristina
d0ec5c7b77 move hc_* file functions from shared.c/.h to filehandling.c/.h 2019-07-13 00:20:41 +02:00
Gabriele Gristina
686e722db0 fix bug with -S -O arguments set together 2019-07-12 23:55:53 +02:00
Chick3nman
9e1ae3cb4a Updated Kernel self-test failure message to reflect OpenCL or Cuda installation failure, depending on backend used 2019-07-12 13:38:12 -05:00
Chick3nman
fcb100b26c Changed Error message, OpenCL is not the only kernel type 2019-07-12 13:32:22 -05:00
Gabriele Gristina
5d4fd047ee fix bug in mpsp 2019-07-12 20:20:05 +02:00
Chick3nman
0b0de6a283 Added Remaining digest and salt count to Status output
Added logic to show/hide salt count based on number of salts for remaining digests as well as recovered digests
2019-07-12 12:54:21 -05:00
Gabriele Gristina
6940f11b15 fix buffer overflow in build_plain() 2019-07-11 17:56:34 +02:00
Gabriele Gristina
ea44f1a186 Fix outfile bug 2019-07-11 13:04:18 +02:00
Jens Steube
ac52a14dbd
Merge pull request #2093 from matrix/memory_leaks_1
fix some memory leaks
2019-07-11 10:59:32 +02:00
Jens Steube
eab68cb9ca
Merge pull request #2092 from matrix/mpsp_1
(mpsp) remove unused *rc* vars and cleanup
2019-07-11 10:58:52 +02:00
Jens Steube
e69b9145b1
Merge pull request #2091 from matrix/hashcat_1
(hashcat) remove unused *rc* vars and cleanup
2019-07-11 10:58:41 +02:00
Jens Steube
336a8a4a4e
Merge pull request #2090 from matrix/terminal_1
(terminal) remove unused *rc* vars and cleanup
2019-07-11 10:58:29 +02:00
Jens Steube
58cf53b4ee
Merge pull request #2089 from matrix/selftest_1
(selftest) remove unused *rc* vars and cleanup
2019-07-11 10:58:20 +02:00
Gabriele Gristina
4b871646fe fix some memory leaks 2019-07-10 17:27:45 +02:00
Gabriele Gristina
013b914e22 (mpsp) remove unused *rc* vars and cleanup 2019-07-10 17:21:20 +02:00
Gabriele Gristina
c88250e437 (hashcat) remove unused *rc* vars and cleanup 2019-07-10 17:10:15 +02:00
Gabriele Gristina
c690e33fee (terminal) remove unused *rc* vars and cleanup 2019-07-10 16:55:50 +02:00
Gabriele Gristina
c3716ca8e5 (selftest) remove unused *rc* vars and cleanup 2019-07-10 16:41:24 +02:00
Gabriele Gristina
ae62e597ce (backend) remove unused *rc* vars and cleanup 2019-07-10 16:13:11 +02:00
Jens Steube
a7fd1e40f8
Merge pull request #2075 from matrix/zlib_support_2
Add zlib support for loading hashlist/wordlist (v2)
2019-07-10 10:56:06 +02:00
Gabriele Gristina
3d39d2fc91 update all HCFILE vars and related code 2019-07-02 21:30:35 +02:00
Gabriele Gristina
2db6dfcd4e fix HCFILE with potfile BUG and something else related to HCFILE wrong usage 2019-07-02 18:27:36 +02:00
Gabriele Gristina
ea786f715f avoid logical negation operator 2019-07-02 15:52:17 +02:00
Gabriele Gristina
4b9fdc6b97 try remove warning about unused return value of read 2019-07-01 17:57:44 +02:00
Gabriele Gristina
3161aec3da fix the comments :) 2019-07-01 17:27:08 +02:00
Jens Steube
74828b765d
Merge pull request #2082 from matrix/truncLongCastAssignment_1
Fix truncLongCastAssignment warnings
2019-07-01 09:35:10 +02:00
Jens Steube
316ad8a406
Merge pull request #2080 from matrix/print_format_1
Fix some *print* format arguments
2019-07-01 09:34:22 +02:00
Gabriele Gristina
5679ca3344 Rewrite hc_fopen to better handling file descriptor locking/unlocking functions, saving kernels binary from plain to gzip format 2019-07-01 01:30:24 +02:00
Gabriele Gristina
28a04d80b1 remove useless objs from OBJS_ZLIB 2019-06-30 19:28:42 +02:00
Gabriele Gristina
e22e1c29b3 remove useless gzip handling in main_log_* functions 2019-06-30 18:16:10 +02:00
Gabriele Gristina
b7a5d6b66f Fix truncLongCastAssignment warnings 2019-06-29 18:12:00 +02:00
Gabriele Gristina
caf34e0e83 Fix some *print* format arguments 2019-06-29 17:49:57 +02:00
Gabriele Gristina
823770c149 switch from strtok to strtok_r 2019-06-29 17:14:19 +02:00
Gabriele Gristina
60a683daa8 Hide warning about implicit declaration of function 2019-06-29 15:13:07 +02:00
Gabriele Gristina
e86cbf426a add workaround for zlib with cygwin build (v2) 2019-06-29 14:46:33 +02:00
Gabriele Gristina
9673dedebf Force undef WIDECHAR in cygwin build 2019-06-29 13:48:22 +02:00
Gabriele Gristina
5d3ed3e754 Remove union from HCFILE, using std file ops in ocl_check_dri, remove debug comments 2019-06-28 17:58:08 +02:00
arrtchiu
2a1356a4f6
allow up to 64 bytes of salt in module 01460 2019-06-28 10:30:59 +08:00
Gabriele Gristina
c2e634c426 switch is_gzip from short to bool 2019-06-27 23:51:54 +02:00
Gabriele Gristina
481c752456 No more compress functions, update example.dict.gz, remove some comments 2019-06-27 20:18:47 +02:00
Gabriele Gristina
398c89c75c switch almost all FILE ops, potfile is the only missing 2019-06-26 19:06:46 +02:00
Jens Steube
2e32eaf2bb Fix printing from NULL pointer address 2019-06-26 15:52:11 +02:00
Jens Steube
32cb191837 Mark -m 11300 cracking on macOS as unstable 2019-06-25 13:34:45 +02:00
Jens Steube
9cc20877f0 Mark DPAPI masterkey file cracking on macOS as unstable 2019-06-25 13:29:51 +02:00
Gabriele Gristina
084ea69b3b Fix missing hc_fread switch to new format 2019-06-22 16:56:14 +02:00
Jens Steube
c34fcabb4b Add missing docs/ entry for -m 20600 2019-06-22 16:05:02 +02:00
Jens Steube
2cda236a18 OpenCL Runtime: Do not run a shared- and constant-memory size check if their memory type is of type global memory (typically CPU) 2019-06-22 16:01:38 +02:00
Jens Steube
6dfb474adf OpenCL Runtime: Do not run a shared- and constant-memory size check if their memory type is of type global memory (typically CPU) 2019-06-22 16:00:48 +02:00
Gabriele Gristina
b2529af172 remove original commented code 2019-06-22 15:00:50 +02:00
Gabriele Gristina
b05aeac950 restore original return values in modules 2500, 2501 2019-06-22 14:25:06 +02:00
Gabriele Gristina
6cb4abd526 Add zlib support v2 2019-06-21 21:56:38 +02:00
Gabriele Gristina
f4a567a01d remove redundant fclose 2019-06-21 21:35:24 +02:00
Jens Steube
6ed7dde1d4
Merge pull request #2070 from matrix/master
Fix fatal OSX build errors
2019-06-21 21:17:50 +02:00
Gabriele Gristina
ec41a3f84e switch to /usr/bin/ar 2019-06-21 21:15:59 +02:00
Jens Steube
2c4a82f81c Fix some compiler warnings in -m 172xx 2019-06-21 09:56:50 +02:00
Gabriele Gristina
b75fcef780 Fix fatal OSX build errors 2019-06-20 20:24:12 +02:00
Jens Steube
1abdecfa6c Some more ROCm performance tuning 2019-06-20 09:27:00 +02:00
Jens Steube
955bfeaa14 Improve performance of bitsliced algorithms on ROCm 2019-06-19 16:35:52 +02:00
Jeremi M Gosney
047dea3ce3 fix endianness issue in m20600 hash encoder 2019-06-18 13:13:45 -05:00
Jeremi M Gosney
871df0b81b add hash mode 20600 (oracle transportation manager) 2019-06-18 11:41:41 -05:00
Jens Steube
3c4cb5c0f8
Merge pull request #2061 from f0cker/brain_all
Brain all
2019-06-18 10:52:56 +02:00
Jens Steube
62d5d2dfbb OpenCL Runtime: Workaround ROCm OpenCL driver problem trying to write temporary file into readonly folder by setting TMPDIR environment variable 2019-06-17 17:35:23 +02:00
Jens Steube
5e0eb288c9 Use __launch_bounds__ in CUDA as replacement for reqd_work_group_size() in OpenCL 2019-06-16 18:01:26 +02:00
Jens Steube
dbbdb7e5ac WipZip cracking: Added two byte early reject, resulting in higher cracking speed 2019-06-16 11:41:42 +02:00
f0cker
3bb68e7981 Added brain status (tx/rx) for all devices 2019-06-15 22:46:40 +00:00
Jens Steube
0370f73a44
Merge pull request #2053 from philsmd/master
PKZIP: improve decompression and allow up to 320KB data length
2019-06-15 09:42:18 +02:00
Jens Steube
cf3dd5f3db Update -m 13600 selftest hash 2019-06-15 09:20:15 +02:00
Jens Steube
f660b95ac6 Set selftest hash to 128 bit key in -m 13600 2019-06-15 08:40:52 +02:00
philsmd
a661728256
pkzip: for u32 use MAX_DATA / 4 2019-06-07 19:42:28 +02:00
philsmd
01a511b9dd
minor: some code formatting changes for PKZIP 2019-06-07 17:24:13 +02:00
philsmd
316b2952b5
PKZIP: improve decompression and allow up to 320KB data length 2019-06-07 15:52:37 +02:00
Jens Steube
581839d402 Fix more missing NO_UNROLL configurations on CUDA 2019-06-07 12:23:51 +02:00
Jens Steube
deb3843d76 Use NO_UNROLL in sha512 based PBKDF2 kernels with additional AES/Twofish decrypts for better performance 2019-06-07 11:07:17 +02:00
Jens Steube
c2fc849e2c Fix minimum threads_per_block check 2019-06-06 20:46:20 +02:00
Jens Steube
0568c0746a Emulate effect of reqd_work_group_size() in CUDA 2019-06-06 17:49:41 +02:00
Jens Steube
44ecc83d82 Do some CUDA and NVRTC version checks on startup 2019-06-05 10:53:48 +02:00
Jens Steube
03ed89684e Use --restrict nvrtc option by default 2019-06-04 17:35:10 +02:00
Jens Steube
68e39c2e47 Startup Checks: Improved the pidfile check: Do not just check for existing PID but also check executable filename 2019-06-03 15:43:56 +02:00
Jens Steube
87c336e822 Fix format warning in backend.c 2019-06-03 13:41:52 +02:00
Sein Coray
1ddeb3f65f
Added check for current pkzip inflate limitation to parser 2019-06-03 08:48:13 +02:00
Jens Steube
cb56f5ac2c Fix benchmark mask in -m 15400 2019-06-02 21:16:04 +02:00
Jens Steube
1f6c82b6d1 Add hc_cuModuleLoadDataExLog wrapper function for more detailed error logging from CUDA 2019-06-01 07:47:30 +02:00
Sein Coray
3365040bc1
fixed two bugs where pkzip hashes wouldn't be cracked 2019-05-24 22:11:51 +02:00
Jens Steube
3c603019c3
Merge pull request #2043 from s3inlc/pkzip-compression-mixed
Pkzip compression mixed
2019-05-21 18:07:39 +02:00
Sein Coray
215440e43c
adding support for mixed multi-file pkzip hashes with mode 17225 2019-05-20 22:25:29 +02:00
Sein Coray
3ac09d31a3
fixed mingw warnings by making clean hex to binary conversion on hash parsing 2019-05-20 22:03:55 +02:00
Sein Coray
e08fc096cd
adding support to 17230 kernel to allow compression types 0 and 8 2019-05-20 19:54:16 +02:00
Sein Coray
90ad225a8c
enforcing checksum length which is printed to be length 4 always 2019-05-20 19:49:32 +02:00
Sein Coray
aed1910205
fixed license text in pkzip master key kernels 2019-05-20 19:17:47 +02:00
Jens Steube
034987fa51
Merge pull request #2035 from s3inlc/pkzip-fix-2
Added parser message for pkzip hashes which have unsupported compression type for kernel
2019-05-20 11:50:22 +02:00
Jens Steube
3e64373599
Merge pull request #2034 from s3inlc/pkzip-fix-1
Fix issue with pkzip hashes which have a larger offset value to be printed correctly
2019-05-20 11:50:05 +02:00
Jens Steube
32881ad16d Fix 200xx space indents and hashes count 2019-05-19 15:48:15 +02:00
Royce Williams
348221c15c minor tweaks to hash-count min/max language 2019-05-19 04:59:33 -08:00
Jens Steube
f1632b933e Add support to configure hash-mode specific range of number of hashes supported 2019-05-19 14:46:05 +02:00
Jens Steube
c9fba782ed Add minimum password length for -m 20510 2019-05-18 16:29:58 +02:00
Jens Steube
686d71397a
Merge pull request #2032 from s3inlc/master
Adding pkzip stream cipher kernels 20500 and 20510
2019-05-17 18:36:21 +02:00
Jens Steube
fadb7ba9bd
Merge pull request #2031 from philsmd/master
fixes #2026: rule engine hex interpretation problem
2019-05-17 16:56:42 +02:00
Sein Coray
56f79232b5
adjusted name for modules 2019-05-17 15:50:03 +02:00
Sein Coray
301b5b9777
added parser message for pkzip hashes which have unsupported compression type for kernel 2019-05-17 15:42:13 +02:00
Sein Coray
c80bfde8f2
fix issue with pkzip hashes which have a larger offset value to be printed correctly 2019-05-17 15:28:49 +02:00
Sein Coray
15cbaa0f59
adding pkzip stream cipher kernels 20500 and 20510 2019-05-17 14:11:22 +02:00
philsmd
42b3848698
fixes #2026: rule engine hex interpretation problem
Patch for the rule engine to support the \x00 - \xff notation in some rule functions
2019-05-17 14:05:26 +02:00
Michael Sprecher
9c4c56adb9 PKZIP: return PARSER_SIGNATURE_UNMATCHED on signature mismatch 2019-05-17 11:34:59 +02:00
Sein Coray
0ea676907a
Merge remote-tracking branch 'upstream/master' 2019-05-15 14:33:32 +02:00
Jens Steube
2eebc27ec1
Merge pull request #2008 from vlohacks/master
New modules for Python passlib pbkdf2 sha variants
2019-05-15 09:51:19 +02:00
vlo
bc1bc55b0d Fixed: wrong sourcecode comment 2019-05-15 07:38:18 +02:00
vlo
84b8a1b1eb Suggested changes for pull request
Fixed: Moved descriptions to appropriate location in readme file
Fixed: Changed name of alternate base64 tables to ab64
Fixed: Changed hash category to HASH_CATEGORY_GENERIC_KDF
2019-05-15 07:29:29 +02:00
Jens Steube
ce8a6fde0a Fix status screen current password query 2019-05-14 15:25:36 +02:00
Jens Steube
f84eaa2e4d Fix bitsliced algorithm brute-force with CUDA 2019-05-14 14:08:27 +02:00
Sein Coray
ff718cf53f
all pkzip modules use u32 to store the hash data and use appropriate printing 2019-05-14 14:08:11 +02:00
Sein Coray
2434380da2
fixed printing of hash for module 17220 and 17230 using the u32 data array 2019-05-14 14:00:18 +02:00
Sein Coray
e300fe0d63
fixes to avoid crashing on gpu on multiple inner loops 2019-05-14 13:41:40 +02:00
Jens Steube
f2b1dfea31
Merge pull request #2018 from Chick3nman/master
Add extra warning when using --force
2019-05-14 11:58:03 +02:00
Jens Steube
85f7d50fb8
Merge pull request #2021 from philsmd/master
added support for $electrum$3 hashes (-m 16600)
2019-05-14 11:57:46 +02:00
Sein Coray
e39a9284e1
Merge remote-tracking branch 'upstream/master' 2019-05-14 11:48:44 +02:00
Sein Coray
d5418c25c5
remove unused digest variable 2019-05-14 10:34:40 +02:00
Sein Coray
fe61813af4
remove unused digest variable 2019-05-14 10:34:22 +02:00
Jens Steube
523e0f7151 Fix free unallocated memory in case OpenCL initialization failed 2019-05-14 10:25:49 +02:00
Jens Steube
bca03bb7ed CUDA offers a nice way to query available device memory, no need to brute force 2019-05-14 10:09:46 +02:00
Jens Steube
1943c35e4a Improve kernel-loops detection for slow hashes 2019-05-13 17:25:33 +02:00
philsmd
07a1bdb12c
added support for $electrum$3 hashes (-m 16600) 2019-05-13 14:34:15 +02:00
Jens Steube
fa9d073f9a Manually unroll sha2 hashes 2019-05-11 23:15:58 +02:00
Jens Steube
aa8e000d31 Flag OPTS_TYPE_PREFERED_THREAD no longer needed 2019-05-11 14:22:44 +02:00
Jens Steube
a6bc1d3cc0 Experimental kernel-thread autotuner 2019-05-11 11:58:18 +02:00
Jens Steube
2b0f657564 Limit some modules to 64 threads in order to get additional L1 cache 2019-05-10 23:51:09 +02:00
Jens Steube
d59474fded Testwise unlock full thread count on NVidia 2019-05-10 17:27:15 +02:00
Jens Steube
d378aa7ab9 Show host memory requirement on startup 2019-05-10 16:37:49 +02:00
Chick3nman
717b82c406
Add extra warning for --force
Warn users not to report issues when using --force in their command.
2019-05-10 06:43:50 -05:00
Jens Steube
46f737c5af Use real constant memory on CUDA 2019-05-10 13:22:26 +02:00
Sein Coray
371991e079
included speed improvements and feedback from atom applied to all 172xx kernel variants 2019-05-10 12:50:03 +02:00
Jens Steube
5d14a59304 Need 3.x nvrtc minimum 2019-05-10 10:11:12 +02:00
vlo
556db9a9e9 Fix: buffer sizes (again)
Also honor the trailing 0 byte for buffers used in sprintf
2019-05-10 08:43:25 +02:00
Jens Steube
54feb62e94 brute-force nvrtc .dll name 2019-05-09 22:17:13 +02:00
Jens Steube
a2b5981303 Fix some library names 2019-05-09 21:20:50 +02:00
vlo
ee500bec02 Fixed: buffer overflows
temporary buffer was too small for MAX_SALT
2019-05-09 19:27:11 +02:00
Sein Coray
e4d8e4a7ad
bring fork up-to-date 2019-05-09 17:23:59 +02:00
Jens Steube
be8f29ca39 Only warn about broken NVIDIA driver 2019-05-09 16:30:08 +02:00
Jens Steube
39e150fc1e Use xxx_v2 CUDA symbols 2019-05-09 14:37:14 +02:00
vlo
23c3e723f7 Implemeted table for alternate base64
Implemented alternate base64 table, removed replacement code in modules.
Fixed: whitespace/indent issues
Fixed: unsigned to signed implicit typecasts
Added new algorithm information to readme.txt and changes.txt
2019-05-09 08:51:21 +02:00
Jens Steube
33028314f0 Add hc_cuCtxSetCacheConfig() 2019-05-09 00:04:05 +02:00
Jens Steube
fb82bfc169 Improve thread handling based on FIXED_LOCAL_SIZE 2019-05-08 23:30:07 +02:00
Jens Steube
3a3df091c7 Fix CUDA num_elements 2019-05-08 22:42:52 +02:00
vlo
14dd1aaaeb Added support for passlib pbkdf2-sha256 and sha1
Added: Module for pbkdf2-sha256
Added: Module for pbkdf2-sha1
Cleanup: Avoid magic values for hash lengths
Cleanup: Coding style
2019-05-08 09:24:12 +02:00
Jens Steube
a01cc28ec6
Merge pull request #2014 from hashcat/master
Backports
2019-05-07 21:48:47 +02:00
Jens Steube
363e789b89 Assume local nvrtc.dll and cuda.dll on windows 2019-05-07 16:52:08 +02:00
philsmd
f45a726376
fixes #2012: add Deflate support for 7-Zip using zlib 2019-05-07 15:31:11 +02:00
Jens Steube
a7d04adba3 Fix opencl_devices_active and backend_devices_active 2019-05-07 14:17:29 +02:00
Jens Steube
8ff8c5d536 Add LOCAL_VK to make use of __shared__ 2019-05-07 09:01:32 +02:00
Jens Steube
bbed0cd67a Fix test.sh and bitsliced algos 2019-05-06 15:06:02 +02:00
Jens Steube
d0bd33c9d1 Rename CONSTANT_AS to CONSTANT_VK 2019-05-06 14:34:16 +02:00
Jens Steube
64c495dfa5 Use CUDA stream for all cuLaunchKernel() invocations 2019-05-06 11:23:34 +02:00
Jens Steube
d94f582097 Replace CEILDIV() with round_up_multiple_64() 2019-05-06 09:36:07 +02:00
Jens Steube
e9c04c2446 More CUDA implementation 2019-05-05 21:15:46 +02:00
Jens Steube
08dc1acc02 More CUDA rewrites 2019-05-05 11:57:54 +02:00
Jens Steube
ec9925f3b1 Warnings self-check and autotune with CUDA 2019-05-04 21:52:00 +02:00
Jens Steube
4df00033d7 Prepare CUDA events 2019-05-04 10:44:03 +02:00
Jens Steube
f2948460c9 Some first kernel invocations 2019-05-04 10:13:43 +02:00
Jens Steube
5ee033673c Disable name mangling in NVRTC's PTX output and more 2019-05-03 15:50:07 +02:00
Jens Steube
503304f36a Add some first CUDA device memory allocations and host buffer copies 2019-05-03 12:07:06 +02:00
vlo
003e23bae8 Change hash mode of addition, add test module
Changed pbkdf2-sha512 Perl passlib hash module hashmode to 20200
(assigned by maintainer)

Added test module for 20200 module
2019-05-02 22:36:23 +02:00
Jens Steube
50a6e720ca More OpenCL variables rename 2019-05-02 17:30:46 +02:00
Jens Steube
af8e317cf4 Begin renaming some OpenCL only variables 2019-05-02 17:12:59 +02:00
Jens Steube
a6fa7a2749 Add support for some first CUDA module loader 2019-05-02 14:58:52 +02:00
Jens Steube
456c57a6d0 Set vector width size for CUDA 2019-05-01 18:20:19 +02:00
vlo
4510504257 New module for Python passlib pbkdf2-sha512
Added new module for pbkdf2-sha512 hashes created by Python passlib. The
module is based on the grub2 module (using the same kernel)
2019-05-01 18:02:38 +02:00
Jens Steube
3c4f4df771 Rename some more variables 2019-05-01 15:52:56 +02:00
Jens Steube
495d89f831 Find alias devices across different backend API's 2019-05-01 07:27:10 +02:00
Jens Steube
6fd936b43a Removed --opencl-platforms filter in order to force backend device numbers to stay constant 2019-04-30 16:24:13 +02:00
Jens Steube
e3500ff4aa Add CUDA device attributes to -I 2019-04-30 13:38:44 +02:00
Jens Steube
c80e516c3c
Merge pull request #2007 from hashcat/master
Backport some fixes
2019-04-29 12:27:27 +02:00
Jens Steube
6caa78695f Backport -m 19500 fix to -m 19300 2019-04-29 12:26:22 +02:00
Jens Steube
922fa2e351 Use md5 for generatic unique salt for salt sorter in -m 19500 2019-04-29 12:01:53 +02:00
Jens Steube
d862458ab5 Begin renaming API specific variables in backend section 2019-04-29 10:21:59 +02:00
Jens Steube
d73c0ac8a9 More CUDA attribute queries 2019-04-28 18:54:26 +02:00
Jens Steube
a415422123 Initialize CUDA devices and some first attribute queries 2019-04-28 14:45:50 +02:00
Jens Steube
222be0b0dc
Merge pull request #2005 from hashcat/master
bcrypt changes
2019-04-27 16:35:38 +02:00
Jens Steube
200e72dba3 Limit -T maximum on -m 3200 to what's possible based on device specific shared memory available 2019-04-27 16:15:18 +02:00
Jens Steube
d67de66453 Disable kernel cache on -m 3200 2019-04-27 16:00:29 +02:00
Jens Steube
58213c81d6 Add vector datatypes operators 2019-04-26 22:07:56 +02:00
Jens Steube
052e42ccef Fix CUDA_ARCH value 2019-04-26 15:14:48 +02:00
Jens Steube
06171958ee Add --gpu-architecture to NVRTC build options 2019-04-26 15:10:02 +02:00
Jens Steube
9faba41848 Use nvrtc to compile PTX (resulting PTX not yet used) 2019-04-26 13:28:44 +02:00
Jens Steube
4045e60021 Add nvrtc wrapper for later use 2019-04-26 10:03:16 +02:00
Jens Steube
4b986de5fb Prepare native CUDA hybrid integration 2019-04-25 14:45:17 +02:00
jsteube
b9aaaf7809 Move 198xx DiskCryptor to 200xx to not collide with Kerberos 5, etype 17, Pre-Auth 2019-04-20 19:41:37 +02:00
Jens Steube
17ab30b29f
Merge pull request #1991 from brandoncasaba/master
Add hash modes 19800 (krb5pa etype 17) and 19900 (krb5pa etype 18)
2019-04-20 19:10:33 +02:00
jsteube
8b51843bb2 Mark -m 15300 and -m 1590 as unstable on AMDGPU driver 2019-04-20 18:58:01 +02:00
jsteube
926e99811c Add some more NO_UNROLL to avoid module_unstable_warnings 2019-04-20 16:36:43 +02:00
jsteube
08a74cfcb5 Add NO_UNROLL to -m 1750 for AMDGPU driver 2019-04-20 11:47:41 +02:00
jsteube
ac4f8e688a Dependencies: Updated OpenCL-Headers to latest version from GitHub master repository
Dependencies: Updated OpenCL function wrapper declarations accordingly to updated OpenCL-Headers
2019-04-20 09:34:13 +02:00
jsteube
5f3d9e08b9 Kernel Compile: Removed -cl-std= from all kernel build options since we're compatible to all OpenCL versions 2019-04-20 08:46:25 +02:00
jsteube
f424dd1edb Fix tools/install_modules.sh ro uninstall pycryptodome 2019-04-19 13:17:15 +02:00
jsteube
4548d15dde Fix spin_damp datatype 2019-04-19 12:26:37 +02:00
jsteube
5b97fe7514 Workaround volatile for -m 2500 and -m 2501 for macosx 2019-04-18 16:52:14 +02:00
jsteube
6d21c1633b Fix loop_step value in selftest.c, this also workarounds Trap 6 errors 2019-04-18 14:29:39 +02:00
Jens Steube
e7ae8e6863 Requirements: Update runtime check for minimum NVIDIA driver version from 367.x to 418.56 or later 2019-04-18 12:21:12 +02:00
Jens Steube
38c1029f2e Need volatile for IRIS GPU on Mac OSX for -m 2500 and -m 2501 2019-04-17 13:21:35 +02:00
Brandon Chalk
0a4ce19915 Merge branch 'master' of https://github.com/hashcat/hashcat 2019-04-16 10:03:05 -07:00
jsteube
56ae7fa2b8 Remove warnings no longer relevant in -m 15600 and -m 16300 2019-04-15 16:05:26 +02:00
jsteube
e0d0721109 Workaround for Page not present or supervisor privilege JiT fail on ROCM for -m 13400 2019-04-15 11:19:02 +02:00
jsteube
8e89617015 Workaround setting password length bug in ROCM and POCL for -m 10100 2019-04-15 11:14:02 +02:00
Jens Steube
1370dc4700 Limit kernel-accel in -m 11600 to 128 2019-04-14 09:29:27 +02:00
jsteube
7c6970dbdd Remove hard-coded static keyword from OpenCL kernels 2019-04-13 18:46:19 +02:00
Jens Steube
27f130ea90 Kernel Cache: Reactivate OpenCL runtime specific kernel caches 2019-04-13 14:47:41 +02:00
Jens Steube
db91876d23 Disable check for device_available_mem on Windows in combination with AMD drivers 2019-04-13 14:36:49 +02:00
philsmd
7557f884c5
outfile remove: fix hash parsing
The feature to add cracks to hashcat.outfiles/ wasn't working correctly with the latest betas because the hash:pass was not split correctly and therefore not correctly passed to the parsing function. The whole line was passed instead of only the hash.
This should fix the problem of splitting the lines and therefore correctly parsing the outfiles.

Thanks
2019-04-13 09:28:14 +02:00
jsteube
fea92595a4 Filter out 8th bit in -m 1500 password characters 2019-04-11 09:12:42 +02:00
Brandon Chalk
61ac3e3282 Minor speed and readability improvements to mode 19800 and 19900 2019-04-09 23:25:01 -07:00
Brandon Chalk
95c74c52c1 Add hash modes 19800 (krb5pa etype 17) and 19900 (krb5pa etype 18) 2019-04-09 21:58:42 -07:00
jsteube
764ca0c1c6 Add hash line separator backward compatibility for -m 16800 2019-04-09 19:13:30 +02:00
jsteube
92f4ccce93 Increase buffer size for --example-hashes output 2019-04-08 17:36:26 +02:00
ZeroBeat
c572c37637 prepare new hashline 2019-04-08 15:30:15 +02:00
jsteube
dbd8181c15 Disable stderr temporary since OpenCL runtime JiT (LLVM) prints directly to stderr when it should not 2019-04-08 14:23:02 +02:00
jsteube
28437b0ab0 Add NV inline assembly instruction set check on startup 2019-04-08 13:17:13 +02:00
jsteube
4cd98603f5 Add DiskCryptor modules for 1024 bit and 1536 and support for Serpent and Twofish. Be careful, untested yet! 2019-04-08 09:31:31 +02:00
philsmd
60c255a69d
added -m 19800 = DiskCryptor AES 2019-04-07 18:08:56 +02:00
jsteube
aed98e0795 Merge branch 'master' of https://github.com/hashcat/hashcat 2019-04-07 00:35:49 +02:00
jsteube
a22483f540 Remove some misleading error message 2019-04-07 00:35:33 +02:00
jsteube
773dab9161 Mark -m 10700 as unstable on AMDGPU driver in pure kernel mode 2019-04-06 20:06:19 +02:00
jsteube
d950918fe9 Fix missing module_jit_build_options() in -m 17300 2019-04-06 17:30:12 +02:00
jsteube
d7286e50a7 Mode 19500 on AMDGPU driver no longer produces self-test failures 2019-04-06 17:27:03 +02:00
jsteube
c911f2bd83 Fix some OpenCL JiT compiler warnings on ROCM 2019-04-06 17:24:57 +02:00
jsteube
e779c22c2c Remove some warnings no longer needed 2019-04-05 15:33:35 +02:00
jsteube
3c9d26b161 Add some conditions to make scan-build happy 2019-04-05 13:46:29 +02:00
jsteube
05a38a42b7 Initialize some values to make scan-build happy 2019-04-05 12:20:36 +02:00
jsteube
2fab28a6f3 Add some useful converters 2019-04-05 12:19:53 +02:00
jsteube
f374da11e3 Fix function pointer can be NULL 2019-04-05 09:54:55 +02:00
magnum
009cf26a04 Mute a -Wformat warning and fix some whitespace noise while at it. 2019-04-05 08:52:35 +02:00
jsteube
8008d65499 Allow -m 1800 in optimized mode on AMDGPU drivers 2019-04-04 22:06:12 +02:00
jsteube
875718fb8e Backport -m 500 pure kernel code to -m 6300 enables using it on AMDGPU driver 2019-04-04 21:05:07 +02:00
jsteube
cd88410781 Backport -m 500 pure kernel code to -m 1600 enables using it on AMDGPU driver 2019-04-04 21:02:26 +02:00
jsteube
d7d716f3ab Make it easier to include OpenCL kernels into modules 2019-04-04 20:01:37 +02:00
jsteube
9ced13cc94 Get rid of CONSTSPEC macro in OpenCL kernels 2019-04-04 10:15:34 +02:00
jsteube
13edc32fb4 Fix some unused variable warnings 2019-04-03 21:53:34 +02:00
jsteube
91d9475c11 Plugin refactorization should be finished, no more need for these flags 2019-04-03 20:55:06 +02:00
jsteube
56ecfc3991 No need to risk stability for 400k binary size 2019-04-03 20:52:49 +02:00
jsteube
5951322f72 Testcommit using ar tool in Makefile 2019-04-03 15:37:29 +02:00
Jens Steube
cf8c815caf
Merge pull request #1975 from Chick3nman/master
Add --status-json flag
2019-04-03 09:18:16 +02:00
Chick3nman
fc1aa83541 Change logic for formatting with multiple devices when some are skipped 2019-04-02 16:53:59 -05:00
Chick3nman
1cf2a4fea6 Fix type missmatch 2019-04-02 16:23:05 -05:00
Chick3nman
dc1fc28733 Fix Formatting 2019-04-02 16:10:54 -05:00
Chick3nman
5b20662c7f Fix Formatting 2019-04-02 16:10:23 -05:00
Chick3nman
5e307603d6 Fix formatting 2019-04-02 16:06:18 -05:00
Chick3nman
64f0931301 Switched key name from progress to speed 2019-04-02 15:48:15 -05:00
Chick3nman
3e13739aa6 Fix Typo 2019-04-02 15:40:27 -05:00
Chick3nman
71c02cad5e Add --speed-only and --progress-only support 2019-04-02 15:32:25 -05:00
Chick3nman
c2c656edbe Fix missing line 2019-04-02 15:00:56 -05:00
Chick3nman
e696e0a87d Fix time formatting 2019-04-02 14:59:10 -05:00
Chick3nman
b551592082 Add start and estimated end times, fix formatting 2019-04-02 14:55:05 -05:00
jsteube
d855ddaf9e Make use of need_hexify to decide if hexification is needed for ESSID in -m 16800 and -m 16801 2019-04-02 21:30:33 +02:00
jsteube
a9663cdb53 For modes 2500, 2501, 16800 and 16801, if --left is used, return original input format 2019-04-02 21:23:44 +02:00
Chick3nman
7bbf4eb183 Fixed restore point number formatting 2019-04-02 13:26:46 -05:00
Chick3nman
4d60c7514a Fixed formatting for speed and progress 2019-04-02 13:25:36 -05:00
Chick3nman
ea141f43da Formatting for json status 2019-04-02 13:11:55 -05:00
jsteube
e5322c8bee Fix --remove handling in -m 16800 and -m 16801 with new outfile format 2019-04-02 18:39:42 +02:00
jsteube
b8d609ba16 WPA/WPA2 cracking: In the potfile, replace password with PMK in order to detect already cracked networks across all WPA modes 2019-04-02 11:24:22 +02:00
jsteube
c0a31b3239 Prepare potfile specific module_hash_decode and module_hash_encode hooks 2019-04-01 12:32:11 +02:00
Jens Steube
4115e6b825 Update some unstable_warning on Intel CPU 2019-04-01 11:22:51 +02:00
jsteube
319bf80178 Fix hash_encode() salt position 2019-03-31 20:17:17 +02:00
jsteube
76bf5173ba Do not use MAYBE_UNUSED in inc_common.cl 2019-03-31 19:45:15 +02:00
jsteube
1c45de4b63 Remove more old GCC diagnostic options 2019-03-31 19:41:28 +02:00
jsteube
d3a3f10fcf Remove some old GCC diagnostic options 2019-03-31 18:06:08 +02:00
jsteube
708a86fb59 Move old ascii_digest() to hashes.c and rename it to hash_encode(), also remove some unused includes 2019-03-31 17:39:00 +02:00
jsteube
f9110c6863 Fix calculation of brute forced PIM 2019-03-30 17:03:06 +01:00
jsteube
9d774958b7 Merge branch 'master' of https://github.com/hashcat/hashcat 2019-03-30 16:56:13 +01:00
jsteube
2158fd70c9 Fix use of OPTS_TYPE_COPY_TMPS in modules 2019-03-30 16:55:55 +01:00
jsteube
d80603648e Replace plain_t with void in module_build_plain_postprocess() enables some options 2019-03-30 16:32:11 +01:00
jsteube
a7a70c88ed Mark -m 7900 as unstable on ROCM 2019-03-29 10:44:47 +01:00
jsteube
474138f4b9 No more segfaults for -m 12200 with AMDGPU driver 2019-03-29 10:36:10 +01:00
jsteube
792d61763b No more segfaults for -m 8900 and 9300 with AMDGPU driver 2019-03-29 10:29:53 +01:00
jsteube
ffd8ec9001 Fixed output password of 'e' rule in pure and cpu rule engine if separator character is also the first letter 2019-03-28 13:07:39 +01:00
jsteube
9d6d2cb2b8 Replace md5_complete_no_limit() code with functions from emu_inc_hash_md5.h 2019-03-28 09:21:32 +01:00
Chick3nman
0cc365139b Added sanity check to confirm --machine-readable and --status-json do not run at the same time.
Fixed typo in existing sanity check.
2019-03-27 06:53:34 -05:00
Chick3nman
cac6522cd7 More prep 2019-03-27 06:10:28 -05:00
jsteube
7806be32c2 Add module_unstable_warning() for several modes used with AMDGPU drivers 2019-03-27 12:05:34 +01:00
Chick3nman
81bc4b9ee9 Fixed Typo 2019-03-27 05:44:09 -05:00
Chick3nman
2358220cbe Prepare for --status_json
add option, enum, autocomplete, status function placeholders
2019-03-27 05:09:24 -05:00
Jens Steube
06dc04bf1a Use kern_type instead of hash_mode to calculate device_name_chksum 2019-03-26 13:11:26 +01:00
Jens Steube
e74e8f0234 Fix device_name_chksum calculation 2019-03-26 12:26:30 +01:00
Jens Steube
0fb3b3c83e Declare internal functions in OpenCL kernels as static 2019-03-26 11:03:25 +01:00
jsteube
69587c91dd Do not use uint if not needed 2019-03-25 21:57:10 +01:00
jsteube
2bb594b385 Remove add3() from bitops, replaced with the ones in inc_common.cl 2019-03-25 16:40:39 +01:00
jsteube
ecbd4a51c8 Add remaining emu_inc_* sources to Makefile 2019-03-25 16:15:58 +01:00
jsteube
5b667d2c01 Get rid of src/cpu_aes.c, src/cpu_des.c, src/cpu_md5.c and src/cpu_sha256.c 2019-03-25 15:54:58 +01:00
jsteube
fb8a9d7c40 Get rid of cpu_sha1.c 2019-03-25 14:08:59 +01:00
Sein Coray
21a214e26a
Merge branch 'master' of https://github.com/hashcat/hashcat 2019-03-25 12:27:33 +01:00
jsteube
66d94b06e4 Get rid of src/rp_kernel_on_cpu.c and src/rp_kernel_on_cpu_optimized.c and use OpenCL emulated kernel version 2019-03-25 12:24:04 +01:00
Sein Coray
959852a1aa
Merge branch 'master' of https://github.com/hashcat/hashcat 2019-03-25 10:47:00 +01:00
jsteube
a44bed7549 More preparation for OpenCL emulation mode 2019-03-23 22:13:59 +01:00
jsteube
0a6fc35707 Fix includes in Makefile 2019-03-22 21:58:54 +01:00
Sein Coray
3ad7d00380
removed hash constants include 2019-03-22 21:18:02 +01:00
jsteube
c9d60c079f Prepare OpenCL kernels for non-static compilation 2019-03-22 15:16:25 +01:00
jsteube
7d4bea41a0 Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl 2019-03-21 23:00:38 +01:00
Sein Coray
2da33ab0ba
fixed issue with converting more than needed and using too much memory 2019-03-21 21:12:18 +01:00
Sein Coray
97249ba1ca
added pkzip kernels 17200, 17210, 17220 and 17230 2019-03-21 20:18:39 +01:00
jsteube
aec49509b8 Make sure -T does not come in inflict with FIXED_LOCAL_SIZE 2019-03-20 10:22:26 +01:00
jsteube
f08fe1fe90 Use advanced memory allocation only on NV and AMD 2019-03-20 09:40:34 +01:00
Jens Steube
af129d32da
Merge pull request #1941 from s3inlc/master
Added hash mode 19500
2019-03-19 10:44:06 +01:00
Sein Coray
836c91c8c2
Merge branch 'master' of https://github.com/s3inlc/hashcat 2019-03-18 17:47:42 +01:00
Sein Coray
17083b8f56
applied requested final changes 2019-03-18 17:47:35 +01:00
jsteube
5ef67a8ab7 Apply previous blowfish optimization for -m 3200 also on -m 9000 and -m 18600 2019-03-18 12:42:47 +01:00
jsteube
a172ab7d8a Update unstable warnings for latest AMDGPU driver 2019-03-18 10:08:13 +01:00
Sein Coray
1143cef606
Merge branch 'master' into master 2019-03-18 09:48:09 +01:00
jsteube
ba56f41d26 Abort session if module_hash_binary_count () returns zero 2019-03-17 15:01:41 +01:00
jsteube
5ecbcde945 Cracking bcrypt: Use a feedback from the OpenCL runtime to dynamically find out optimal thread count 2019-03-17 14:17:35 +01:00
jsteube
42e440611a Fix some broken strict-aliasing rules 2019-03-17 11:09:32 +01:00
jsteube
b48056fa42 Manually unrolled cipher code fixed segmentation faults in 1536 bit variants for TC/VC with amdgpu-pro-18.50-708488-ubuntu-18.04 2019-03-16 21:46:18 +01:00
jsteube
df1ba3745a Mark -m 18600 unstable on POCL runtime 2019-03-16 16:36:26 +01:00
jsteube
e93590c11d Fix some variable names in modules 2019-03-16 13:30:53 +01:00
jsteube
218322f630 Support for inline VeraCrypt PIM Brute-Force 2019-03-15 21:48:49 +01:00
Royce Williams
2a739a86ae rewrap --keep-guessing language for console width 2019-03-13 11:15:55 -08:00
jsteube
e45e15465b Fix use of OPTS_TYPE_SUGGEST_KG 2019-03-13 20:05:30 +01:00
jsteube
b7f8b2d15e Fix use of OPTS_TYPE_SUGGEST_KG 2019-03-13 20:04:58 +01:00
Jens Steube
c99ab74001
Merge pull request #1955 from Fist0urs/krb5tgs_1718
Add hash modes 19600 (krb5tgs enctype 17) and 19700 (krb5tgs enctype 18)
2019-03-13 19:58:13 +01:00
jsteube
111889d3fc Keep Guessing: No longer automatically activate --keep-guessing for modes 9720, 9820, 14900 and 18100 2019-03-13 19:02:24 +01:00
Jens Steube
25a9cb58df
Merge pull request #1954 from Fist0urs/krb5tgs
Update krb5tgs enc 23 algorithm name + remove useless pwdump input hash format
2019-03-13 18:43:35 +01:00
Jens Steube
5e6f5c31de
Merge pull request #1952 from Chick3nman/master
Change behaviour of --keep-guessing flag
2019-03-13 18:43:09 +01:00
Fist0urs
afb010870a Add hash modes 19600 (krb5tgs enctype 17) and 19700 (krb5tgs enctype 18) 2019-03-13 17:20:04 +01:00
Fist0urs
6022443842 m 13100: remove invalid 'pwdump' input format within module 2019-03-13 17:14:16 +01:00
Fist0urs
1cc814bb42 m 13100: append algorithm to hash format name 2019-03-13 17:12:44 +01:00
Chick3nman
3c7d42079e
Update catch for --keep-guessing to include auto-enabled kernels 2019-03-13 09:17:02 -05:00
jsteube
4653447dfa Update startup message with informations on using pure OpenCL kernel 2019-03-13 06:29:24 +01:00
Chick3nman
e8b81657d7
Add warning message for --keep-guessing 2019-03-12 13:32:31 -05:00
Chick3nman
c0b3f03605
Do not remove hashes if --keep-guessing enabled 2019-03-12 12:53:44 -05:00
jsteube
6e0ef6984c Fix -m 14800 benchmark iteration count 2019-03-11 10:11:31 +01:00
jsteube
756ec0288e Some module specific trap 6 markers 2019-03-10 20:10:56 +01:00
jsteube
2809c6f3fb Some module specific trap 6 markers 2019-03-10 17:39:33 +01:00
jsteube
555bd84b4c Some module specific trap 6 markers 2019-03-10 15:33:25 +01:00
jsteube
26d7602bbd No longer need reqd_work_group_size() in OpenCL kernels since modules taken care of this using threads_min and threads_max 2019-03-10 12:13:14 +01:00
jsteube
9da14d55a2 Some module specific trap 6 markers 2019-03-10 11:50:31 +01:00
jsteube
b99d392e78 OpenCL Runtime: Disable OpenCL kernel cache on Apple for Intel CPU (throws CL_BUILD_PROGRAM_FAILURE for no reason) 2019-03-10 10:48:37 +01:00
philsmd
30fde2f759
-m 16600: currently only electrum1 and electrum2 are supported 2019-03-08 13:58:34 +01:00
Jens Steube
b585f25c8c Move more no unrolling exceptions from inc_vendor.cl to specific modules 2019-03-08 09:45:51 +01:00
Jens Steube
38cd3f18ee Mark -m 8200 as unstable on Apple OpenCL runtime 2019-03-07 22:23:30 +00:00
Jens Steube
8d146f3011 Move more no unrolling exceptions from inc_vendor.cl to specific modules 2019-03-07 20:55:18 +00:00
Jens Steube
cace799187 Move more no unrolling exceptions from inc_vendor.cl to specific modules 2019-03-07 18:57:04 +00:00
Sein Coray
ee97d18af9
Added hash mode 19500 2019-03-06 21:15:09 +01:00
jsteube
ac0559f7a4 Change the unstable_warning message to the user to make clear it's not a hashcat issue 2019-03-06 16:35:17 +01:00
jsteube
16f8c5941e Mark -m 6100,7500,8600,11700,11800,13100,18200 as unstable with AMDGPU driver in pure kernel mode 2019-03-05 09:03:47 +01:00
jsteube
4d2a0a7738 Mark -m 14400 as unstable with AMDGPU driver 2019-03-05 05:38:32 +01:00
jsteube
745baf4894 Mark -m 11750,11760,11850 and 11860 as unstable with AMDGPU driver 2019-03-05 05:31:49 +01:00
jsteube
277db2ecee Mark VeraCrypt 1536 bit variants as unstable on AMDGPU driver 2019-03-04 16:50:20 +01:00
jsteube
73d4ca14f1 Mark -m 10700 in optimized mode as unstable on Intel OpenCL runtime 2019-03-04 16:20:13 +01:00
jsteube
24f80e1ef4 Mark -m 11600 as unstable with AMDGPU driver 2019-03-04 16:16:25 +01:00
jsteube
d325413b34 Fix -m 10700 activate unstable warning only in optimized mode 2019-03-04 15:34:03 +01:00
jsteube
460153d818 Fix -m 6211,6221,6232,6233 module_unstable_warning settings 2019-03-04 15:25:32 +01:00
jsteube
0f8083a8f5 Mark -m 10100 as unstable with ROCM driver 2019-03-04 15:19:47 +01:00
jsteube
df38814d25 Mark -m 13731,13732,13733 as unstable with Intel OpenCL runtime. Note this happens only with the 18.x version. The preivous 16.x version compiles this just fine. 2019-03-04 14:53:59 +01:00
jsteube
98eb9ddf6b Fix registration of module_unstable_warning on -m 8900 2019-03-04 14:50:36 +01:00
jsteube
10f5784f7f Mark -m 6231,6232,6233 as unstable with Intel OpenCL runtime. Note this happens only with the 18.x version. The preivous 16.x version compiles this just fine. 2019-03-04 14:46:06 +01:00
jsteube
e7e16d00af Fix memory buffer double free 2019-03-04 11:34:56 +01:00
jsteube
1537fc4e5d Improve handling of temporary skipped devices (due to JiT build failure or unstable_warning) 2019-03-04 10:29:57 +01:00
jsteube
c43ef406a9 Make sure not to abort entire benchmark if a mode was marked as unstable 2019-03-03 20:11:23 +01:00
jsteube
dc9279c95c New Strategy: Instead of using volatile, mark the mode as unstable. Remove all volatiles 2019-03-03 19:18:56 +01:00
jsteube
26b9e3c1ac Fix module_kernel_threads_min and module_kernel_threads_max configuration in -m 9000 module 2019-03-03 16:07:56 +01:00
jsteube
b2fb1704ff Fix switched 64 bit optimization in DPAPI masterkey file v1/v2 2019-03-03 13:54:25 +01:00
jsteube
7c1120b784 Migrate unroll handling for -m 15900 from OpenCL/inc_vendor.cl to module_jit_build_options() 2019-03-03 13:44:25 +01:00
jsteube
1714382daa Migrate unroll handling for -m 14100 from OpenCL/inc_vendor.cl to module_jit_build_options() 2019-03-03 11:55:42 +01:00
jsteube
b0a83b28d1 Migrate unroll handling for -m 12300 from OpenCL/inc_vendor.cl to module_jit_build_options() 2019-03-03 11:47:33 +01:00
jsteube
1937b67595 Migrate unroll handling for -m 8200 from OpenCL/inc_vendor.cl to module_jit_build_options() 2019-03-03 11:43:47 +01:00
jsteube
fee37ac4c3 Migrate unroll handling for -m 8000 from OpenCL/inc_vendor.cl to module_jit_build_options() 2019-03-03 11:39:18 +01:00
jsteube
88bf330dbe Remove some old unstable warnings for macOS.
Due to new auto-tuning functionality some of these warnings may nolonger required.
Since I do not have any macOS device I can't check for myself, wait for user feedback.
Even then, these warnings have to be treated differently, first by trying to do stuff like -cl-opt-disable.
Such checks are now possible on a per-module basis and should be used first.
2019-03-03 11:21:22 +01:00
jsteube
f5317a6b27 Fix CPU thread count auto-tuning 2019-03-03 11:10:46 +01:00
jsteube
21154d6522 Add some module specific warnings for AMDGPU driver in optimized kernel mode 2019-03-02 21:18:30 +01:00
jsteube
bfdeb6eac5 Move test_instruction() to opencl_ctx_devices_init() 2019-03-02 17:58:01 +01:00
jsteube
80bbb064e5 Add some module specific warnings for Intel driver in pure kernel mode 2019-03-02 16:47:59 +01:00
jsteube
420876c85f Fix -m 8100 module_jit_build_options hook 2019-03-02 16:37:01 +01:00
jsteube
4cf1e75871 Add some module specific warnings for ROCM driver in pure kernel mode 2019-03-02 16:31:56 +01:00
jsteube
7eee7b7dbc Add some module specific warnings for AMDGPU driver in pure kernel mode 2019-03-02 16:21:55 +01:00
jsteube
88a051629c Support module specific JiT compiler build options 2019-03-02 11:12:13 +01:00
jsteube
23917455ef Added hash-mode 19300 sha1(..) 2019-02-28 20:00:52 +01:00
jsteube
5c3ad11424 Fix module_filename() on Cygwin 2019-02-27 21:21:08 +01:00
jsteube
87c24200da Added QNX /etc/shadow hash cracking support
- Added hash-mode 19000 QNX /etc/shadow (MD5)
- Added hash-mode 19100 QNX /etc/shadow (SHA256)
- Added hash-mode 19200 QNX /etc/shadow (SHA512)
Implements #35
2019-02-27 17:53:00 +01:00
jsteube
512b8ed5d6 Add some verification code to detect the "7z e" problem 2019-02-27 09:47:28 +01:00
jsteube
85f0516e81 Fix salt length limit checks for OPTS_TYPE_ST_BASE64 in generic_salt_decode 2019-02-27 09:25:50 +01:00
jsteube
5da1e4b872 Fixed maximum password length limit which was announced as 256 but actually was 255 2019-02-26 21:20:07 +01:00
jsteube
f63762e597 Reenable select_read_timeout and select_write_timeout on windows 2019-02-26 19:54:25 +01:00
jsteube
d2d1278bf7 Reenable brain support by default 2019-02-26 15:26:10 +01:00
jsteube
166f908241 Get rid of some old hack and cleanly distinguish between HL_MODE_FILE_PLAIN and HL_MODE_FILE_BINARY 2019-02-25 11:20:22 +01:00
jsteube
44cd17e7f1 Fix benchmark result for (fast) slow hashes 2019-02-24 17:47:43 +01:00
jsteube
540b405e3a Replace IS_ROCM with HAS_VPERM and HAS_VADD3 2019-02-24 10:12:48 +01:00
jsteube
25540494d6 Fixed -m 9100 base64 encoded hash output 2019-02-23 23:46:10 +01:00
jsteube
761475b224 OpenCL Runtime: Improve ROCM detection and make sure to not confuse with recent AMDGPU drivers 2019-02-23 22:50:19 +01:00
jsteube
d0d4ce9f8c Added hash-mode 18800 Blockchain, My Wallet, Second Password (SHA256) 2019-02-23 17:45:02 +01:00
Jens Steube
306d40a13a Fixed incorrect progress-only result in a special race condition 2019-02-23 12:24:32 +01:00
jsteube
11b1189e53 Fix makefile targets 2019-02-22 21:58:33 +01:00
jsteube
68d6d36761 Binary Distribution: Removed 32 bit binary executeables 2019-02-22 21:36:02 +01:00
jsteube
684256022e Small fix for -m 18900 2019-02-22 16:00:08 +01:00
jsteube
29fedf2c41 Added hash-mode 18900 Android Backup 2019-02-22 15:49:47 +01:00
jsteube
95b94b2982 Fix module symbol check 2019-02-22 13:21:37 +01:00
jsteube
b4d52e412b Rename -m 18700 to Java Object hashCode() 2019-02-22 09:30:56 +01:00
jsteube
b01038b8f4 Allow module_hash_encode() to be set to MODULE_DEFAULT if OPTS_TYPE_BINARY_HASHFILE is set. In that case return hashfile name 2019-02-22 07:00:34 +01:00
jsteube
51eb9ebff7 Added hash-mode 18700 DJB 32 2019-02-21 13:52:01 +01:00
jsteube
83b9a81704 Respect base64 padding lenghts in input tokenizer 2019-02-21 09:17:30 +01:00
jsteube
09362b77ca Merge branch 'hash-mode-plugin' of https://github.com/hashcat/hashcat into hash-mode-plugin 2019-02-20 20:35:50 +01:00
jsteube
13b99d5825 Fix module_hash_binary_parse() in -m 14600 module 2019-02-20 20:35:28 +01:00
jsteube
9fc193ce47 Bitcoin Wallet: Be more user friendly by allowing a larger data range for ckey and public_key 2019-02-20 16:20:28 +01:00
jsteube
942acb266e Update -m 12000 module and unit test for longer salts 2019-02-19 11:12:28 +01:00
jsteube
aa21c10283 Add -m 9100 unit test 2019-02-18 09:48:39 +01:00
jsteube
c500553149 Fixed salt_max in -m 2612 2019-02-17 07:36:28 +01:00
jsteube
a5336ceb72 Allocate always MAX_SALT * 2 bytes for temporary buffers going into generic_salt_encode() 2019-02-16 14:07:53 +01:00
jsteube
ba803a79ae Fix several constraints of raw modes 2019-02-16 13:37:17 +01:00
jsteube
eb0e8eed2a Fix -m 23 salt buffer size 2019-02-16 12:22:50 +01:00
philsmd
7b3ab9dbcb
fixes 7-Zip parser limits for encrypted/decrypted data lengths 2019-02-15 18:49:16 +01:00
jsteube
a027b7f2b1 Fix max salt length for -m 1441 2019-02-15 15:11:05 +01:00
jsteube
64540dee37 Limit the compiler threads, otherwise this consumes a lot of memory resources due to the new module sources 2019-02-15 09:24:30 +01:00
jsteube
72050ee796 Fix a warning in -m 3100 2019-02-14 13:17:16 +01:00
jsteube
5ef0de45df Where generic_salt_decode() is used, the generic_salt_encode() should be used, too 2019-02-14 13:05:14 +01:00
jsteube
0096f1a56b Add generic_salt_encode so we have both function types 2019-02-14 10:52:24 +01:00
jsteube
6f4b72bcd3 Rename parse_and_store_generic_salt to generic_salt_decode 2019-02-14 09:53:29 +01:00
jsteube
0b40518176 Fix some module hash output in -O mode 2019-02-13 22:08:19 +01:00
jsteube
0b1299f864 Fix -m 18300 module 2019-02-13 20:05:16 +01:00
jsteube
314d3c2f88 Add missing -m 16900 2019-02-13 14:35:33 +01:00
jsteube
e30df78b0d Fix -m 15400 output 2019-02-13 14:16:30 +01:00
jsteube
bb8827f2e0 Fixed output length in -m 101 2019-02-13 10:10:08 +01:00
jsteube
e571b890e9 Fixed length check for raw PBKDF2 modules 2019-02-13 10:03:07 +01:00
jsteube
af634750f2 Fix Joomla salt length 2019-02-13 09:37:30 +01:00
jsteube
25e4023c89 Add some missing benchmark defaults for dynamic kern_type module in -m 16500 2019-02-12 21:11:47 +01:00
jsteube
bab735b367 Get rid of hash_type variable. This hopefully reduces some confusion for new hashcat kernel developers 2019-02-12 16:02:27 +01:00
jsteube
75f7172cca Prepare remove of hash_type variable 2019-02-12 15:30:42 +01:00
jsteube
8b8cc78b69 Get rid of interface_migrate.c 2019-02-12 14:26:38 +01:00
jsteube
ea09a2462d Add -m 22, 1410, 1420, 1430, 1440, 1450, 1460, 1710, 1720, 1730, 1740, 1750, 1760 module 2019-02-12 14:24:52 +01:00
jsteube
44afd48755 Add -m 10, 20, 30, 40, 50, 60, 110, 120, 130, 140, 150, 160 module 2019-02-12 14:04:04 +01:00
jsteube
dc9c7e4027 Add -m 3710, 3800, 4010, 4110, 4300, 4400, 4500, 4520, 4521, 4522, 4700 module 2019-02-12 13:17:58 +01:00
jsteube
c584fa3646 Add -m 121, 124, 2600, 2611, 2612, 2711 and 3711 module 2019-02-12 12:37:30 +01:00
jsteube
000d6a0039 Add -m 11700, 11750, 11760, 11800, 11850 and 11860 module 2019-02-11 21:05:09 +01:00
jsteube
0e9330d700 Add -m 6000 and -m 6100 module 2019-02-11 20:46:48 +01:00
jsteube
977598b25d Add -m 4900 module 2019-02-11 20:40:27 +01:00
jsteube
e18bb5864c Add -m 10100 module 2019-02-11 20:35:21 +01:00
jsteube
dd26fd4cb9 Add -m 13900 module 2019-02-11 20:31:36 +01:00
jsteube
3cd3944bba Add -m 1722 module 2019-02-11 20:26:52 +01:00
jsteube
1776e2d111 Add -m 1711 module 2019-02-11 20:21:22 +01:00
jsteube
0fa4c024f0 Add -m 1411 module 2019-02-11 20:15:01 +01:00
jsteube
08c6e3fab2 Add -m 1421 module 2019-02-11 20:08:51 +01:00
jsteube
f640e52a35 Add -m 1441 module 2019-02-11 20:03:40 +01:00
jsteube
3f0f3576f0 Add -m 141 module 2019-02-11 17:18:37 +01:00
jsteube
e5eee5b7f6 Add -m 133 module 2019-02-11 17:08:26 +01:00
jsteube
db11c485a3 Add -m 132 module 2019-02-11 17:01:00 +01:00
jsteube
636749adb0 Add -m 131 module 2019-02-11 16:55:08 +01:00
jsteube
d4a91d2263 Add -m 125 module 2019-02-11 16:48:17 +01:00
jsteube
e3a2e6bacc Add -m 122 module 2019-02-11 16:42:34 +01:00
jsteube
b25ca86624 Add -m 1731 module 2019-02-11 16:33:42 +01:00
jsteube
b195456281 Add -m 111 module 2019-02-11 16:21:39 +01:00
jsteube
3315be52fc Add -m 11200 module 2019-02-11 16:02:18 +01:00
jsteube
aca1776aa5 Add -m 11100 module 2019-02-11 15:54:31 +01:00
jsteube
f689950e0c Remove some leftovers 2019-02-11 15:31:48 +01:00
jsteube
5a607118cc Add missing modules 2019-02-11 15:18:30 +01:00
jsteube
7432db69fa Add -m 10200 module 2019-02-11 14:39:43 +01:00
jsteube
9daaca2188 Add -m 14400 module 2019-02-11 14:25:41 +01:00
jsteube
7a7504057c Add -m 112 module 2019-02-11 13:37:30 +01:00
jsteube
f4fb9111cf Add -m 9900 module 2019-02-11 13:22:46 +01:00
jsteube
9df982382d Add -m 16600 module 2019-02-11 13:16:58 +01:00
jsteube
c16a3feabc Add -m 16500 module 2019-02-11 13:11:51 +01:00
jsteube
63f0ed45bc Add -m 16400 module 2019-02-11 12:30:37 +01:00
jsteube
9cdc27b7c2 Add -m 16300 module 2019-02-11 11:24:11 +01:00
jsteube
1454580b4f Add -m 15500 module 2019-02-11 11:13:11 +01:00
jsteube
19ec4340e3 Add -m 16200 module 2019-02-11 11:07:08 +01:00
jsteube
535a5c8b40 Add -m 16100 module 2019-02-11 11:01:59 +01:00
jsteube
dafe5bdafc Add -m 15200 module 2019-02-11 10:54:54 +01:00
jsteube
41ba9424fd Add -m 14700 and -m 14800 module 2019-02-11 10:45:54 +01:00
jsteube
444db31e3d Add -m 13800 module 2019-02-11 10:09:42 +01:00
jsteube
2bb5a9f76f Add -m 13600 module 2019-02-11 09:43:01 +01:00
jsteube
c7b424381b Add -m 13300 module 2019-02-11 09:33:46 +01:00
jsteube
d12e6e4c73 Add -m 13200 module 2019-02-11 09:29:37 +01:00
jsteube
08f1637f79 Add -m 12900 module 2019-02-11 09:24:26 +01:00
jsteube
a13f8a8704 Add -m 12800 module 2019-02-11 09:19:32 +01:00
jsteube
2b2471c420 Add -m 12700 module 2019-02-11 09:12:29 +01:00
jsteube
7b38c0f217 Add -m 12300 module 2019-02-11 08:58:28 +01:00
jsteube
ebce25dd79 Add -m 12200 module 2019-02-11 08:52:02 +01:00
jsteube
69659ee9e6 Add -m 15100 module 2019-02-10 18:24:51 +01:00
jsteube
eec67f3519 Add module -m 12100 2019-02-10 18:15:21 +01:00
jsteube
79cdcf9ec6 Add -m 12001 module 2019-02-10 18:07:16 +01:00
jsteube
ddaa21d2f1 Add -m 11900 module 2019-02-10 18:03:13 +01:00
jsteube
5727e1e712 Add -m 11400 module 2019-02-10 17:59:10 +01:00
jsteube
bce84cb17a Add -m 10900 module 2019-02-10 17:40:29 +01:00
jsteube
1cccaad681 Add -m 10700 module 2019-02-10 14:59:26 +01:00
jsteube
762abc48df Add -m 10300 module 2019-02-10 14:40:14 +01:00
jsteube
4b78802dd1 Add -m 10000 module 2019-02-10 14:32:41 +01:00
jsteube
a2d2675d43 Add -m 9500 module 2019-02-10 14:22:34 +01:00
jsteube
9ffcbf6cab Add -m 9400 module 2019-02-10 14:17:38 +01:00
jsteube
cc3169c51c Add module for -m 9200 2019-02-10 12:44:48 +01:00
jsteube
aab4b030d8 Add -m 9100 module 2019-02-10 09:52:15 +01:00
jsteube
a10837b60b Add -m 8800 module 2019-02-10 09:41:16 +01:00
jsteube
a183b5132b Fix for -m 1100 2019-02-10 09:40:52 +01:00
jsteube
a1cad1108e Add -m 8600 and -m 8700 module 2019-02-10 09:19:56 +01:00
jsteube
186f223667 Add -m 8400 module 2019-02-10 09:03:57 +01:00
jsteube
d5fae7670c Add -m 8300 module 2019-02-09 23:50:11 +01:00
jsteube
fde470b315 Add -m 8100 module 2019-02-09 23:39:01 +01:00
mhasbini
75a013edf2 Add -m 40 module 2019-02-09 20:33:34 +02:00
jsteube
9d36a30b28 Add module -m 8000 2019-02-09 18:15:25 +01:00
jsteube
b8014f459e Add module for -m 7900 2019-02-09 18:08:36 +01:00
jsteube
0cb56b7116 Add module for -m 7801 2019-02-09 17:55:24 +01:00
jsteube
d82149070a Add module for -m 7701 2019-02-09 17:47:20 +01:00
jsteube
edbdfb23b3 Add module for -m 7700 2019-02-09 17:45:22 +01:00
jsteube
bb7de5db63 Add module for -m 7000 2019-02-09 16:57:26 +01:00
jsteube
9d1d05d85d Add module for -m 7400 2019-02-09 16:56:36 +01:00
jsteube
3faf9116ce Add module for -m 7400 2019-02-09 16:51:18 +01:00
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