Jens Steube
6259acc3ab
Switch hash category for -m 15500 to HASH_CATEGORY_PRIVATE_KEY
2020-08-04 09:43:46 +02:00
Jens Steube
b8cbf94791
Add missing modules for -m 229xx
2020-08-03 18:21:26 +02:00
Jens Steube
e00cae4c5c
Update support for RSA/DSA/EC/OPENSSH Private Keys
2020-08-03 16:57:23 +02:00
Jens Steube
152fefe65f
Merge pull request #2363 from mpalmer/pkcs1
...
Module to decrypt PEM-encoded encrypted private keys (#74 )
2020-08-03 16:54:06 +02:00
Jens Steube
6cec2664bc
Add new category HASH_CATEGORY_PRIVATE_KEY
2020-07-30 12:25:46 +02:00
Jens Steube
cec6051d74
Unset PRODUCTION in src/Makefile
2020-07-29 12:32:11 +02:00
Jens Steube
61e8368592
hashcat 6.1.1
2020-07-29 12:16:53 +02:00
Jens Steube
02e2ef63fb
Fixed unresolvable relative paths in hashcat.log
2020-07-29 11:26:45 +02:00
Jens Steube
9ac87db99e
Unset PRODUCTION in src/Makefile
2020-07-28 12:43:44 +02:00
Jens Steube
9ed07f892b
hashcat 6.1.0
2020-07-28 12:29:13 +02:00
Jens Steube
f358b641e0
Merge branch 'master' into master
2020-07-27 15:47:44 +02:00
Jens Steube
0ff2f8c5e1
OpenCL Devices: Utilize PCI domain to improve alias device detection
2020-07-27 15:21:56 +02:00
philsmd
9bd77536c2
improved speed of -m 21200 by using pre-computed SHA1 hash
2020-07-26 18:00:09 +02:00
Jens Steube
4a9f8a1e75
Fixed false negatives in hash-mode 10901 if hash-mode 9200, 10000, 10900 or 20300 was used to compile the kernel binary
2020-07-23 12:56:21 +02:00
Jens Steube
91b663b14d
Fixed integer overflow for large masks in -a 6 attack mode
2020-07-21 14:12:55 +02:00
Jens Steube
5fab483cf0
Compile ZLIB: Fixed makefile include paths in case USE_SYSTEM_ZLIB is used
2020-07-21 12:41:20 +02:00
Jens Steube
ca8a8b33e6
Merge pull request #2459 from xvitaly/minizip-fix
...
Fixed linkage against packaged version of minizip (part of zlib)
2020-07-21 12:37:53 +02:00
Jens Steube
7cba225715
Added hash-mode: XMPP SCRAM
2020-07-17 14:27:00 +02:00
Jens Steube
b9f6777f1b
OpenCL Runtime: Add some unstable warnings for some SHA512 based algorithms on AMD GPU on macOS
2020-07-15 11:27:46 +02:00
Jens Steube
75d801e1d7
Compile macOS: Fixed makefile target 'clean' to correctly remove *.dSYM folders
2020-07-08 12:48:29 +02:00
Jens Steube
b35a7fc72e
Merge pull request #2480 from philsmd/macos_alias_detection
...
fixes #2460 : better alias detection esp. for macOS
2020-07-03 13:17:04 +02:00
Jens Steube
2b08f736eb
Merge pull request #2479 from philsmd/stdout_status_code
...
fixes #2465 : --stdout should return status code 0
2020-07-03 13:16:24 +02:00
philsmd
3e822e97b9
fixes #2460 : better alias detection esp. for macOS
2020-07-02 17:39:22 +02:00
philsmd
541ef659aa
fixes #2465 : --stdout should return status code 0
2020-07-02 17:32:54 +02:00
philsmd
9ec84ed6bd
fix pw_max w/ -O for -m 10600
2020-07-02 17:27:43 +02:00
Jens Steube
5d04e97adc
Fixed maximum password length in modules of hash-modes 600, 7800, 7801 and 9900
2020-07-02 12:20:41 +02:00
Jens Steube
1563405950
Merge pull request #2471 from philsmd/clean_target_makefile
...
Makefile: update clean/distclean targets
2020-07-01 13:22:08 +02:00
Jens Steube
e141742944
Merge branch 'master' into m23100_apple_keychain
2020-07-01 13:01:16 +02:00
Jens Steube
ab4a1783df
Merge branch 'master' into master
2020-07-01 12:50:44 +02:00
philsmd
570d0ac090
Makefile: added .dictstat2, brain files and luks_tests to the distclean target
2020-07-01 10:45:38 +02:00
Jens Steube
3ac68b455c
Merge pull request #2464 from roycewilliams/master
...
update team preferred handles; clarify optimizer title
2020-07-01 09:44:13 +02:00
philsmd
8c54727a8c
updates default pw_max length for blake2b
2020-06-27 12:48:36 +02:00
philsmd
480466a954
kerberos: do NOT use PWDUMP format with -m 7500/18200
2020-06-27 12:40:40 +02:00
philsmd
78dd206bf2
Makefile: update clean/distclean targets
2020-06-27 12:37:48 +02:00
philsmd
630bb5b811
fixes #2457 : added -m 23100 = Apple Keychain
2020-06-25 17:36:43 +02:00
philsmd
bd9304724c
fixes #1298 : add pure kernels for -m 600 = BLAKE2b-512
2020-06-24 23:41:58 +02:00
Royce Williams
b09bebae3c
make 'Applicable optimizers' less ambiguous
2020-06-23 12:10:47 -08:00
Jens Steube
5628317de8
OpenCL Runtime: Reinterpret return code CL_DEVICE_NOT_FOUND from clGetDeviceIDs() as non-fatal
2020-06-19 13:15:31 +02:00
Vitaly Zaitsev
d259689e19
Fixed linkage against packaged version of minizip (part of zlib).
...
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-06-17 16:06:25 +02:00
Vitaly Zaitsev
eb8c398114
Allow GNU/Linux maintainers to select configure options without
...
patching of Makefile.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-06-17 12:50:33 +02:00
Jens Steube
9b3cda2d43
Unset PRODUCTION in src/Makefile
2020-06-17 11:02:04 +02:00
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
4ac772d272
Merge pull request #2451 from philsmd/left_eol_fix
...
fixes #2424 : only print EOL in case of non-binary hash file
2020-06-15 15:11:14 +02:00
philsmd
11f3c8c285
fixes #2424 : only print EOL in case of non-binary hash file
2020-06-15 15:07:47 +02:00
philsmd
0ef0a1673f
fixes #2162 : add -liconv to FreeBSD's Makefile LFLAGS
2020-06-15 14:55:12 +02:00
philsmd
e59f61e8cf
cosmetic: minor code style fixes
2020-06-13 11:19:00 +02:00
Royce Williams
f3606e307a
strip trailing whitespace - h/t @philsmd
2020-06-11 08:35:10 -08:00
Jens Steube
9ea8b3424d
Merge branch 'master' into pkcs1
2020-06-10 10:51:43 +02:00
Royce Williams
cafb3bde0b
wrap kernel optimization warning
2020-06-09 11:56:20 -08:00
Jens Steube
69bdd5012c
Merge pull request #2420 from philsmd/dnssecDotReplaceByLen
...
fixes #2365 : NSEC3 dot replace and empty salt/domain fix
2020-06-09 10:45:02 +02:00
Matt Palmer
70441138ed
Renumber PEM module to 22900
...
Also took the liberty of removing old PKCS1 naming everywhere,
so as to prevent future confusion.
2020-06-08 13:36:39 +10:00
Jens Steube
3a9929bd3d
Merge pull request #2419 from philsmd/rarHpPureFix
...
fixes #2390 : RAR3-hp cracking w/ pass > 28 (pure kernel) + tests added
2020-06-04 10:06:29 +02:00
Jens Steube
f6322dccd5
Merge branch 'master' into pkcs1
2020-06-04 09:44:01 +02:00
Jens Steube
a6a6bb200a
Mark NV 441.x as fixed
2020-06-03 14:38:04 +02:00
Jens Steube
09b2bb0ad7
Fixed a buffer overflow in module_hash_decode() of -m 15500
2020-06-03 12:51:38 +02:00
Jens Steube
1e469a96a4
Add missing branch in automatic alias device selection
2020-06-03 12:31:17 +02:00
Jens Steube
dc9f4e993a
Fix for #2387 , but need some testing first
2020-06-03 11:10:31 +02:00
Jens Steube
891b59fb2f
Remove some old code no longed needed
2020-06-03 10:05:29 +02:00
Jens Steube
34f71aaea3
Re-enable POCL is version detected is >= 1.5 and LLVM is >= 9.x and also remove performance warning. Still prefers native OpenCL runtime in alias detection, but this default can be overriden using -d parameter.
2020-06-03 09:29:20 +02:00
Jens Steube
c51b6391c9
Merge pull request #2405 from philsmd/luks_hash_example_fix
...
luks: remove self-test example hash
2020-06-02 12:35:07 +02:00
Jens Steube
4aaec30ada
Merge pull request #2404 from philsmd/master
...
use our safe free () wrapper hcfree whenever possible
2020-06-02 12:34:19 +02:00
Jens Steube
a8aece13a2
Merge pull request #2425 from philsmd/secureZIP
...
fixes #2410 : added -m 2300x = SecureZIP
2020-06-02 12:33:09 +02:00
philsmd
416bdd8e47
SecureZIP: use hex_encode () / hex_decode ()
2020-06-02 11:21:25 +02:00
philsmd
e151a72717
huge fwrite/fread problem on windows fixed
2020-06-02 09:52:10 +02:00
philsmd
5df743cb85
fixes #2410 : added -m 2300x = SecureZIP
2020-05-31 10:36:41 +02:00
Jens Steube
6c0dc7493e
Fix modules where salt->salt_buf[] is used but salt->salt_len was not set
2020-05-29 11:19: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
Matt Palmer
cff3fbda9b
Provide benchmark esalt structure
2020-05-27 20:30:00 +10: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
philsmd
f382d24dcf
fixes #2365 : NSEC3 dot replace and empty salt/domain fix
2020-05-25 11:30:45 +02:00
philsmd
edfe21b902
fixes #2390 : RAR3-hp cracking w/ pass > 28 (pure kernel) + tests added
2020-05-25 11:08:33 +02:00
Jens Steube
9b64a405d1
Fixed cleanup of password candidate buffers on GPU set from autotune in case -n was used
2020-05-20 12:44:04 +02:00
Matt Palmer
2d83149a54
Module to decrypt PEM-encoded encrypted private keys ( #74 )
...
Supports a variety of common PKCS#1 ciphers, with fast kernels in all
available colours, shapes, and sizes.
2020-05-19 23:58:09 +10:00
Matt Palmer
c39e3dfcea
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-05-19 23:52:16 +10:00
Jens Steube
1dc3469f6e
Merge pull request #2372 from mpalmer/binary-parse-report-error
...
Allow module_hash_binary_parse to report a fatal error
2020-05-18 15:14:49 +02:00
philsmd
943c57ae5f
luks: remove self-test example hash
2020-05-14 19:27:39 +02:00
philsmd
d1c3274965
use our safe free () wrapper hcfree whenever possible
2020-05-14 19:21:59 +02:00
Jens Steube
109fa01a54
Merge pull request #2395 from s3inlc/patch-2
...
Adding escaping for --status-json
2020-05-14 09:44:10 +02:00
Sein Coray
d91a25027b
minor adjustments to code style and explanatory comment added
2020-05-13 13:37:30 +02:00
Jens Steube
ff37264c36
Use special type for hashlist sorting in brain_compute_session()
2020-05-12 08:54:26 +02:00
Sein Coray
4a0757e251
added escaping to --status-json output
2020-05-11 23:22:47 +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
08ea00020a
Fixed calculation of brain-session ID, only the first hash of the hashset was taken into account
2020-05-10 10:05:14 +02:00
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
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
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
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
949b61a6bb
Fix constant separator when printing IPMI hashes
2020-03-31 17:37:46 +02:00