1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-01 20:38:14 +00:00
Commit Graph

4770 Commits

Author SHA1 Message Date
Jens Steube
47b49d81de Prepare fixes to enable scrypt cracking on macOS 13 2022-11-24 22:46:03 +01:00
Jens Steube
80ba8ca18e Rename -m 25850 to 30600 and add missing unit-test 2022-11-23 10:37:12 +01:00
Jens Steube
6e0ec16e35
Merge pull request #3513 from mephesto1337/bcrypt_sha256
Bcrypt sha256
2022-11-22 19:12:48 +01:00
Jens Steube
b3095acc8b
Merge pull request #3511 from rickvanderzwet/issue-3484-m14600-error-handling-on-container-without-payload
Fix m14600 confusing error message on container without payload data
2022-11-21 19:14:47 +01:00
PenguinKeeper7
0537794b50
Update module_17210.c 2022-11-21 11:51:14 +00:00
PenguinKeeper7
39700ad870
Update module_17210.c 2022-11-21 11:44:08 +00:00
PenguinKeeper7
fd3c0a7467
Update module_17210.c 2022-11-21 11:43:03 +00:00
Thomas WACHE
01938c374c Merge remote-tracking branch 'origin/master' into bcrypt_sha256 2022-11-21 10:39:28 +01:00
Thomas WACHE
e159b459a4 Added bcrypt_sha256
This is the hash format used by Rocket.Chat
2022-11-21 10:36:01 +01:00
Jens Steube
18fcf28d64 Apple Driver: Automatically enable GPU support on Apple OpenCL instead of CPU support
Apple Driver: Updated requirements to use Apple OpenCL API to macOS 13.0
2022-11-20 14:27:16 +01:00
Jens Steube
8a82c75a99 macOS 13.0 fixed many issues in the OpenCL API. The module_unstable_warning() functions in many hash modes can then be removed 2022-11-20 12:21:41 +01:00
Jens Steube
346e945045
Merge branch 'master' into ripemd160-hmac 2022-11-19 14:24:23 +01:00
jsteube
9a52ee6d01 Fix error message in backend.c and add missing new hash-mode entries in changes.txt 2022-11-18 09:47:17 +00:00
Rick van der Zwet
1b663b02fe Fix m14600 confusing error message on container without payload data
When multiple error messages are available, prioritize any parsing error
over PARSER_LUKS_KEY_DISABLED.

