1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-16 04:49:24 +00:00
Commit Graph

6931 Commits

Author SHA1 Message Date
philsmd
b7e5216cf1
fixes #2383: added -m 22700 = MultiBit HD (scrypt) 2020-05-08 10:57:32 +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
Jens Steube
c7da6357ff suppress some handpicked control characters from being printed to console 2020-04-30 13:29:51 +02:00
Jens Steube
d22a9a0978 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-04-30 12:58:46 +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
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.
2020-04-23 12:05:41 +10:00
Jens Steube
c5d2d5396f
Merge pull request #2366 from philsmd/patch-1
fixes #2361: add note about --force when using -u / -n
2020-04-20 11:54:56 +02:00
Jens Steube
e542b4bd85
Merge pull request #2364 from mpalmer/fix-build-warning-in-debug-mode
Fix build warning in DEBUG mode
2020-04-20 11:54:28 +02:00
philsmd
01d378a744
fixes #2361: add note about --force when using -u / -n 2020-04-19 05:11:52 +02:00
Matt Palmer
240d35976a Fix build warning in DEBUG mode
Just a tiny cleanup to avoid an 'unused variable' warning when building
with DEBUG=1.
2020-04-18 12:18:18 +10:00
Jens Steube
f96594ef87
Merge pull request #2355 from philsmd/master
Added -m 22600 = Telegram Desktop App Passcode (PBKDF2-HMAC-SHA1)
2020-04-08 16:14:59 +02:00
philsmd
688d904aa0
Added -m 22600 = Telegram Desktop App Passcode (PBKDF2-HMAC-SHA1) 2020-04-08 14:31:47 +02:00
Jens Steube
1797f3ffa4 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-04-02 15:16:26 +02:00
Jens Steube
3c1ddc8149 Revert "Precompute some constants to improve performance of -m 780x SAP kernels"
This reverts commit b1bb47c1ae.
2020-04-02 14:55:04 +02:00
Jens Steube
b89bb84e1d Revert "Fix -m 7800 and -m 7801 on CPU"
This reverts commit 9f9ed78ca7.
2020-04-02 14:54:35 +02:00
Jens Steube
2c94c003ce
Merge pull request #2353 from s3inlc/patch-separator
Patch all inconsistent separators in modules
2020-04-02 14:39:42 +02:00
Jens Steube
a45548d176
Merge pull request #2351 from s3inlc/patch-1
Fix constant separator when printing IPMI hashes
2020-04-02 14:39:24 +02:00
Jens Steube
26570cdb17 Disable some modules on AMDGPU-Pro driver 2020-04-01 15:10:52 +02:00
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) 2020-04-01 10:16:49 +02:00
s3inlc
b9d251b76e fixing all inconsistent hash separators 2020-03-31 20:40:09 +02:00
Sein Coray
f8ef6f67bf
Merge pull request #1 from hashcat/master
update
2020-03-31 20:23:37 +02:00
Sein Coray
949b61a6bb
Fix constant separator when printing IPMI hashes 2020-03-31 17:37:46 +02:00
Jens Steube
e3e31adec3 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-03-31 14:41:35 +02:00
Jens Steube
584d6f093c
Merge pull request #2350 from philsmd/patch-1
fixes #2341: electrum 4/5 mod_512 () infinite loop fix
2020-03-31 13:28:12 +02:00
philsmd
53d2e45795
fixes #2341: electrum 4/5 mod_512 () infinite loop fix 2020-03-31 11:01:47 +02:00
Jens Steube
2d8893110c
Merge pull request #2348 from philsmd/guideWhitespaceFix
docs: removed some unnecessary whitespace chars from the guide
2020-03-30 18:02:42 +02:00
Jens Steube
10e986990b
Merge pull request #2349 from philsmd/hexSaltFix
fixes #2339: problem with --hex-salt fixed
2020-03-30 18:02:32 +02:00
Jens Steube
083ffaa10e
Merge pull request #2347 from philsmd/master
make -m 21200 more generic (accept all supported salt len)
2020-03-30 18:01:26 +02:00
philsmd
15eb70152f
fixes #2339: problem with --hex-salt fixed 2020-03-30 14:06:11 +02:00
philsmd
619cd5f1ec
docs: removed some unnecessary whitespace chars from the guide 2020-03-30 14:02:57 +02:00
philsmd
4f3165c6ea
make -m 21200 more generic (except all supported salt len) 2020-03-30 13:53:37 +02:00
Jens Steube
ddb641b843 Add option to force disable real SHM access to be used from within the module 2020-03-20 16:20:22 +01:00
Jens Steube
82a024d9cb Merge branch 'master' of https://github.com/hashcat/hashcat 2020-03-20 16:09:41 +01:00
Jens Steube
bb94bf4359 Remove extra character in development guide 2020-03-20 09:04:16 +01:00
Jens Steube
9776738a2c The official hashcat plugin development guide 2020-03-20 08:57:50 +01:00
Jens Steube
9421b99a6f
Merge pull request #2332 from philsmd/master
fixes #2067: 40-bit oldoffice false positive problem
2020-03-20 08:30:38 +01:00
Jens Steube
24094793da Workaround for -m 22100 on NVIDIA 2020-03-18 16:13:57 +01:00
philsmd
f1b676a154
docs: update changes.txt for the new/optional oldoffice format 2020-03-18 11:13:01 +01:00
Jens Steube
a6cf7caf4a Extend hashes in -m 7100 to be of length 128 or 256 2020-03-17 14:44:11 +01:00
Jens Steube
81cb508808 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-03-17 12:02:34 +01:00
Jens Steube
36af393483
Merge pull request #2333 from philsmd/tabcompletion_path_fix
solves problems with paths in tab completion
2020-03-17 09:42:41 +01:00
philsmd
787b082239
solves problems with paths in tab completion 2020-03-16 16:58:20 +01:00
philsmd
2bc126ac96
fixes #2067: 40-bit oldoffice false positive problem 2020-03-16 16:30:35 +01:00
Jens Steube
434ad76381 Improve alias device detection to distinguish between Intel CPU and embedded GPU 2020-03-13 10:01:57 +01:00
Jens Steube
119344c084 Mark -m 13100 as unstable on Apple + Iris 2020-03-13 09:51:27 +01: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
2e8d6854c1 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-03-12 10:53:52 +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
2712eff3f0 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-03-11 15:11:42 +01:00
Jens Steube
d2527d142a Fixed missing to copy the dictfile to dictfile_padded buffer 2020-03-10 15:49:02 +01:00