1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-25 16:08:18 +00:00
Commit Graph

475 Commits

Author SHA1 Message Date
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
jsteube
fd77a098c5 Another some unroll to reduce register pressure 2016-05-08 18:57:44 +02:00
jsteube
bd1f555c9c Remove some unroll to reduce register pressure 2016-05-08 18:29:54 +02:00
jsteube
303cfcae15 Enable unrolling of SHA512 with HMAC on NV 2016-05-08 16:07:40 +02:00
Jens Steube
7f04a89f77 Optimize out the swap32() of sha256 in 7zip 2016-05-08 15:33:32 +02:00
jsteube
16af77af18 Extended password length up to 32 for 7zip 2016-05-08 14:39:44 +02:00
jsteube
6d027e77f2 Optimize some macros
Use rotate() instead of inline asm; breaks Titan speed
2016-05-08 11:09:44 +02:00
jsteube
89dcaeb76d Replace SHL+ADD with MAD 2016-05-07 23:51:37 +02:00
jsteube
8141c7fb60 Little bit inline assembly for the older nvidia cards 2016-05-07 20:45:16 +02:00
jsteube
006f5252b7 Optimize a few modes for hashcat_tuning.hctab for budget NV cards
Little experiment with MD4 based optimizations on -m 900 -m 1000 and -m 1100
Fix benchmark in case user fixes -u and -n values
2016-05-07 13:15:21 +02:00
Jens Steube
c40bf412e5 Fix -m 8500: volatile no longer required 2016-05-06 11:44:28 +02:00
Jens Steube
72e3821a4c Simplify auto-tuning and benchmark routines
Decrease the time it takes to run a benchmark
Removed --benchmark-repeat, it creates no advantage
Fix some wording related to drivers
Dropped special 64-bit rotate() handling for NV
Cleanup SHA384
Cleanup try_run()
2016-05-05 23:21:15 +02:00
Jens Steube
8316210233 Unlock kernel_threads > 64 2016-05-04 00:52:53 +02:00
jsteube
dbe2d96618 Fix -m 1500 multihash and benchmark
Fix -m  3000 multihash and benchmark
Fix -m  3100 multihash and benchmark
Fix -m  7700 multihash and benchmark
Fix -m  8500 multihash and benchmark
Fix -m 11500 multihash and benchmark
2016-05-03 10:57:23 +02:00
jsteube
c7b67376a8 Fix -m 200 multihash and benchmark 2016-05-03 10:39:09 +02:00
jsteube
518fcb387a Fix -m 10100 multihash and benchmark 2016-05-03 10:23:32 +02:00
jsteube
c0a38846e3 Fix -m 5100 multihash and benchmark 2016-05-03 10:14:53 +02:00
Jens Steube
0b3743ce94 - Added inline declaration to functions from simd.c, common.c, rp.c and types_ocl.c to increase performance
- Dropped static declaration from functions in all kernel to achieve OpenCL 1.1 compatibility
- Added -cl-std=CL1.1 to all kernel build options
- Created environment variable to inform NVidia OpenCL runtime to not create its own kernel cache
- Created environment variable to inform pocl OpenCL runtime to not create its own kernel cache
2016-05-01 23:15:26 +02:00
jsteube
9b3d18f87d SIMD for slow hashes prototype 2016-05-01 18:34:59 +02:00
Jens Steube
012275e873 Merge branch 'master' of https://github.com/hashcat/oclHashcat 2016-04-29 03:29:25 +02:00
Jens Steube
d7a90f9579 Fix missing multihash support for -m 3100 2016-04-29 03:28:55 +02:00
Jens Steube
abce366d00 Fixed -m 13500 kernels and tests 2016-04-28 22:23:02 +02:00
Jens Steube
1ccb643fba Fix variable name typo in -m 13500 2016-04-27 14:03:28 +02:00
Jens Steube
aef8dc2b01 First working version of -m 13500 2016-04-26 22:45:23 +02:00
Jens Steube
9294aaccae Merge pull request #311 from fgaudreault/master
Adding parser and basic kernels for -m 13500
2016-04-26 20:12:33 +02:00
Jens Steube
7cbce12ea7 Add platform vendor_id detection 2016-04-26 13:59:14 +02:00
Jens Steube
15d7e41d68 Fix broken #ifdef in types_ocl.c 2016-04-25 07:10:02 +02:00
Jens Steube
81b19ddc7d Remove no longer needed allx() macro 2016-04-25 07:05:47 +02:00
Jens Steube
c0d0ef60a5 Replace minus with select give a small boost in speed for -m 1500 and -m 3000 2016-04-24 20:52:21 +02:00
Jens Steube
50ea3a88dd Merge pull request #305 from neheb/master
Disable AMD optimizations for LLVM
2016-04-24 15:18:17 +02:00
Jens Steube
01baa89bc0 Fix -m 3000 cracking performance
Fix -m 1500 cracking performance
2016-04-23 22:29:29 +02:00
Jens Steube
7ab180c868 Fix -m 200 cracking performance 2016-04-23 20:52:16 +02:00
Mangix
530651e96a Disable AMD optimizations for LLVM 2016-04-22 20:22:28 -07:00
Francois Gaudreault
2df81367df Adding parser and basic kernels for -m 134 2016-04-21 13:22:05 -04:00
jsteube
ad01afeeb8 Fix -m 5000 performance on NV after change to new standard 2016-04-21 09:01:31 +02:00
Fist0urs
9e8b7a1d9a -m 13400 Increased max kdb size to 300KB 2016-04-18 18:27:51 +02:00
Jens Steube
23efa03209 Cleanup -m 131xx kernels to latest standard 2016-04-18 16:52:11 +02:00
Jens Steube
3066fbf00d Cleanup -m 126xx kernels to latest standard 2016-04-18 16:44:54 +02:00