jsteube
617dbb97ba
Prepare migration -m 15800 into -m 2500
7 years ago
jsteube
2b4be5d093
Move AMD ROCm driver check out of a --force condition
7 years ago
Jens Steube
3e597f4c7b
Revert use of zero-copy for main password buffer using CL_MEM_ALLOC_HOST_PTR and hc_clEnqueueMapBuffer()
...
Caused problems with WPA cracking performance on NVidia when not using rules
7 years ago
Jens Steube
8fb583f0a7
Simplify kernel thread calculation for SCRYPT based algorithms
7 years ago
jsteube
86f67517a0
Allow higher number of kernel_loops for -a 0 mode in case they are slow hashes
7 years ago
jsteube
35a24df55e
Fixed an integer overflow in hash buffer size calculation
7 years ago
jsteube
2bc2137203
Remove some debugging statement
7 years ago
jsteube
688a580d6c
Fixed an integer overflow in innerloop_step and innerloop_cnt variables
7 years ago
jsteube
1d04de3a8e
Limit kernel-loops in straight-mode to 256, therefore allow rules to be stored in constant memory
7 years ago
jsteube
51372438fe
Allow OpenCL kernel inline assembly if ROCm drivers was detected
7 years ago
jsteube
18c8de3428
Use zero-copy for main password buffer using CL_MEM_ALLOC_HOST_PTR and hc_clEnqueueMapBuffer()
7 years ago
jsteube
12d95fd22c
Added option --example-hashes to show an example hash for each hash-mode
7 years ago
jsteube
1432446734
Fix initialization of size_pws_amp
7 years ago
jsteube
58d1dedd1e
OpenCL Buffers: Do not allocate memory for amplifiers for fast hashes, it's simply not needed
7 years ago
jsteube
319799bbbf
Switch the datatypes of the variables responsible for work-item count and work-item size from u32 to u64
7 years ago
jsteube
c8da13c3aa
Update default scrypt tmto to be ideal for latest NV and AMD top models
7 years ago
jsteube
9a46442a80
Fix CPU performance for slow hashes with SIMD
7 years ago
jsteube
0dcec01623
Make size_t what size_t is
7 years ago
jsteube
34d882a116
Rename inc_rp.X to inc_rp_optimized.X
7 years ago
jsteube
f5ee3db5a6
Update cpu rule engine to support passwords up to length 256
7 years ago
jsteube
6379e76bc8
No need for handling OPTS_TYPE_PT_ADD80 and OPTS_TYPE_PT_ADD01 in non-optimized combinator mode
7 years ago
jsteube
a0b30dc9a3
Forcing OpenCL 1.2 no longer needed; all OpenCL runtimes updated
7 years ago
jsteube
f6f22f6616
Use a different cache hash for amp and mp kernel
7 years ago
jsteube
b847bbb274
Fix calculation of device_name_chksum; should be done for each iteration
7 years ago
jsteube
03bb234045
Preparation for WPA/WPA2 AES-CMAC: works till PMK
7 years ago
jsteube
beb6ee2061
Add OPTI_TYPE_OPTIMIZED_KERNEL
...
Rename unconverted fast hash kernels to optimized kernels
Finalize some converted fast hashes to default kernels
7 years ago
jsteube
fbea72ebd6
Renamed default kernels to optimized kernels
...
Renamed pure kernels to default kernels
Replaced long option --length-limit-disable with --optimized-kernel-enable
Replaced short option -L with -O
Set --optimized-kernel-enable to unset by default
7 years ago
Jens Steube
04bb6a46ef
There's a problem with Intels OpenCL runtime. The JiT hangs while trying to compile, for example mode 1700 in -L mode.
...
Disabling the OpenCL optimization using -cl-opt-disable helped.
While doing so, it turned out that there's many algorithms that _benefit_ from disabling the compiler optimizations.
Other are not.
Full list: https://docs.google.com/spreadsheets/d/1w0wZtHsP8ql4JLDRnm3zqi8JyMSBk9zzpXXjQz84Fwc/edit?usp=sharing
7 years ago
jsteube
99f58f90a4
Fix some compiler warning on unused variables
7 years ago
jsteube
8fe0a36b30
OpenCL Runtime: Updated AMD ROCm driver version check, warn if version < 1.1
7 years ago
jsteube
a1e3b20902
Add ROCm to the list of supported AMD platforms
7 years ago
jsteube
8abd7ae9d1
Fix some old GCC compiler warnings
7 years ago
jsteube
fc100a852b
Added hash-mode 2501 = WPA/WPA2 PMK
...
Fixes https://github.com/hashcat/hashcat/issues/1287
Limited hash-mode 2500 to max length 63
Fixes https://github.com/hashcat/hashcat/issues/1286
7 years ago
jsteube
52c1e15f3f
Move kernel-code for -L to standalone files with -pure suffix
7 years ago
jsteube
f97c0d38d7
Allow using -L with -a 7 (other modes need no modification) for fast hashes
7 years ago
jsteube
f7a8e7c54b
Multiple changes:
...
* Added more preparations to support to crack passwords and salts up to length 256
* Added option --length-limit-disable to disable optimization based on password- and salt-length
* Added option --self-test-disable to disable self-test functionality on startup
7 years ago
jsteube
c918173fcf
Get rid of comb_t which can be safely replace with pw_t now
7 years ago
Jens Steube
8d93b160c4
Combinator mode for slow hashes wasn't set since self-test functionality was added
7 years ago
jsteube
4174f06008
PoC using a length-independant MD4 hash processing in -m 2100
7 years ago
jsteube
a673aee037
Very hot commit, continue reading here:
...
This is a test commit using buffers large enough to handle both passwords and salts up to length 256.
It requires changes to the kernel code, which is not included in here.
It also requires some of the host code to be modified. Before we're going to modify kernel code to support the larger lengths I want to be
sure of:
1. Host code modification is ok (no overflows or underflows)
2. Passwords and Salts are printed correctly to status, outfile, show, left, etc.
3. Performance does not change (or only very minimal)
This is not a patch that supports actual cracking both passwords and salts up to length 256, but it can not fail anyway.
If if it does, there's no reason to continue to add support for both passwords and salts up to length 256.
7 years ago
jsteube
94a35ae50a
Add support for hooks in selftest function
7 years ago
Jens Steube
08fc0ec1fb
Added self-test funcionality for OpenCL kernels on startup
...
Fixed a parser error for mode -m 9820 = MS Office <= 2003 $3, SHA1 + RC4, collider #2
7 years ago
Jens Steube
5be3840d9a
Add some hint for the user to a scrypt error message
7 years ago
Royce Williams
3fc185a66b
tidy changes.txt and name normalizations
7 years ago
Jens Steube
3d888b6b2d
it's possible to crack scrypt on GPU even with higher scrypt setting
...
the trick is to intentionally under-utilize the GPU warps
120H/s on my 4*1080: https://pastebin.com/z124G2cN
7 years ago
Jens Steube
b23ab71d5c
- Added hash-mode 15600 = Ethereum Wallet, PBKDF2-HMAC-SHA256
...
- Added hash-mode 15700 = Ethereum Wallet, PBKDF2-SCRYPT
Resolves https://github.com/hashcat/hashcat/issues/1227
Resolves https://github.com/hashcat/hashcat/issues/1228
7 years ago
Jens Steube
ab2610d9df
Also add reduced startup time for GPU for scrypt
7 years ago
Jens Steube
872f2b4f8b
Improve scrypt cracking speed on CPU by 20%, preparation for Ethereum KDF
7 years ago
jsteube
b5f149476d
Trim OpenCL device name whitespaces
7 years ago
jsteube
318ba234f8
OpenCL Runtime: Updated AMDGPU-Pro driver version check, do warn if version 17.10 is detected which is known to be broken
8 years ago