jsteube
4991bb85d2
Remove the following obsolete functions and replace them with input_tokenizer():
...
dcc_parse_hash
ipb2_parse_hash
sha1sha1_parse_hash
smf_parse_hash
vb3_parse_hash
6 years ago
Jens Steube
07b49c17f8
Merge pull request #1605 from magnumripper/master
...
Mute another -Wpointer-sign warning.
6 years ago
jsteube
6817876324
Do not increase output length in parse_and_store_generic_salt() if OPTS_TYPE_ST_ADD80 or similar is used
6 years ago
magnum
35a4972bb3
Mute another macOS -Wpointer-sign warning.
6 years ago
jsteube
319374e917
Merge branch 'master' of https://github.com/hashcat/hashcat
6 years ago
jsteube
10556b6324
The following parser functions have been rewritten to make use of
...
input_tokenizer():
descrypt_parse_hash()
md5pix_parse_hash()
md5asa_parse_hash()
netntlmv1_parse_hash()
netntlmv2_parse_hash()
joomla_parse_hash()
6 years ago
Jens Steube
7a408d9824
Merge pull request #1604 from magnumripper/master
...
Mute a macOS -Wpointer-sign warning.
6 years ago
jsteube
9196f1ba55
Added rounds_count_length() function to detect optional rounds=
...
substring in *crypt hashes
The following parser functions have been rewritten to make use of
input_tokenizer():
phpass_parse_hash()
md5crypt_parse_hash()
md5apr1_parse_hash()
episerver_parse_hash()
6 years ago
magnum
4e28d85e3e
Mute a macOS -Wpointer-sign warning.
6 years ago
jsteube
f574cbc88a
the following parser functions have been rewritten to make use of
...
input_tokenizer()
dcc2_parse_hash()
dpapimk_parse_hash()
6 years ago
jsteube
a2d99c5ac6
Rewrite several *_parse_hash() functions to use parse_and_store_generic_salt()
6 years ago
jsteube
50824a24c6
Rewrite parse_and_store_salt from scratch and rename original to parse_and_store_salt_legacy() for migration phase
...
Rewrite several *_parse_hash() functions to use parse_and_store_generic_salt()
6 years ago
jsteube
5f83dd8620
Convert cisco4_parse_hash() to make use of input_tokenizer()
...
Convert lm_parse_hash() to make use of input_tokenizer()
6 years ago
jsteube
2abe8caf24
Convert bcrypt_parse_hash() to make use of input_tokenizer()
...
Add more code to input_tokenizer()
6 years ago
jsteube
26dea37c9d
TEST CODE: tokenizer function in order to simplify parsing functions
6 years ago
jsteube
c902df7d8a
Fix some typo
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
c28fdf7f44
Added hash-mode 16700 = FileVault 2
6 years ago
jsteube
c3fc50294f
Bring back CUDA_CACHE_DISABLE=1 because users report to have problems without it
6 years ago
jsteube
124d10989c
Try original NV kernel bytecode cache for faster startup, see how user response is
6 years ago
jsteube
547025ec47
HCCAPX management: Use advanced hints in message_pair stored by hcxtools about endian bitness of replay counter
...
Fixed missing code section in -m 2500 and -m 2501 to crack corrupted handshakes with a LE endian bitness base
6 years ago
jsteube
60f2d413e0
Fix missing hexification for chars 0x00 - 0x1f
6 years ago
jsteube
b88c956d97
Rule Engine: Add JtR compatible support for hex notations in rule engine
6 years ago
jsteube
a8060f4946
Rewritten handling of OpenCL JiT build options to fix warnings with GCC 8
6 years ago
jsteube
ce4858f7a3
Rewritten printable_utf8() because the original one throws too many warnings with GCC 8
6 years ago
jsteube
469fece141
OpenCL Kernels: Abort session if kernel self-test failed
6 years ago
Jens Steube
fee4cb42cc
Merge pull request #1541 from erpscanteam/master
...
POC for cracking SAP "half hashes" CODVN B+F/G
6 years ago
Jens Steube
88640468df
Merge pull request #1542 from matrix/selftest_warning_fix
...
Fix selftest.c warning
6 years ago
philsmd
7d6c0d746c
7-Zip: increase the crc length to parse
...
Similar to the increase done with this commit: d382400805
we need to increase the crc length again such that hashcat can load hashes corresponding to some very highly compressed files within the 7-Zip archive.
For reference, this problem was first reported here: https://hashcat.net/forum/thread-7378.html :
as you can see
```
...$1059026$5d00001000): Salt-value exception
```
The value 1059026 is about 1MB of decrypted and decompressed data that needs to be checksummed.
7 years ago
Gabriele Gristina
7e2101438c
Fix selftest.c warning
7 years ago
Mathieu Geli
4dbc1f4a87
Implement 7701/7801 SAP CODVN half-hashes
7 years ago
Jens Steube
f6cfcbbc3a
Merge pull request #1529 from yarda/system-lzma-sdk
...
Add support for building with system lzma-sdk
7 years ago
magnum
a3759d77cf
Fix a problem with 'make install' on macOS if user has a GNU sed before
...
the native one in PATH (we would end up giving incompatible options).
Also omit the '-s' in LFLAGS for macOS, the linker just warns about that
option being obsolete and ignored.
7 years ago
jsteube
63defd1cea
Remove unused variable
7 years ago
jsteube
83f07febfc
Initial v4.1.1 deverloper mode commit
7 years ago
Jaroslav Škarvada
83ce54a736
Add support for building with system lzma-sdk
...
Fixes : #1528
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
7 years ago
jsteube
ca1115a1ee
No longer need to use 32 threads on second dimension for bitsliced algorithms
7 years ago
Jens Steube
872f82ab8d
Get rid of thread limit for bitsliced kernels
7 years ago
Jens Steube
7b165a86a9
Fix LM selftest in -a 0 mode
7 years ago
Jens Steube
e79feb0b6f
Add more reqd_work_group_size attributes to kernels
7 years ago
Jens Steube
7674c3a556
Revert "Thread limits on bitsliced kernels no longer required"
...
This reverts commit ba5f23474e
.
7 years ago
Jens Steube
ba5f23474e
Thread limits on bitsliced kernels no longer required
7 years ago
jsteube
b8b816eada
Fix 64 marker for -m 11300 and -m 15900
7 years ago
Jens Steube
aa82d8d34d
Re-enable CPU optimizations and some CPU case in thread management
7 years ago
Jens Steube
fe321105fe
No need to copy empty compression buffers
7 years ago
Jens Steube
c7ae5fb7f0
Do not run more run a kernel with more threads than workitems
7 years ago
Jens Steube
07f119c28b
Fix -a 7 of fast hashes in optimized mode
7 years ago
philsmd
4fcfa2ac77
max/min password/salt length vs max/min supported lengths by kernel
...
Make it clear that the "pass lengths" and "salt lenghts" hints are only indicative and describe the max/min pass/salt length of the kernels and are not specific to the current attack (e.g. mask attack of length 8)
7 years ago
jsteube
dfb95024bc
Fix temporary datatype in wpapmk kernels
7 years ago
Jens Steube
d965475b28
Replace a missing while() with round_up_multiple_64()
7 years ago
Jens Steube
1af8e29a4b
Add round_up_multiple_32() and round_up_multiple_64()
7 years ago
Jens Steube
f75accef59
Update -m 2501 selftest hash in order to succeed with new AUX kernels
7 years ago
Jens Steube
6cd6b08229
Other format that base on md5crypt should also use OPTS_TYPE_PREFERED_THREAD
7 years ago
Jens Steube
413ade76fb
Add OPTS_TYPE_PREFERED_THREAD flag for -m 500
7 years ago
jsteube
98b20526f4
Fix missing cleanup for new AUX kernels
7 years ago
Jens Steube
7d09ae93f2
Merge branch 'master' of https://github.com/hashcat/hashcat
7 years ago
Jens Steube
1361651730
Add OPTS_TYPE_PREFERED_THREAD marker
7 years ago
jsteube
8053a05594
Use kernel specific max thread counts for helper kernel, not device specific
7 years ago
jsteube
fe4413797e
OpenCL Kernels: Use three separate comparison kernels (depending on keyver) for WPA instead of one
7 years ago
Jens Steube
31da893a40
Enforce 2GB host memory per GPU limit
7 years ago
Jens Steube
c9f3ef6dae
Fix final comparison in sort_by_dictstat()
7 years ago
jsteube
91e522d094
Add special marker for speed only mode
7 years ago
jsteube
240652a0ff
Move speed timer initialization from run_cracker() to run_copy()
7 years ago
jsteube
c4f30220a0
OpenCL Kernels: Refactored kernel thread management from native to maximum per kernel
7 years ago
Jens Steube
d38608b9bc
Add get_kernel_preferred_wgs_multiple() for future use
7 years ago
Jens Steube
1f442b5b0c
Add get_kernel_local_mem_size() for future use
7 years ago
jsteube
ce8f445ebe
Fix a few warnings and divide by zero (speed_pos)
7 years ago
Jens Steube
d656e9c3a4
OpenCL Kernels: Use the kernel local buffer size as additional reference in order to limit the thread-count
7 years ago
jsteube
a7a15df911
OpenCL Kernels: Improve performance preview accuracy in --benchmark, --speed-only and --progress-only mode
7 years ago
Jens Steube
fd89cac052
No longer need to warm-up OpenCL device for benchmark with new thread settings
7 years ago
Jens Steube
75c4d09301
CPU threads still work better on a single local work item
7 years ago
Jens Steube
fa379074b6
Fixed a logic error in storing temporary progress for slow hashes,leading to invalid speeds in status view
7 years ago
Jens Steube
b0ff625844
OpenCL Kernels: Thread-count is switched from native to maximum - as a consequence we assume host memory pool of 2GB per GPU
7 years ago
jsteube
088c45040b
Remove some redundant constants
7 years ago
Jens Steube
9b1e66d87c
Fixed a race condition in combinator- and hybrid-mode where the same scratch buffer was used by multiple threads
7 years ago
jsteube
05a01d3843
fix some datatypes
7 years ago
jsteube
98abea9a0f
Fix one more technical teething trouble with compressor kernels
7 years ago
jsteube
3dcacb5f55
Fix hc_clEnqueueReadBuffer buffer size in gidd_to_pw_t()
7 years ago
jsteube
1c25cf5490
Fix compiler warning about rc variable which shadows a previous local
7 years ago
jsteube
bb401c9cec
Fixed a missing check for returncode in case hashcat.hcstat2 was not found
7 years ago
jsteube
bd9c17e49a
Add some missing function declarations
7 years ago
jsteube
e59d5fd25e
sometimes device_global_mem and device_maxmem_alloc reportedback from the opencl runtime are a bit inaccurate.
...
let's add some extra space just to be sure.
7 years ago
jsteube
cdc4f3828b
Reduce max kernel threads from 256 to 64 in -w 4 to save host and GPU memory
7 years ago
jsteube
a3a16f676f
OpenCL Kernels: Add a decompressing kernel and a compressing host code in order to reduce PCIe transfer time
...
For details see https://hashcat.net/forum/thread-7267.html
7 years ago
jsteube
2f30e5e929
Fixed invalid support for SIMD in -m 400
7 years ago
Jens Steube
665a514977
Use a more conservative mechanic in the last step of the autotune
7 years ago
Jens Steube
fb00b528c4
Improve autotune and synchronize results on same OpenCL devices
7 years ago
Jens Steube
3d2c0018fc
Limit the maximum OpenCL thread count to 256
...
If an OpenCL device allows a very high thread count (for example 1024 on nvidia), the host memory required is 32 times as high with 32 (It jumps from 128MB to 4GB device memory requirement). since there's no device with that much device memory (because of 1/4 memory rule) it has to limit the kernel_accel_max to be a very low number because the pws buffer will be so large otherwise. therefore autotune will be unable to calculate a good kernel_accel multiplier. currently there's no OpenCL device known that needs result in a better performance with 1024 threads compared to 256. as a result, we limit the number of threads to 256, which turns out to be a general good value.
7 years ago
jsteube
517062849e
Save some space in speed display to avoid line breaks
7 years ago
jsteube
11b18512c7
Terminal: Add workitem settings to status display (can be handy for debugging)
7 years ago
jsteube
76a3e3f7af
OpenCL Runtime: Add current timestamp to OpenCL kernel source in order to force OpenCL JiT compiler to recompile and not use the cache
7 years ago
jsteube
3272e29497
Returncode: Enforce returncode 0 in case the user selected --speed-only or --progress-only and no other error occured
7 years ago
jsteube
a8ca6862bf
OpenCL Runtime: Enforce to use OpenCL version 1.2 to restrain OpenCL runtimes to make use of the __generic address space qualifier
7 years ago
jsteube
019ed0de6e
Fix double free
7 years ago
jsteube
dd97799e4c
Hashcat Context: Fixed a memory leak in shutdown phase
7 years ago
jsteube
e2654efaa7
Hash Parser: Fixed a memory leak in shutdown phase
7 years ago
jsteube
9136d23f2a
Use hcmalloc() instead of malloc() whenever possible
7 years ago
jsteube
c34670c567
OpenCL Devices: Fixed several memory leaks in shutdown phase
7 years ago
jsteube
6361ea823c
Use hcmalloc() instead of malloc() whenever possible
7 years ago
jsteube
09261dad0e
Prepare for v4.1.0 release
7 years ago