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

652 Commits

Author SHA1 Message Date
Gabriele Gristina
63ef660198 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:25 +01:00
Gabriele Gristina
c46c5c6d87 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:25 +01:00
Gabriele Gristina
900d8fdf38 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:25 +01:00
Gabriele Gristina
f8061465bb Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:25 +01:00
Gabriele Gristina
2ac7fdcda9 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:25 +01:00
Gabriele Gristina
397f0b9647 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:25 +01:00
Gabriele Gristina
a63ae2ea67 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:25 +01:00
Gabriele Gristina
b4436a0555 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:25 +01:00
Gabriele Gristina
c5430ecd8e Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:25 +01:00
Gabriele Gristina
07a087307d Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:25 +01:00
Gabriele Gristina
a2e3afb6c1 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:25 +01:00
Gabriele Gristina
b2bf6f17c2 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:25 +01:00
Gabriele Gristina
fdb824f45e Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:25 +01:00
Gabriele Gristina
ac7cb2b5ed Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:25 +01:00
Gabriele Gristina
40637133c7 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:25 +01:00
Gabriele Gristina
647956c50b Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:25 +01:00
Gabriele Gristina
8a82d848aa Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
0bd378a624 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
82e9a41b2c Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
5b202f22a8 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
0200d04ce1 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
827c7f7ff8 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
b5179ac87b Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
fcaf62c0f5 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
0af5f4c260 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
d5ce0f5b88 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
f7ab2e002a Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
565a9373ce Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
f4305855a0 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
1349b72fce Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
b83da2998a Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
41d26fc855 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
8084a4fa34 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
b27e96e675 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:24 +01:00
Gabriele Gristina
efe8bcee13 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
acda1f49e4 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
1ac468b9cd Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
60c3514e0b Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
d10a0c3c97 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
c0139965e7 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
cdd06466b1 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
410a0d3a19 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
0e1fffa197 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
379e087ef9 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
25154e15c6 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
090bc19f0a Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
cc0a56c954 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
ecff3d6446 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
da00e698e5 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
3babd4ce8a Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
dff1beb564 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
7281d19cb7 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
9a701a222f Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:23 +01:00
Gabriele Gristina
47c6121c4c Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:22 +01:00
Gabriele Gristina
74c4eda946 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:22 +01:00
Gabriele Gristina
c9a5e43e66 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:22 +01:00
Gabriele Gristina
561ae246dc Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:22 +01:00
Gabriele Gristina
748e4a12f4 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:22 +01:00
Gabriele Gristina
f4507a8ec2 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:22 +01:00
Gabriele Gristina
afd72ae237 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:22 +01:00
Gabriele Gristina
2e41b5587f Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:22 +01:00
Gabriele Gristina
d9a201f1a9 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:22 +01:00
Gabriele Gristina
1deea4acf1 Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:22 +01:00
Gabriele Gristina
84c988a71a Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:22 +01:00
Gabriele Gristina
1b2b85704b Fix kernel build warnings (no previous prototypes and/or incompatible function parameters ... 2016-11-27 23:59:22 +01:00
jsteube
da503c897a Seems to be safe to use bitselect() on NVidia now 2016-11-27 13:47:52 +01:00
Gabriele Gristina
6c7d10604e Fixed 'Compile Server Error' errors when build 6213/6223/6233/6243 opencl kernels on OSX 2016-11-26 22:38:55 +01:00
jsteube
425031c9c3 Improved SAP CODVN F/G password cracking performance by working around byte endian swaps 2016-11-26 17:17:26 +01:00
jsteube
899413f88b Allow unroll of Android FDE (Samsung DEK) on NV 2016-11-25 22:24:14 +01:00
jsteube
ac02c60b3f Do not allow unroll of Drupal7, but for NV only 2016-11-25 22:12:54 +01:00
jsteube
ee2e8ba598 Do not allow unroll of Drupal7, increases performance on CL1.2 2016-11-25 22:09:19 +01:00
jsteube
0de908905f Allow unroll of PBKDF2-HMAC-SHA256 on NV 2016-11-25 22:04:24 +01:00
jsteube
56154f9f2f Refactor AES implementation to run fast on CL1.2 as well 2016-11-25 21:40:21 +01:00
jsteube
90f0aec707 Fixed a bug in hash-mode 11600 = (7-Zip) producing clEnqueueReadBuffer(): CL_INVALID_VALUE depending on input hash 2016-11-24 18:13:47 +01:00
Jens Steube
7fe575e204 Add const qualifier to variable declaration of matching global memory objects 2016-11-22 20:20:34 +01:00
jsteube
0206142a69 Bcrypt on NVIDIA works better when unrolled 2016-11-19 18:17:38 +01:00
jsteube
834a6c296b Do not use a struct for constants in -m 5800 to enable pocl to compile the kernel 2016-11-17 18:31:21 +01:00
Jens Steube
b670e57a5a Merge pull request #593 from matrix/m10420_osx
Fix m10420 OSX build error
2016-11-16 09:52:01 +01:00
Gabriele Gristina
bc11cd29d4 Fix m10420 OSX build error 2016-11-15 19:24:23 +01:00
Jens Steube
aea5892c59 Merge pull request #592 from matrix/m04500_osx
Fix m04500 OSX build error
2016-11-15 09:53:27 +01:00
Jens Steube
0db5789b10 Merge pull request #591 from matrix/m04700_osx
Fix m04700 OSX build error
2016-11-15 09:53:19 +01:00
Jens Steube
0ec3e356f2 Merge pull request #590 from matrix/m04400_osx
Fix m04400 OSX build error
2016-11-15 09:53:13 +01:00
Jens Steube
ce0f806c84 Merge pull request #589 from matrix/m14400_osx
Fix m14400 OSX build error
2016-11-15 09:53:05 +01:00
Jens Steube
6784202866 Merge pull request #588 from matrix/m13800_osx
Fix m13800 OSX build error
2016-11-15 09:52:59 +01:00
Gabriele Gristina
aa5a0c14b6 Fix m04500 OSX build error 2016-11-15 00:19:17 +01:00
Gabriele Gristina
c735cf746c Fix m04700 OSX build error 2016-11-15 00:15:32 +01:00
Gabriele Gristina
2ef354fa63 Fix m04400 OSX build error 2016-11-15 00:11:45 +01:00
Gabriele Gristina
bce0e658b9 Fix m14400 OSX build error 2016-11-14 23:54:57 +01:00
Gabriele Gristina
0729c1a172 Fix m13800 OSX build error 2016-11-14 23:49:23 +01:00
Gabriele Gristina
96a03a8f7b Fix m01100 OSX build error 2016-11-14 23:41:51 +01:00
Jens Steube
badf05adfa Merge pull request #584 from matrix/master
Fix CL_BUILD_PROGRAM_FAILURE on OSX (#412)
2016-11-14 20:26:04 +01:00
jsteube
d3c130a3ae Fix typo in array index number 2016-11-14 20:12:44 +01:00
Gabriele Gristina
246336c49c Fix CL_BUILD_PROGRAM_FAILURE on OSX (#412) 2016-11-14 19:28:07 +01:00
jsteube
abd1a7098d Merge branch 'master' of https://github.com/hashcat/hashcat 2016-11-14 10:50:54 +01:00
jsteube
91a69fa635 Experiment to fix https://github.com/hashcat/hashcat/issues/412 2016-11-14 10:50:47 +01:00
jsteube
5afdf7bf85 Switch to S-boxes making use of a vector conditional select operation for AMD and generic 2016-11-14 02:19:26 +01:00
jsteube
59730fb908 descrypt cracking speed boost on AMD 2016-11-14 01:10:56 +01:00
jsteube
92f7a560a7 Optimize DES/LM cracking speed boost on AMD 2016-11-14 00:56:35 +01:00
jsteube
31a616e00e Add a shared section in inc_vendor.cl 2016-11-13 20:58:28 +01:00
jsteube
cb6e2107b6 Merge branch 'master' of https://github.com/hashcat/hashcat 2016-11-12 22:31:36 +01:00
jsteube
0c5d32c455 Fix https://github.com/hashcat/hashcat/issues/579 2016-11-12 22:31:20 +01:00
jsteube
306fc8a59a Optimize unrolling for AMD based on AMDGPU-Pro 16.40 2016-11-12 21:20:03 +01:00
jsteube
ac44087c83 Optimize unrolling for AMD based on AMDGPU-Pro 16.40 2016-11-12 20:23:15 +01:00
jsteube
d081ac2ba1 Fix some uninitialized variables in rp_kernel_on_cpu.c 2016-11-12 16:30:21 +01:00
jsteube
2bda020c83 Added new hash-mode 14400 = SHA1(CX)
Details: https://github.com/hashcat/hashcat/issues/554
2016-11-12 11:39:38 +01:00
jsteube
1ed89eb261 Fix rule-engine optimizations for vector datatypes 2016-11-06 12:25:38 +01:00
jsteube
faf6f1932d Optimize append_block8() 2016-11-05 16:32:59 +01:00
Jens Steube
6fdb2bfca4 Fix some header in inc_common.cl 2016-11-03 20:08:57 +01:00
jsteube
bd12a1eb0d Optimize rule_op_mangle_dupechar_last() 2016-11-01 14:54:45 +01:00
jsteube
03fde2cdc3 Optimize rule_op_mangle_delete_last() 2016-11-01 14:50:54 +01:00
jsteube
a4f7ba2c60 Optimize rule_op_mangle_rotate_right() 2016-11-01 14:44:35 +01:00
jsteube
9038955bc6 Optimize rule_op_mangle_rotate_left() 2016-11-01 14:35:51 +01:00
jsteube
f3dd6fe741 Some cleanup before going to optimize more code in inc_rp.c 2016-11-01 13:01:15 +01:00
jsteube
ae5109a5a2 Optimize $ (append) rule performance 2016-11-01 03:22:55 +01:00
jsteube
7f234bad24 Optimize 0x01, 0x02 and 0x80 handling in inc_common.c even more 2016-11-01 03:21:45 +01:00
jsteube
492f9f2290 For some easy actions, maxwell GPU prefer not to use switch() 2016-10-31 14:22:00 +01:00
jsteube
8d1809cacb Fix slow-hash-simd exits in _loop kernels 2016-10-29 13:49:08 +02:00
jsteube
8cfb1f03ab Workaround to enable use of amd-gpu-pro 2016-10-21 16:02:13 +02:00
jsteube
f58c9baade Do not unroll -m 6800 based algorithm on NV, latest windows driver can't compile them otherwise 2016-10-21 10:14:15 +02:00
jsteube
a43902b96b Do not unroll -m 6400 based algorithm on NV, latest windows driver can't compile them otherwise 2016-10-21 09:51:41 +02:00
jsteube
e9b11c2951 Do not unroll scrypt based algorithm on NV, latest windows driver can't compile them otherwise 2016-10-20 22:53:47 +02:00
jsteube
5b26567cb6 Do not unroll -m 10900 based algorithms, it takes ages to compile with latest NV drivers 2016-10-20 11:02:45 +02:00
jsteube
d3d9b4e679 Reduce max. number of allowed function calls per rule from 256 to 32 to save GPU memory 2016-09-22 22:54:20 +02:00
jsteube
f273d4771b Fix missing pwlen copy in amp_a0 2016-09-16 23:56:05 +02:00
jsteube
30371bef10 Allow words of length > 32 in wordlists for -a 0 for slow hashes if no rules are in use or a : rule is in the rulefile 2016-09-14 17:40:39 +02:00
jsteube
3daf0af480 Added docs/credits.txt
Added docs/team.txt
2016-09-11 22:20:15 +02:00
jsteube
4b79ccd416 Preparation for easier integration of:
* https://github.com/hashcat/hashcat/pull/485
* https://github.com/hashcat/hashcat/pull/486
2016-09-05 21:47:26 +02:00
jsteube
2216920866 replaced macros with enums and static const char types
also had to move COMBINATOR_MODE defenition from inc_hash_constants.h to inc_types.cl to avoid conflicts
based on d57d9245db
2016-09-05 13:52:47 +02:00
jsteube
dc30176993 Fix enum type name 2016-09-02 11:17:20 +02:00
jsteube
200938ca42 Replaced uints with enums types
Based on https://github.com/hashcat/hashcat/pull/467
2016-09-02 11:14:02 +02:00
Jens Steube
a267c61fbb switch from clz() to ffz() for bitsliced algorithms 2016-08-31 13:35:08 +02:00
jsteube
71a8459d85 Two new modes added:
* Added new hash-mode 14000 = DES (PT = $salt, key = $pass)
* Added new hash-mode 14100 = 3DES (PT = $salt, key = $pass)
This patch initial was created out of this PR: https://github.com/hashcat/hashcat/pull/452 which is now no longer required
I've replace the -a 3 kernel with a bitsliced version which is around 10 times faster
I've also added test.sh and test.pl patches, but some of the test scripts need to be fixed
2016-08-30 17:44:14 +02:00
jsteube
ebc1f83c93 New SHA2 meet-in-the-middle optimization, reduces 7/64 steps of SHA256 and should also work with SHA224/SHA384/SHA512 2016-08-20 21:42:32 +02:00
jsteube
d7f078cb45 Eventual workaround for https://github.com/hashcat/hashcat/issues/456 2016-08-18 13:11:29 +02:00
Michael Sprecher
602e392b80
Fixed a bug where some kernels used COMPARE_M_SIMD instead of COMPARE_S_SIMD in singlehash mode 2016-08-17 20:23:25 +02:00
Michael Sprecher
7593db9483
Added new hash-mode 13900 = OpenCart 2016-08-02 15:00:58 +02:00
jsteube
8acf5b3879 Add support for @ rule (RULE_OP_MANGLE_PURGECHAR) to use on GPU 2016-07-25 22:54:07 +02:00
jsteube
0154d636bf Slightly increased NVidias rule-processing performance by using generic instructions instead of byte_perm() 2016-07-25 21:51:04 +02:00
jsteube
5caf32447e Some experiment. This should increase rule-based cracking on nvidia slightly 2016-07-19 21:07:30 +02:00
Jens Steube
62390b9cfa Fixed a bug where hashcat reported an invalid password for a zero-length password in LM
Fixes https://github.com/hashcat/hashcat/issues/434
2016-07-15 13:30:25 +02:00
jsteube
8702d0e3e1 Workaround memory allocation limit from OpenCL by using multiple buffers for scrypt 2016-06-28 11:03:04 +02:00
jsteube
4ed8977e48 Dynamic tmp_t length for scrypt 2016-06-27 21:28:48 +02:00
Jens Steube
ed1863c263 Move macros DGST_R0 - DGST_R3 to host, define dgst_size for opencl kernel from host; both at runtime 2016-06-26 23:39:42 +02:00
jsteube
0e68b2af25 Don't use device_processor_cores for scrypt 2016-06-26 22:59:52 +02:00
Jens Steube
8298cd4926 Drop -m 190, no reason to keep it 2016-06-23 18:20:55 +02:00
jsteube
e4f2002e53 Add missing -m 2000 kernels 2016-06-19 14:37:47 +02:00
jsteube
5542e46022 Added option --stdout to print candidates instead of trying to crack a hash 2016-06-14 21:49:33 +02:00
Jens Steube
3022abf956 some axcrypt fixes 2016-06-11 23:08:33 +02:00
jsteube
58296e1ecf Fix a bug in -m 1500, returned invalid plain is cracking slice was not 0 2016-06-10 17:48:04 +02:00
jsteube
b9eefd9b20 Added new hash-mode 13800 = Windows 8+ phone PIN/Password 2016-06-10 09:46:41 +02:00