jsteube
5633d6808f
Move hash_mode specific code which enforce the use of the JiT compiler to modules
6 years ago
jsteube
4028bae578
Use dynloader.c instead of dlopen() directly
6 years ago
jsteube
ac55386553
Get rid of hash_mode in selftest.c
6 years ago
Jens Steube
9c0a1a53df
Merge pull request #1830 from hashcat/master
...
Backport from master
6 years ago
R. Yushaev
393916c0bf
Allow cracking non-unique salts for Office 2013
...
With hash-mode 9600 (MS Office 2013) there can be multiple hashes with
the same salt but with different encryption verifiers in esalt_bufs.
This commit adds the functionality to execute _comp kernels for
different hashes after deriving their common key once.
Fixes #1826
6 years ago
jsteube
074947c6db
Get rid of hashconfig_get_kernel_threads() and hashconfig_get_kernel_loops()
6 years ago
jsteube
af22a9d1d9
Remove hashconfig_forced_kernel_threads()
6 years ago
R. Yushaev
074fad9fef
Correct buffer size parameter in snprintf calls
...
There are approx. 240 snprintf calls that set the target buffer size to
out_len - 1 or similar. This "mind the null character" subtraction is
unnecessary since snprintf already includes the string termination into
the given buffer size.
6 years ago
Jens Steube
0b2ffec379
Fixed selection of OpenCL devices (-d) if there's more than 32 OpenCL devices installed
6 years ago
Jens Steube
c9da60c73a
Fixed thread count maximum for pure kernels in straight attack mode
6 years ago
Jens Steube
e770449702
OpenCL Runtime: Use our own yielding technique for synchronizing rather than vendor specific
...
Parameter: Rename --nvidia-spin-damp to --spin-damp (now accessible for all devices)
6 years ago
Jens Steube
ae577410d0
OpenCL Device: Do a real query on OpenCL local memory type instead of just assuming it
6 years ago
Jens Steube
06b39dc3d5
Startup: Show OpenCL runtime initialization message (per device)
6 years ago
Jens Steube
566b1c67b5
Small improvement in --speed-only and --progress-only accuracy
6 years ago
Jens Steube
bb758d66e8
Revert "Simplify some code"
...
This reverts commit 2d15fa07e7
.
6 years ago
Jens Steube
2d15fa07e7
Simplify some code
6 years ago
Jens Steube
a402822646
Fixed output of --speed-only and --progress-only in case a fast hash is used in combination with --slow-candidates
6 years ago
Jens Steube
83632a83e4
Memory: Limit maximum host memory to allocate depending on bitness
6 years ago
Jens Steube
d6fe2c7cd4
The hashcat brain
6 years ago
Jens Steube
24ce7bacae
Updated Intel OpenCL runtime version check
6 years ago
Jens Steube
5ee3e502f8
Fixed missing wordlist encoding in combinator mode
...
Fixes #1668
6 years ago
R. Yushaev
5c87720acc
Add SHA3 and Keccak
...
The previous hash-mode 5000 covered Keccak-256 only. FIPS changed one
padding byte while adopting Keccak as the SHA3 standard, which gives us
different digests. Now we have separate kernels for SHA3 and Keccak.
- Added hash-mode 17300 = SHA3-224
- Added hash-mode 17400 = SHA3-256
- Added hash-mode 17500 = SHA3-384
- Added hash-mode 17600 = SHA3-512
- Added hash-mode 17700 = Keccak-224
- Added hash-mode 17800 = Keccak-256
- Added hash-mode 17900 = Keccak-384
- Added hash-mode 18000 = Keccak-512
- Removed hash-mode 5000 = SHA-3 (Keccak)
6 years ago
jsteube
52c52836e3
Add new option --slow-candidates which allows hashcat to generate passwords on-host
6 years ago
Jens Steube
466ea8eaba
Fixed detection of unique ESSID in WPA-PMKID-* parser
6 years ago
Jens Steube
a134ea52b3
Fixed a race condition in status view leading to out-of-bound reads
6 years ago
jsteube
a5746548e8
Allow use of hash-mode 7900, 10700 and 13731 on AMD devices after workaround
6 years ago
jsteube
dad05d9f69
Testing: Workaround some AMD OpenCL runtime segmentation faults
6 years ago
jsteube
9f54c3dd14
Transfer only a few byte should be enough to force the runtime to actually allocate the memory
6 years ago
jsteube
242d991def
Fix memleak in memory evaluation
6 years ago
jsteube
f9b13035f2
Limit evaluate available memory check to nvidia runtime
6 years ago
jsteube
86fc587182
Be a bit more sensible while try to evaluate available memory
6 years ago
jsteube
e67195aa11
Try to evaluate available OpenCL device memory and use this information instead of total available OpenCL device memory for autotune
6 years ago
jsteube
c1edc5d562
Increase max PWS space to 1GB to allow higher -n values for GPU with lots of compute units
6 years ago
jsteube
c1ebfe486f
Refactor --progress-only and --speed-only calculation
6 years ago
jsteube
88ebca40b8
Added hash-mode 16800 = WPA-PMKID-PBKDF2
...
Added hash-mode 16801 = WPA-PMKID-PMK
Renamed lot's of existing WPA related variables to WPA-EAPOL in order to distinguish them with WPA-PMKID variables
Renamed WPA/WPA2 to WPA-EAPOL-PBKDF2
Renamed WPA/WPA2 PMK to WPA-EAPOL-PMK
6 years ago
jsteube
32d6b3e10e
OpenCL kernels: Add '-pure' prefix to kernel filenames to avoid problems caused by reusing existing hashcat installation folder
6 years ago
jsteube
a8060f4946
Rewritten handling of OpenCL JiT build options to fix warnings with GCC 8
6 years ago
jsteube
ca1115a1ee
No longer need to use 32 threads on second dimension for bitsliced algorithms
6 years ago
Jens Steube
872f82ab8d
Get rid of thread limit for bitsliced kernels
6 years ago
Jens Steube
aa82d8d34d
Re-enable CPU optimizations and some CPU case in thread management
6 years ago
Jens Steube
fe321105fe
No need to copy empty compression buffers
6 years ago
Jens Steube
c7ae5fb7f0
Do not run more run a kernel with more threads than workitems
6 years ago
Jens Steube
07f119c28b
Fix -a 7 of fast hashes in optimized mode
6 years ago
Jens Steube
d965475b28
Replace a missing while() with round_up_multiple_64()
6 years ago
Jens Steube
1af8e29a4b
Add round_up_multiple_32() and round_up_multiple_64()
6 years ago
jsteube
98b20526f4
Fix missing cleanup for new AUX kernels
6 years ago
jsteube
8053a05594
Use kernel specific max thread counts for helper kernel, not device specific
6 years ago
jsteube
fe4413797e
OpenCL Kernels: Use three separate comparison kernels (depending on keyver) for WPA instead of one
6 years ago
Jens Steube
31da893a40
Enforce 2GB host memory per GPU limit
6 years ago
jsteube
91e522d094
Add special marker for speed only mode
6 years ago