1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-27 08:58:10 +00:00
Commit Graph

612 Commits

Author SHA1 Message Date
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
Jens Steube
fc1be6bb85 Fix issue #150 2016-06-06 00:32:03 +02:00
jsteube
04dfe6e89e Fix -m 12500 by limiting max. length to 20; Limit fake rule copy in autotune() to it's max size 2016-06-01 22:56:33 +02:00
jsteube
2213786618 Increase Domain Cached Credentials (DCC), MS Cache cracking performance 2016-05-28 15:36:04 +02:00
jsteube
333ca26f21 Increase Oracle T: Type (Oracle 12+) cracking performance 2016-05-28 13:02:21 +02:00
jsteube
a720195686 Increase AIX {ssha512} cracking performance
Remove unrolling for 7100, 7200, 12100 and 8200: High-End GPUs didn't like it
2016-05-28 12:30:39 +02:00
jsteube
072988f26c Increase PBKDF2-HMAC-SHA512 cracking performance 2016-05-28 00:25:41 +02:00
jsteube
2ec7429dea Increase 1Password, cloudkeychain cracking performance 2016-05-27 23:59:52 +02:00
jsteube
e279e0c2b3 Improve GOST R 34.11-2012 (Streebog) speed 2016-05-26 19:47:01 +02:00
jsteube
f843c6a4d0 Improve Lotus Notes/Domino 5 performance 2016-05-26 19:30:09 +02:00
jsteube
dfc9a5ff61 Improve Lotus Notes/Domino 6 performance 2016-05-26 18:59:36 +02:00
jsteube
2dd8156d24 Introduce a true memset kernel, currently operates on 16 byte per item 2016-05-26 16:45:52 +02:00
Jens Steube
2899f53a15 Move files from include/ to OpenCL/ if they are used within kernels
Rename includes in OpenCL so that it's easier to recognize them as such
2016-05-25 23:04:26 +02:00
jsteube
c4333c4025 Get SHA256 KDF for VeraCrypt to work 2016-05-21 21:23:22 +02:00
jsteube
763fd6e18b Merge branch 'master' of https://github.com/hashcat/oclHashcat 2016-05-21 11:00:16 +02:00
jsteube
df3f4a439a We can safely replace atomic_add() with atomic_inc() 2016-05-21 10:58:58 +02:00
Jens Steube
c6c865e32e Some final fixes for d_return_buf refactorization; Initial kernels vor veracrypts SHA256 KDF (not working) 2016-05-21 00:39:22 +02:00
jsteube
f2598025c6 Some fixes for rare kernels 2016-05-20 19:05:54 +02:00
Jens Steube
37953cdc8f Optimize handling of cracked hashes, was a bottleneck if too many at once 2016-05-20 18:24:33 +02:00
Jens Steube
d37b6c6c30 Prepare for VeraCrypt integration 2016-05-19 20:53:17 +02:00
Jens Steube
247d193146 Get rid of some JIT compiler warnings 2016-05-18 11:18:31 +02:00
Jens Steube
9e92c9c4d9 Fix types_ocl.c to solve issue https://github.com/hashcat/oclHashcat/issues/344 2016-05-18 09:35:51 +02:00
Jens Steube
de2074dfaa Fix for -m 2500, see: https://github.com/hashcat/oclHashcat/issues/339 2016-05-17 18:21:37 +02:00
jsteube
b5cb29ad1c Minimal psafe2 increase and autotune fix 2016-05-16 21:30:21 +02:00
jsteube
e46aa7103a Fix some macros for NV 2016-05-16 20:30:39 +02:00
jsteube
eea3424c38 Added SIMD code for all generic PBKDF2-HMAC-* modes 2016-05-15 19:54:56 +02:00
Jens Steube
5987029441 Added SIMD code for DCC2 2016-05-15 01:13:09 +02:00
Jens Steube
0ddb264a5a Use packv() and unpackv() for slow hash SIMD handling in kernels 2016-05-15 00:37:46 +02:00
Jens Steube
9d74f2958d Added SIMD code for WPA/WPA2 2016-05-14 19:45:51 +02:00
Jens Steube
0891989404 Fix WinZip multihash 2016-05-12 13:05:12 +02:00
Jens Steube
7a4ab2b42d Prepare for WinZip integration 2016-05-12 09:26:54 +02:00
jsteube
e47030ed7d Prepare to rename project into hashcat
This release markes the fusion of "hashcat" and "oclHashcat" into "hashcat".
It combines all features of all hashcat projects in one project.
2016-05-10 19:07:07 +02:00
jsteube
c19779dedf Switch back -m 7400 to old version 2016-05-09 23:35:25 +02:00
jsteube
9390be8594 Use real registers for salt, high-end maxwells didn't like it with global memory access 2016-05-09 23:07:23 +02:00
jsteube
373d2b9882 Remove barrier from DCC1, high-end maxwells didn't like it 2016-05-09 21:51:36 +02:00
jsteube
c79bed3b7d Prepare for a more dynamic #pragma unroll use 2016-05-09 21:32:12 +02:00
jsteube
34c3557d50 Fix compiler warnings 2016-05-09 19:23:37 +02:00
Jens Steube
941e016378 Fix -m 9000 performance for AMD 2016-05-09 09:40:57 +02:00
jsteube
a0221cd368 Fix broken -m 1500 and -m 3000 2016-05-09 09:17:59 +02:00
jsteube
6dac6b409e Add compiler kernel hints for algorithms with fixed workgroup size 2016-05-09 00:58:04 +02:00
jsteube
71c31fca59 Rewrote sha256crypt from scratch 2016-05-08 22:56:36 +02:00