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

3501 Commits

Author SHA1 Message Date
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
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