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

3492 Commits

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