This takes priority since it  more meaningfull to report to user.
2022-11-17 20:59:09 +01:00
jsteube
c35d8ecfd4 Update hash category for hash-mode 170xx 2022-11-17 11:31:35 +00:00
Mr Dromedary
c3e852b287 Interface changed, add module_benchmark_charset 2022-11-16 16:06:44 +01:00
Mr Dromedary
1ed5d7d6d8 Support for GPG keys with SHA-512 as s2k digest algorithm 2022-11-16 15:49:06 +01:00
Jens Steube
66b22fa644 Add support for Metal > 300 and reject support for older version 2022-11-16 14:26:54 +01:00
piwvvo
0bd3fa4fe4 added HMAC-RIPEMD160 2022-11-14 20:18:35 +01:00
piwvvo
f5c53a7e77 added mode 30500 2022-11-14 18:19:41 +01:00
Jens Steube
1f4d8dd0fd Remove OPTS_TYPE_MAXIMUM_THREADS flag where no longer required by AMD HIP jit compiler 2022-11-14 17:41:22 +01:00
Jens Steube
653f34e9a2 Mark some hash-modes for Apple Metal as unstable 2022-11-12 19:16:31 +01:00
Jens Steube
6aa3e0882d Mark some hash-modes for Apple Metal as unstable 2022-11-12 10:47:58 +01:00
Jens Steube
3e497ac87b Add some makefile changes regarding clang and apple 2022-11-11 12:01:19 +01:00
Jens Steube
8f0d69ea9c Always assume 8 compute unit for metal GPUs 2022-11-09 16:09:57 +01:00
Jens Steube
f6537a2964 Use inline static on HIP for some hash-modes which benefit from it 2022-11-07 15:35:46 +01:00
Jens Steube
6d5d9a266f AMD Driver: Updated requirements for AMD Windows drivers to "AMD Adrenalin Edition" (Adrenalin 22.5.1 or later) 2022-11-05 12:56:36 +01:00
jsteube
02698b1c77 Rename -m 1412 to -m 30420, add unit test and optimized kernels 2022-11-03 20:03:20 +00:00
dloveall
73cd517c36
SHA2-256 DANE RFC7929/RFC8162 support
Add support for SHA2-256 DANE RFC7929/RFC8162 records. These records are the length of SHA2-224, but with the SHA2-256 IV. Code was started with module 1400 (SHA2-256) and modified based on module 1300 (SHA2-224).
2022-11-03 15:03:09 -04:00
Jens Steube
2a20731b00 Remove unroll flag for -m 1500 for HIP because ROCm 5.3 uses new PM and unroll has negative effect on it 2022-11-02 18:28:41 +01:00
Jens Steube
b8dd806944 Revert accidental removal of check to backend_devices_cnt 2022-11-01 19:39:03 +01:00
Jens Steube
eaf3de164b Remove option "-flegacy-pass-manager" if HIP backend is used. Support was removed from LLVM 15. There's no alternative option available.
Fixes #3469
2022-11-01 19:36:03 +01:00
Jens Steube
932ddb1ee2
Merge pull request #3493 from fse-a/improved_error_message
Added error message describing workaround when detecting more than 64
2022-10-29 19:38:22 +02:00
Jens Steube
8e6351cf77
Merge pull request #3482 from davidrozen76/master
Add hash-mode 3730 - Dahua NVR/DVR - md5($salt1.strtoupper(md5($salt2…
2022-10-28 21:41:03 +02:00
pelle
f456973928 Added error message describing workaround when detecting more than 64 backend devices. 2022-10-27 12:09:37 +02:00
jsteube
baa3744689 Fixed false negative in updated -m 299xx plugins due to invalid handling of decrypted data.
Fixed #3490
2022-10-26 06:06:08 +00:00
Jens Steube
e34a9244f3
Merge pull request #3489 from Lars-Saetaberget/lastpass_bugfix
Fix bug in -m 6800 where not all hashes are checked if they have the same salt
2022-10-25 16:48:16 +02:00
Jens Steube
1f0fb154a5
Merge pull request #3485 from Lars-Saetaberget/lastpass_iv
Add support for non-zero IV to lastpass (-m 6800)
2022-10-24 18:19:46 +02:00
Lars Sætaberget
b30e9ec4da Fix bug in -m 6800 where not all hashes are checked if they have the same salt 2022-10-24 09:26:38 +02:00
davidrozen76
c8907ebb63
Merge branch 'master' into master 2022-10-23 15:01:12 +03:00
Pikachu
2abe512634 Removed unnecessary changes made to inc_common.h and made the proper adjustments in the OpenCL kernels to inflict the changes 2022-10-23 14:58:15 +03:00
Pikachu
2a19e0c0bd Removed unnecessary parsing of salt2 in pure kernels 2022-10-23 08:08:33 +03:00
jsteube
409bbf101e Remove OPTS_TYPE_SUGGEST_KG from -m 299xx 2022-10-22 16:43:20 +00:00
Lars Sætaberget
f40dc401bc Add IV support to lastpass (-m 6800)
If you are from the past and need the old functionality, just use zeroes for the IV.

For instance, the old example hash would then become:
82dbb8ccc9c7ead8c38a92a6b5740f94:500:pmix@trash-mail.com:00000000000000000000000000000000
2022-10-21 14:37:24 +02:00
jsteube
2e684efeb7 Update -m 299xx modules to test for 56 bit instead of 32 bit 2022-10-20 15:08:19 +00:00
Pikachu
9944e964d6 Add hash-mode 3730 - Dahua NVR/DVR - md5($salt1.strtoupper(md5($salt2.$pass)))
Pure kernel on attack mode 0 doesn't crack when only a single hash is present in the hashfile (otherwise ok) - self-test fails as well.
2022-10-20 12:57:48 +03:00
jsteube
3952453ae9 Add module for -m 29940 2022-10-16 18:20:52 +00:00
jsteube
98c039471f Add module for -m 29930 2022-10-14 19:25:25 +00:00
jsteube
0f7fc863d3 Add module for -m 29920 2022-10-12 13:34:07 +00:00
jsteube
04266834db Improve some sanity checks in module for -m 29910 2022-10-11 18:46:02 +00:00
jsteube
da4adf9882 Add module for -m 29910 2022-10-09 18:19:06 +00:00
jsteube
1cee512c09 Add missing module_pw_min() function for -m 29800
Fixes #3462
2022-09-26 09:05:36 +00:00
jsteube
1dd8caf3b1 Fix SHA1 input buffer for .dictstat2 filenames.
Fixes #3465
2022-09-25 15:42:19 +00:00
Jens Steube
98a5424f29 Update usage screen wording in section for --outfile-check-dir
Fixes #3464
2022-09-24 17:24:15 +02:00
Jens Steube
1e5e7735dc
Merge pull request #3463 from Banaanhangwagen/master
Add new algorithm: BISQ .wallet (scrypt) (-m 29800)
2022-09-19 10:45:46 +02:00
Jens Steube
5988a91e0e
Merge pull request #3461 from philsmd/philsmd-rp-segfault
rp: prevent crash in case of too little RAM for rules
2022-09-18 14:33:19 +02:00
Jens Steube
7c177f3c94
Merge pull request #3460 from philsmd/philsmd-combinator-comment
fix comment for combinator_ctx_init () call
2022-09-17 23:37:38 +02:00
Banaanhangwagen
33a5ff2d40
Create module_29800.c 2022-09-16 16:24:04 +02:00
philsmd
1cdf4682b0
rp: prevent crash in case of too little RAM for rules 2022-09-14 16:19:51 +02:00
philsmd
67585eb470
fix comment for combinator_ctx_init () call 2022-09-14 16:11:47 +02:00
Konrad Goławski
3e2f8870a3 Fix improper strings comparision 2022-09-14 01:00:20 +02:00
Jens Steube
8973f2beca Add more RC_FINAL_ enum types 2022-09-12 20:48:38 +02:00
Jens Steube
7a5ea7e255
Merge pull request #3456 from davidbolvansky/escape_fields_json
Escape some fields of --status-json output
2022-09-11 17:02:10 +02:00
Dávid Bolvanský
3b033af7d6 Escape some fields of --status-json output 2022-09-11 01:44:54 +02:00
Jens Steube
522e87c08f Remove unused variable 2022-09-10 18:12:01 +02:00
Jens Steube
d04dec91d1
Merge pull request #3448 from davidbolvansky/status-info-enhanced
Added more HW info to status-json output
2022-09-09 13:20:46 +02:00
Dávid Bolvanský
98fd9126b9 Added more HW info to status-json output 2022-09-07 23:57:46 +02:00
Chick3nman
dd58e52800
Fix Typo
Fix a minor typo in a comment
2022-09-07 15:52:06 -05:00
Chick3nman
ee11834d3c
Add potfile warning for Assoc Attack
Warn users that the potfile will not be used for Association Attack mode
2022-09-07 15:50:20 -05:00
Jens Steube
acbcd04884
Merge pull request #3441 from IppSec/master
Updated flask session max length for payload to be 2047
2022-09-07 17:44:41 +02:00
ippsec
cec997e321 Change the token size from 2047 to 56. In the current kernel we only have 57 bytes worth of space 2022-09-06 14:58:11 -04:00
Dávid Bolvanský
454b0ad294 Do not hexify worldlist when --hex-charset is used 2022-09-06 01:25:23 +02:00
Jens Steube
1d9147ce1c
Merge pull request #3439 from davidbolvansky/hash-info-deprecated
Expose deprecated status and notice in hash info
2022-09-05 18:28:20 +02:00
ippsec
1687fd80f4 Updated flask session max length for payload to be 2047 2022-09-05 11:26:34 -04:00
Dávid Bolvanský
ba886c4805 Expose deprecated status and notice in hash info 2022-09-04 23:02:06 +02:00
Jens Steube
613c863f1d Prepare an enum type to represent the final return codes 2022-09-04 18:10:40 +02:00
Jens Steube
93d40beb17 Status Code: Add specific return code for self-test fail (-11)
Fixes https://github.com/hashcat/hashcat/issues/3437
2022-09-03 15:46:40 +02:00
Jens Steube
9de24b8598 Unset PRODUCTION option 2022-09-02 17:23:37 +02:00
Jens Steube
e5b3023636 hashcat 6.2.6 2022-09-02 16:58:13 +02:00
Jens Steube
ea29cb5805 Restore: Restore timer is decreased from 60 seconds to 1 second, but only updates if there's actually a change compared to previous data written to restore file 2022-08-31 11:44:13 +02:00
Jens Steube
7b36d7ebf8 Fixed autodetect memory allocation for temporary hashes for LUKS v1 (legacy) in --identify mode 2022-08-31 10:53:56 +02:00
Jens Steube
5aaf8e2c42 AMD Driver: Updated requirements for AMD Linux drivers to "AMDGPU" (21.50 or later) and "ROCm" (5.0 or later)
AMD Driver: Updated requirements for AMD Windows drivers to "AMD Adrenalin Edition" (Adrenalin 22.5.1 exactly)
2022-08-30 10:12:26 +02:00
Jens Steube
289f6b7cbd Fix missing OPTS_TYPE_PT_ALWAYS_HEXIFY in -m 29700 which is later required for test.sh compatiblity 2022-08-29 20:35:10 +02:00
philsmd
13ac0561ab
cosmetic: use N/A in status prompt, typo fix 2022-08-27 11:08:36 +02:00
Jens Steube
49517f63cb HIP Backend: removed unused functions from hiprtc to workaroung missing function symbols on windows dll 2022-08-26 14:53:15 +02:00
Jens Steube
f6275fb47b
Merge pull request #3421 from davidbolvansky/amd_driver_unstable_warnings
Remove unstable warnings for AMD GPU
2022-08-23 17:50:45 +02:00
Jens Steube
93e9da9716
Merge pull request #3424 from davidbolvansky/metal_spaces_in_inc_path
metal: escape spaces in include path with backslash
2022-08-22 15:34:34 +02:00
Jens Steube
7ca2627bc2 Added hash-mode: KeePass 1 (AES/Twofish) and KeePass 2 (AES) - keyfile only mode 2022-08-21 18:02:35 +02:00
Jens Steube
c884a5d02f Logfile: Write per-session "recovered new" value to logfile
Fixes https://github.com/hashcat/hashcat/issues/3392
2022-08-20 09:39:59 +02:00
Dávid Bolvanský
480c23c05d metal: escape spaces in include path with backslash 2022-08-19 23:58:35 +02:00
Jens Steube
a52b70d1c5 Refactored Recovered.New... handling 2022-08-19 12:02:21 +02:00
Dávid Bolvanský
38f6bbcbdc Remove unstable warnings for AMD GPU 2022-08-18 22:22:01 +02:00
Jens Steube
bf0ffa66d7 Abstract access to digests_done_new via API 2022-08-18 11:21:34 +02:00
Jens Steube
c3e18f7fed Remove module_unstable_warning() entry for older AMD GPU for -m 1500 2022-08-17 18:41:50 +02:00
jsteube
8668694daf Show Recovered.New status entry also if no potfile entry matched a hashlist entry 2022-08-16 13:55:42 +00:00
jsteube
05eff0d683 Fixed invalid handling of keyfiles in Keepass if transf_random_seed doesn't change 2022-08-14 18:15:06 +00:00
Jens Steube
78ee811fa9 Use -flegacy-pass-manager for -m 501, -m 1600 and -m 6300 on AMD HIP for massive speed improvement 2022-08-12 16:20:14 +02:00
Jens Steube
16d5beb1a6 Use -flegacy-pass-manager for -m 500 on AMD HIP for massive speed improvement 14.3MH/s -> 24.6MH/s 2022-08-11 17:43:18 +02:00
Jens Steube
3d898c5daf AMD Driver: Updated requirements for AMD Linux drivers to ROCm 5.2.1 or later due to new HIP interface 2022-08-10 19:19:34 +02:00
jsteube
c8350eb555 Added tunings/ folder in order to replace hashcat.hctune. Configuration files with *.hctune suffix are automatically load on startup 2022-08-08 11:09:04 +00:00