Jens Steube
bb19c9cf1b
Merge pull request #2373 from mpalmer/more-error-messages
...
Add some more generic error messages
4 years ago
Jens Steube
9b64a405d1
Fixed cleanup of password candidate buffers on GPU set from autotune in case -n was used
4 years ago
Jens Steube
1dc3469f6e
Merge pull request #2372 from mpalmer/binary-parse-report-error
...
Allow module_hash_binary_parse to report a fatal error
4 years ago
Jens Steube
109fa01a54
Merge pull request #2395 from s3inlc/patch-2
...
Adding escaping for --status-json
4 years ago
Sein Coray
d91a25027b
minor adjustments to code style and explanatory comment added
4 years ago
Jens Steube
ff37264c36
Use special type for hashlist sorting in brain_compute_session()
4 years ago
Sein Coray
4a0757e251
added escaping to --status-json output
4 years ago
Jens Steube
f9e4dc0db1
Remove sort_by_string(), no longer needed
4 years ago
Jens Steube
d5cd0a0030
Fix invalid brain session id calculation and move sorting functions to shared.c
4 years ago
Jens Steube
08ea00020a
Fixed calculation of brain-session ID, only the first hash of the hashset was taken into account
4 years ago
philsmd
b7e5216cf1
fixes #2383 : added -m 22700 = MultiBit HD (scrypt)
4 years ago
Jens Steube
33579ae3db
Add new option for modules OPTS_TYPE_SELF_TEST_DISABLE to disable self-test functionality from hash-mode directly
4 years ago
Jens Steube
c7da6357ff
suppress some handpicked control characters from being printed to console
4 years ago
Jens Steube
d22a9a0978
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
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.
4 years ago
Matt Palmer
b4204d265d
Allow module_hash_binary_parse to report a fatal error
...
If module_hash_binary_parse is completely unable to successfully parse out
any hashes, up until now the output has been
```
Hashfile 'foo': Success
```
which is less than helpful.
This patch allows (but does not require) m_h_binary_parse to report a useful
error response, by returning a negative value. Modules which continue to
return '0 hashes' will get the same less-than-useful behaviour they always
hace.
I've also modified the LUKS module to report a useful error, as a proof of
concept.
Further expansions on this could include:
* Applying similar behaviour to module_hash_binary_count, so it too can
report errors when trying to count hashes. This would require more
co-ordinated change, because m_h_binary_count already uses -1 to indicate
a system error.
* Allow and encourage modules to print their own errors and warnings during
parsing. This would allow for situations where a single hash in a
multi-hash file could be reported as malformed, without having to fail the
whole parse. However, implementing this would, I expect, require modules
to have access to `hashcat_ctx`, which... yeah. Not so straightforward.
4 years ago
Matt Palmer
240d35976a
Fix build warning in DEBUG mode
...
Just a tiny cleanup to avoid an 'unused variable' warning when building
with DEBUG=1.
4 years ago
philsmd
688d904aa0
Added -m 22600 = Telegram Desktop App Passcode (PBKDF2-HMAC-SHA1)
4 years ago
Jens Steube
1797f3ffa4
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
Jens Steube
2c94c003ce
Merge pull request #2353 from s3inlc/patch-separator
...
Patch all inconsistent separators in modules
4 years ago
Jens Steube
a45548d176
Merge pull request #2351 from s3inlc/patch-1
...
Fix constant separator when printing IPMI hashes
4 years ago
Jens Steube
26570cdb17
Disable some modules on AMDGPU-Pro driver
4 years ago
Jens Steube
008072eb65
OpenCL Runtime: Added a warning if OpenCL runtime NEO, Beignet, POCL or MESA is detected and skip associated devices (override with --force)
4 years ago
s3inlc
b9d251b76e
fixing all inconsistent hash separators
4 years ago
Sein Coray
949b61a6bb
Fix constant separator when printing IPMI hashes
4 years ago
Jens Steube
e3e31adec3
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
Jens Steube
10e986990b
Merge pull request #2349 from philsmd/hexSaltFix
...
fixes #2339 : problem with --hex-salt fixed
4 years ago
philsmd
15eb70152f
fixes #2339 : problem with --hex-salt fixed
4 years ago
philsmd
4f3165c6ea
make -m 21200 more generic (except all supported salt len)
4 years ago
Jens Steube
ddb641b843
Add option to force disable real SHM access to be used from within the module
4 years ago
Jens Steube
82a024d9cb
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
Jens Steube
9421b99a6f
Merge pull request #2332 from philsmd/master
...
fixes #2067 : 40-bit oldoffice false positive problem
4 years ago
Jens Steube
a6cf7caf4a
Extend hashes in -m 7100 to be of length 128 or 256
4 years ago
Jens Steube
81cb508808
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
philsmd
2bc126ac96
fixes #2067 : 40-bit oldoffice false positive problem
4 years ago
Jens Steube
434ad76381
Improve alias device detection to distinguish between Intel CPU and embedded GPU
4 years ago
Jens Steube
119344c084
Mark -m 13100 as unstable on Apple + Iris
4 years ago
Jens Steube
ba7163062d
Do not set -cl-std=XXX to workaround NEO driver bug causing to hang while compiling -m 22000
4 years ago
Jens Steube
2e8d6854c1
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
Jens Steube
2b2a7ede66
OpenCL Options: Set --spin-damp to 0 (disabled) by default. With the CUDA backend this workaround became deprecated
4 years ago
Jens Steube
2712eff3f0
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
Jens Steube
d2527d142a
Fixed missing to copy the dictfile to dictfile_padded buffer
4 years ago
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.
4 years ago
Jens Steube
c0554af987
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
Jens Steube
8c3808bad5
Fix NUL filename on windows
4 years ago
Jens Steube
3e4d110fd2
Add stderr redirection the regular way
4 years ago
Jens Steube
125e9ec863
Do not redirect stderr to /dev/null to prevent rocm 3.1 from crashing on debian
4 years ago
Jens Steube
0b0cbab24b
Merge branch 'master' of https://github.com/hashcat/hashcat
4 years ago
Jens Steube
5b58cba12e
Use _unroll in -m 5500 for CPU
4 years ago
Jens Steube
2fdb7ded8b
Update self-test hash for -m 1500
4 years ago