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.
6 years ago
Gabriele Gristina
7e2101438c
Fix selftest.c warning
6 years ago
Mathieu Geli
4dbc1f4a87
Implement 7701/7801 SAP CODVN half-hashes
6 years ago
Jens Steube
f6cfcbbc3a
Merge pull request #1529 from yarda/system-lzma-sdk
...
Add support for building with system lzma-sdk
6 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.
6 years ago
jsteube
63defd1cea
Remove unused variable
6 years ago
jsteube
83f07febfc
Initial v4.1.1 deverloper mode commit
6 years ago
Jaroslav Škarvada
83ce54a736
Add support for building with system lzma-sdk
...
Fixes : #1528
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
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
7b165a86a9
Fix LM selftest in -a 0 mode
6 years ago
Jens Steube
e79feb0b6f
Add more reqd_work_group_size attributes to kernels
6 years ago
Jens Steube
7674c3a556
Revert "Thread limits on bitsliced kernels no longer required"
...
This reverts commit ba5f23474e
.
6 years ago
Jens Steube
ba5f23474e
Thread limits on bitsliced kernels no longer required
6 years ago
jsteube
b8b816eada
Fix 64 marker for -m 11300 and -m 15900
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
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)
6 years ago
jsteube
dfb95024bc
Fix temporary datatype in wpapmk kernels
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
Jens Steube
f75accef59
Update -m 2501 selftest hash in order to succeed with new AUX kernels
6 years ago
Jens Steube
6cd6b08229
Other format that base on md5crypt should also use OPTS_TYPE_PREFERED_THREAD
6 years ago
Jens Steube
413ade76fb
Add OPTS_TYPE_PREFERED_THREAD flag for -m 500
6 years ago
jsteube
98b20526f4
Fix missing cleanup for new AUX kernels
6 years ago
Jens Steube
7d09ae93f2
Merge branch 'master' of https://github.com/hashcat/hashcat
6 years ago
Jens Steube
1361651730
Add OPTS_TYPE_PREFERED_THREAD marker
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
Jens Steube
c9f3ef6dae
Fix final comparison in sort_by_dictstat()
6 years ago
jsteube
91e522d094
Add special marker for speed only mode
6 years ago
jsteube
240652a0ff
Move speed timer initialization from run_cracker() to run_copy()
6 years ago
jsteube
c4f30220a0
OpenCL Kernels: Refactored kernel thread management from native to maximum per kernel
6 years ago
Jens Steube
d38608b9bc
Add get_kernel_preferred_wgs_multiple() for future use
6 years ago
Jens Steube
1f442b5b0c
Add get_kernel_local_mem_size() for future use
6 years ago
jsteube
ce8f445ebe
Fix a few warnings and divide by zero (speed_pos)
6 years ago
Jens Steube
d656e9c3a4
OpenCL Kernels: Use the kernel local buffer size as additional reference in order to limit the thread-count
6 years ago
jsteube
a7a15df911
OpenCL Kernels: Improve performance preview accuracy in --benchmark, --speed-only and --progress-only mode
6 years ago
Jens Steube
fd89cac052
No longer need to warm-up OpenCL device for benchmark with new thread settings
6 years ago
Jens Steube
75c4d09301
CPU threads still work better on a single local work item
6 years ago
Jens Steube
fa379074b6
Fixed a logic error in storing temporary progress for slow hashes,leading to invalid speeds in status view
6 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
6 years ago
jsteube
088c45040b
Remove some redundant constants
6 years ago
Jens Steube
9b1e66d87c
Fixed a race condition in combinator- and hybrid-mode where the same scratch buffer was used by multiple threads
6 years ago
jsteube
05a01d3843
fix some datatypes
6 years ago
jsteube
98abea9a0f
Fix one more technical teething trouble with compressor kernels
6 years ago
jsteube
3dcacb5f55
Fix hc_clEnqueueReadBuffer buffer size in gidd_to_pw_t()
6 years ago
jsteube
1c25cf5490
Fix compiler warning about rc variable which shadows a previous local
6 years ago
jsteube
bb401c9cec
Fixed a missing check for returncode in case hashcat.hcstat2 was not found
6 years ago
jsteube
bd9c17e49a
Add some missing function declarations
6 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.
6 years ago
jsteube
cdc4f3828b
Reduce max kernel threads from 256 to 64 in -w 4 to save host and GPU memory
6 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
6 years ago
jsteube
2f30e5e929
Fixed invalid support for SIMD in -m 400
6 years ago
Jens Steube
665a514977
Use a more conservative mechanic in the last step of the autotune
6 years ago
Jens Steube
fb00b528c4
Improve autotune and synchronize results on same OpenCL devices
6 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.
6 years ago
jsteube
517062849e
Save some space in speed display to avoid line breaks
6 years ago
jsteube
11b18512c7
Terminal: Add workitem settings to status display (can be handy for debugging)
6 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
6 years ago
jsteube
3272e29497
Returncode: Enforce returncode 0 in case the user selected --speed-only or --progress-only and no other error occured
6 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
6 years ago
jsteube
019ed0de6e
Fix double free
6 years ago
jsteube
dd97799e4c
Hashcat Context: Fixed a memory leak in shutdown phase
6 years ago
jsteube
e2654efaa7
Hash Parser: Fixed a memory leak in shutdown phase
6 years ago
jsteube
9136d23f2a
Use hcmalloc() instead of malloc() whenever possible
6 years ago
jsteube
c34670c567
OpenCL Devices: Fixed several memory leaks in shutdown phase
6 years ago
jsteube
6361ea823c
Use hcmalloc() instead of malloc() whenever possible
6 years ago
jsteube
09261dad0e
Prepare for v4.1.0 release
6 years ago
jsteube
2095e27d46
User Options: According to getopts manpage the last element of the option array has to be filled with zeros
7 years ago
jsteube
5b527f6aa6
Removed debugging code
7 years ago
jsteube
68b1ea4b68
OpenCL Runtime: Updated rocm detection
7 years ago
jsteube
9aa9725b91
Terminal: Display Set Cost/Rounds During Benchmarking
7 years ago
jsteube
e877c30ebc
OpenCL Kernels: Remove password length restriction to 16 for Cisco-PIX and Cisco-ASA hashes
...
Fixes #1488
7 years ago
jsteube
ef3cdddb18
Enforce environment variables to be set in cygwin environment
7 years ago
jsteube
01a7476ff8
Link hashcat native binary with -lrt to workaround problems with clock_gettime() on libc versions < 2.17
7 years ago
jsteube
213de0ba43
Simplify production versioning and fix variable content if there's no git installed
7 years ago
jsteube
084eed0a0d
Moved some gcc options around to different places in Makefile
7 years ago
TomasKorbar
8222b361f1
Modified makefile to add soname for libhashcat
...
closes #1496
7 years ago
jsteube
e21779112f
Fix some tabs in Makefile
7 years ago
philsmd
caa5c052ec
Makefile: disallow running 'make install' on windows systems (including cygwin/msys etc)
7 years ago
philsmd
0b79d65682
Makefile: fixed whitespace by using spaces instead of tabs where possible
7 years ago
jsteube
553668bb9f
Added hash-mode 16600 = Electrum Wallet (Salt-Type 1-3)
7 years ago
Jens Steube
7062425d2b
OpenCL Kernels: Use a special kernel to initialize the password buffer used during autotune measurements to reduce startup time
7 years ago
jsteube
7a8239b4c1
Fixed the maximum password length check in password reassembling function
...
Fixes #1492
7 years ago
jsteube
ce0cee0ac4
Stick to original JWT format from jwt.io
7 years ago
jsteube
0796c074c3
Added -m 16500 Kernels
...
Also changed function declaration of parser function from const hashconfig_t to just hashconfig_t
7 years ago
jsteube
5eeefb5506
More prepare for JWT
7 years ago
Jens Steube
bb806d777e
Merge pull request #1493 from mohemiv/master
...
added -m 16400 = CRAM-MD5 Dovecot
7 years ago
jsteube
7c1fb0140c
Files: Copy include/ folder and its content to case SHARED is set to 1 in Makefile
7 years ago
Arseniy Sharoglazov
928cf471fb
The hash-mode for "CRAM-MD5 Dovecot" changed from 10201 to 16400
7 years ago
Jens Steube
17f6324886
Merge pull request #1480 from matrix/osx_clock_gettime
...
Osx clock gettime
7 years ago
Arseniy Sharoglazov
798f05355f
added -m 10201 = CRAM-MD5 Dovecot
7 years ago
Gabriele Gristina
03fab4a345
Fix clock_gettime() on OSX (v2)
7 years ago
philsmd
fa679ce496
masks: skipping too large/small masks fixed
7 years ago
Gabriele Gristina
43ce4f6135
Add checks for clock_gettime() support in Makefile
7 years ago
Gabriele Gristina
4f8343b8b1
Fix clock_gettime() on OSX
7 years ago
philsmd
bf656774bb
fixes #1279 : added -m 16300 = Ethereum Pre-Sale Wallet, PBKDF2-HMAC-SHA256
7 years ago
jsteube
838a71637a
Remove fixed iteration count for apple secure notes
7 years ago
jsteube
77f7ea52a5
Fix missing defined keyword
7 years ago
jsteube
458fbcbce4
Merge branch 'master' of https://github.com/hashcat/hashcat
7 years ago
jsteube
535945b03a
Fix rename $SN$ signature to $ASN$ for apple secure notes
7 years ago
jsteube
d9c5c42966
Rename $SN$ signature to $ASN$ for apple secure notes
7 years ago
jsteube
0d89ddfcd9
Finish adding hash-mode 16200 = Apple Secure Notes
7 years ago
jsteube
94bfd28c74
More preparations for hash-mode 16200
7 years ago
Rosen Penev
aece2cc4be
Get rid of hc_ctime too. Also fix some cppcheck confusion with nvapi.
...
Missed from last pull request.
7 years ago
Jens Steube
c41af948ba
Merge pull request #1471 from neheb/32to64
...
remove special time handling in hashcat.
7 years ago
jsteube
bbe9b723e1
Timer: Switch from gettimeofday() to clock_gettime() to workaround problems on cygwin
7 years ago
Rosen Penev
1c5915cae3
remove special time handling in hashcat.
...
There's a way to get 64-bit time_t and 64-bit stat in MinGW, so use that.
7 years ago
jsteube
ea795ef5ab
Move out code to check for hashfile or hash on commandline into dedicated function
7 years ago
Jens Steube
f2ce04e912
Allow relative use of -I in build_opts
7 years ago
jsteube
1184ae1cdd
Added option --benchmark-all to benchmark all hash-modes not just the default selection
7 years ago
jsteube
f817652bbb
Terminal: Send clear line code to the same output stream as the next message following
7 years ago
jsteube
4414b520c8
remove unused variables
7 years ago
jsteube
829ea605c5
Self Test: Skip self-test for mode 8900 user-configurable scrypt settings are incompatible to fixed settings in the self-test hash
...
Self Test: Skip self-test for mode 15700 because settings are too high and create a too long startup time
7 years ago
jsteube
f573c1d96d
Add optimized -m 16100 kernels
7 years ago
jsteube
8ec2af97ed
Eventual fix for unicode folder name issue on windows
7 years ago
jsteube
b864fa5ba7
Removed option --gpu-temp-retain that tried to retain GPU temperature at X degrees celsius, please use driver specific tools
...
Removed option --powertune-enable to enable power tuning, please use driver specific tools
7 years ago
jsteube
9c7b56165c
Reset PID controller history data for GPU fan speed in case user resumes from a paused session
7 years ago
jsteube
0fbaff8b90
Revert: Have -m 16100 always running in keep-guessing mode
7 years ago
jsteube
cda0d7dd35
Have -m 16100 always running in keep-guessing mode
7 years ago
jsteube
5847067c96
First working -m 16100 kernel
7 years ago
jsteube
7a54490da2
More -m 16100 preparations
7 years ago
philsmd
c9b16d76e6
self-tests: always work with copies of the self-test hash
7 years ago
jsteube
42d1db4294
Fixed a restore issue leading to "Restore value is greater than keyspace" in case mask-files or wordlist-folders were used
7 years ago
jsteube
04a30e6071
Show [r]esume in prompt in pause mode only and show [p]ause in prompt in resume mode only
...
Fixes https://github.com/hashcat/hashcat/issues/1459
7 years ago
Rosen Penev
dee6934f32
Fix cast qual with double pointers
7 years ago
jsteube
e93fa25454
Allow the use of hashcat_init() without a callback function
7 years ago
philsmd
9d58ddd9f6
fixed strtok_r () calls, could prevent memory crashes
7 years ago