1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00
Commit Graph

1293 Commits

Author SHA1 Message Date
Jens Steube
13e2dec017 hashcat 6.0.0 2020-06-16 17:30:11 +02:00
philsmd
437e9aa3d1
allow --left and -o work with binary hash files 2020-06-15 15:43:49 +02:00
Jens Steube
84d3981e7b Add returncode PARSER_HAVE_ERRNO as a valid returncode from module_hash_binary_count() and module_hash_binary_parse() module hooks. You can use this in case fopen() fails and you want to transport back the original error from the OS 2020-05-27 15:23:02 +02:00
Jens Steube
bb19c9cf1b
Merge pull request #2373 from mpalmer/more-error-messages
Add some more generic error messages
2020-05-26 13:25:36 +02:00
Jens Steube
ff37264c36 Use special type for hashlist sorting in brain_compute_session() 2020-05-12 08:54:26 +02:00
Jens Steube
f9e4dc0db1 Remove sort_by_string(), no longer needed 2020-05-11 12:00:26 +02:00
Jens Steube
d5cd0a0030 Fix invalid brain session id calculation and move sorting functions to shared.c 2020-05-11 11:52:36 +02:00
Jens Steube
33579ae3db Add new option for modules OPTS_TYPE_SELF_TEST_DISABLE to disable self-test functionality from hash-mode directly 2020-05-08 10:18:17 +02:00
Matt Palmer
b25c8d9a5a Add some more generic error messages
These are almost all taken from error messages that are specific to one
particular module, and turned into generic errors that can be used for any
module.  It seemed like a better idea to provide generic messages than to
encourage infinite proliferation of error codes (which would probably end up
blowing the 255 value threshold sooner or later).  It doesn't seem necessary
to provide module-specific error messages for things like "Invalid <X>
filesize", since users should already know what sort of file they're asking
to be parsed.
2020-04-23 12:36:15 +10:00
Jens Steube
ba7163062d Do not set -cl-std=XXX to workaround NEO driver bug causing to hang while compiling -m 22000 2020-03-13 09:43:41 +01:00
Jens Steube
2b2a7ede66 OpenCL Options: Set --spin-damp to 0 (disabled) by default. With the CUDA backend this workaround became deprecated 2020-03-12 10:51:10 +01:00
Jens Steube
d706f90a75 Dictstat: On Windows, the st_ino attribute in the stat struct is not set which can lead to invalid cache hits. Added the filename to the database entry. 2020-03-10 15:42:55 +01:00
Jens Steube
f8f5e1cc93 Remove unused OPTS_TYPE_PREFERED_THREAD 2020-03-06 08:53:43 +01:00
Jens Steube
a4db1a0abd Remove unused OPTS_TYPE_ST_HASH_MD5 2020-03-05 12:43:48 +01:00
Jens Steube
f96e35649d Change bitsliced kernels from 3d to 2d invocation mode for slightly better performance 2020-02-22 07:59:58 +01:00
Jens Steube
d9473358ef Add support for OPTS_TYPE_LOOP_EXTENDED kernel for special cases like VeraCrypt 2020-02-20 16:00:21 +01:00
Jens Steube
9957422191 Add tokenizer option TOKEN_ATTR_SEPARATOR_FARTHEST as an option to deal with hash formats where separator character could be part of the salt data itself and at the same time does not allow escape character logic to be applied. This can only work if it is guaranteed by the design of the hash format that the separator character does not occur after the position of the separator character. 2020-02-19 10:35:44 +01:00
Jens Steube
4ed18af14c Make VeraCrypt PIM configuration mechanism easier to read 2020-02-08 12:24:47 +01:00
Jens Steube
4788c61dd2 Add OPTI_TYPE_REGISTER_LIMIT flag to enable register limiting in CUDA 2020-02-04 21:53:27 +01:00
Jens Steube
c40f474c2e Add special module option to indicate the kernel is using dynamic shared memory 2020-02-02 11:24:38 +01:00
Jens Steube
aef53f7e10 OpenCL Runtime: Allow the kernel to access post-48k shared memory region on CUDA. Requires both module and kernel preparation 2020-02-01 14:27:42 +01:00
Jens Steube
1fc37c25f9 OpenCL Kernels: Moved "gpu_decompress", "gpu_memset" and "gpu_atinit" into new OpenCL/shared.cl in order to reduce compile time 2020-02-01 09:00:48 +01:00
Jens Steube
346637ec43 Improve cujit logging 2020-01-30 11:44:57 +01:00
Jens Steube
66ae5125ce Cache cubin instead of PTX to decrease startup time 2020-01-29 15:56:36 +01:00
Jens Steube
c8f9bd7d64
Merge pull request #2292 from philsmd/master
Fixes #2255: new --outfile-format with support for timestamps
2020-01-24 19:54:24 +01:00
philsmd
ebd904a179
outfile: improved version of OUTFILE_FORMAT assignment 2020-01-24 18:43:13 +01:00
Jens Steube
ccacc508cb Reenabled support for Intel GPU OpenCL runtime (Beignet and NEO) because a workaround was found (force -cl-std=CL2.0) 2020-01-24 10:52:12 +01:00
philsmd
13675d2965
Fixes #2255: new --outfile-format with support for timestamps 2020-01-23 09:03:22 +01:00
Jens Steube
7672c49f7e gcc: disable picky gcc-8 function pointer warnings 2020-01-14 13:17:45 +01:00
philsmd
744e4bfd6f
use BRAIN_SERVER_TIMER instead of BRAIN_SERVER_DUMP_EVERY 2020-01-11 11:26:55 +01:00
philsmd
c826558b49
fixes #2271: added --brain-server-timer for scheduled backup time 2020-01-11 10:46:11 +01:00
Jens Steube
fe372dffb7 Add RDNA ISA instructions test for ADD/ADDC/SUB/SUBB 2020-01-06 12:49:57 +01:00
Jens Steube
d0fb171da9 Added new options --backend-ignore-cuda and --backend-ingore-opencl, to ignore CUDA and/or OpenCL interface from being load on startup 2020-01-03 11:51:24 +01:00
Jens Steube
53254b45aa Backport inc_ecc_secp256k1 inline assembly code for AMD ISA 2019-12-05 15:43:01 +01:00
philsmd
d07f002337 electrum 4/5: improve speed (rm hook) 2019-12-05 10:43:42 +01:00
Jens Steube
a63aa679d3 Few changes to -m 21600 and move -m 124 and -m 10000 to pure Framework category 2019-11-26 17:16:18 +01:00
Jens Steube
588e0ed294 Show information about minimum and maximum password- and salt-length before the hash parser starts 2019-11-21 09:03:06 +01:00
philsmd
db91fe6981 Added -m 21700 = Electrum 4 and -m 21800 = Electrum 5 2019-11-16 10:48:52 +01:00
Jens Steube
fe8c17f4c7 Support pause/abort in hooks 2019-11-15 14:42:34 +01:00
Rosen Penev
a6edb84157
Fix extra semicolon warnings
These macros don't need a ; but since ; is used, make the macros more
robust by enclosing them in a do while loop.
2019-11-09 16:42:50 -08:00
Jens Steube
6adc217bae Keep output of --show and --left in the original ordering of the input hash file 2019-11-05 13:49:22 +01:00
Jens Steube
c12470b978
Merge pull request #2188 from neheb/cast
Add casts where needed in C++ mode
2019-11-05 12:28:21 +01:00
Jens Steube
a8555fa048 Support use of all available CPU cores for hash-mode specific hooks 2019-11-03 12:05:52 +01:00
Jens Steube
d71afd6d7a Prepare new --hook-threads feature 2019-11-02 10:29:34 +01:00
Jens Steube
04b403ff16 _FORTIFY_SOURCE needs string.h 2019-10-25 12:37:09 +02:00
Jens Steube
870229196b Fix long hex encoded masks in maskfiles 2019-10-09 19:43:05 +02:00
Jens Steube
c78b8878d5 Fix calculation of mask length for status view in case hex-charset is used 2019-10-09 19:18:18 +02:00
Jens Steube
786efc2d7c Add support for OPTS_TYPE_PT_HEX 2019-10-09 10:49:58 +02:00
Jens Steube
b197610811 Add tokenizer support for TOKEN_ATTR_VERIFY_FLOAT 2019-10-02 14:18:26 +02:00
Rosen Penev
fd8150769d Add casts where needed in C++ mode
Otherwise, -fpermissive must be passed.
2019-09-11 18:05:01 -07:00