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

4775 Commits

Author SHA1 Message Date
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
jsteube
7668ec5865 Prepare file_to_buffer() for later use 2022-08-07 20:36:08 +00:00
jsteube
51b1744805 Fix some format in -m 29600 2022-08-06 19:56:11 +00:00
Jens Steube
a500543729
Merge branch 'master' into 29600_no_hash_copy 2022-08-05 11:03:42 +02:00
Jens Steube
99be4f9fd8
Merge pull request #3409 from philsmd/29600_salt_arr_size
fix length of salt_buf for -m 29600
2022-08-04 09:41:01 +02:00
Jens Steube
c957861af7
Merge pull request #3408 from philsmd/29600_hex_salt
add OPTS_TYPE_ST_HEX to -m 29600 and restrict salt lengths
2022-08-03 17:13:25 +02:00
Jens Steube
3f20e50c86
Merge pull request #3406 from philsmd/29600_example_hash
updates example hash and password for -m 29600
2022-08-01 15:24:05 +02:00
Jens Steube
c36cc0b4ff
Merge pull request #3405 from philsmd/29600_name_readme_category
fixes #3404: fixed name/category/readme for -m 29600
2022-07-31 18:53:29 +02:00
philsmd
cccb4fdaf4
no need for OPTS_TYPE_HASH_COPY in -m 29600 2022-07-30 11:58:40 +02:00
philsmd
0822930471
fix length of salt_buf for -m 29600 2022-07-30 11:54:50 +02:00
philsmd
93c8f3cb7c
add OPTS_TYPE_ST_HEX to -m 29600 and restrict salt lengths 2022-07-30 11:48:57 +02:00
philsmd
891a348d99
updates example hash and password for -m 29600 2022-07-30 11:39:49 +02:00
philsmd
ccd754f220
fixes #3404: fixed name/category/readme for -m 29600 2022-07-30 11:35:50 +02:00
philsmd
0fc1b66d98
fix white space in -m 29600 = Terra Station Wallet 2022-07-30 11:22:38 +02:00
Royce Williams
6239c49718 typo in --outfile-check-timer help example 2022-07-28 06:17:54 -08:00
jsteube
5fa08a7989 Terminal: Limit output length of example hash in --example-hash mode to 200. Use --mach to see full example hash 2022-07-27 12:35:57 +00:00
Jens Steube
9bc8a90593
Merge pull request #3395 from ventaquil/make-hash-info-readable-again
Set up maximum length of example hash
2022-07-27 13:30:36 +02:00
Konrad Goławski
336b9c38c8 Set up maximum length of example hash
Fixes GH-3382
2022-07-25 22:33:02 +02:00
Konrad Goławski
f7ba563a28 TrueCrypt modules code cleanup 2022-07-25 15:53:51 +02:00
Konrad Goławski
74e2dad0d7 LUKS legacy module code cleanup 2022-07-22 18:49:02 +02:00
Konrad Goławski
2bd1861a83 New LUKS modules code cleanup 2022-07-22 18:49:02 +02:00
danielnachun
29373a0f6d
src/filehandling.c: add missing include 2022-07-20 14:30:33 -07:00
jsteube
ded6b14474 Fix missing new module_benchmark_charset() entry in -m 29600 2022-07-20 18:21:13 +00:00
Tom S
b0d99924e5 m29600, terra crypto wallet 2022-07-18 17:08:38 +01:00
Jens Steube
aa5becf1ad
Merge pull request #3379 from ventaquil/code-cleanup-pkcs8
24410/24420 modules cleanup
2022-07-17 15:59:30 +02:00
philsmd
8a77861ba3
Makefile: update MODULE_INTERFACE_VERSION 2022-07-15 17:50:31 +02:00
Jens Steube
c13451d6d5
Merge pull request #3381 from philsmd/benchmark_custom_charset
change interface, add module_benchmark_charset ()
2022-07-15 17:19:23 +02:00
philsmd
d9749e8799
change interface, add module_benchmark_charset () 2022-07-15 17:17:57 +02:00
Jens Steube
eb9bb1c363
Merge pull request #3376 from philsmd/token_length_exception_summary
warning about token length exception was showing incorrect values/percentage
2022-07-15 16:06:20 +02:00
Jens Steube
c623164119
Merge pull request #3375 from philsmd/26200_hash_no_copy
avoid OPTS_TYPE_HASH_COPY, just use digest_buf in -m 26200 = OpenEdge
2022-07-14 21:14:04 +02:00
Jens Steube
854707a6a5
Merge pull request #3374 from philsmd/26200_hash_encoding
improved hash sanity checks for -m 26200 = OpenEdge
2022-07-14 21:11:44 +02:00
jsteube
9fe51563b1 Fix compiler warnings like this detected by MinGW GCC 10 or later:
```
src/modules/module_29543.c: In function ‘module_hash_encode’:
src/modules/module_29543.c:382:18: warning: ‘key_size’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
  382 |   int line_len = snprintf (line_buf, line_size,
      "%s%s$%u$%u$%s$%s$%s",
      |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  383 |     SIGNATURE_LUKS,
      |     ~~~~~~~~~~~~~~~
  384 |     cipher_mode,
      |     ~~~~~~~~~~~~
  385 |     key_size,
      |     ~~~~~~~~~
  386 |     iterations,
      |     ~~~~~~~~~~~
  387 |     salt_buf,
      |     ~~~~~~~~~
  388 |     af_buf,
      |     ~~~~~~~
  389 |     ct_buf);
      |     ~~~~~~~
```

Fix is not ideal but is better than uninitialized variables.
2022-07-13 06:49:27 +00:00
jsteube
37b30540ff Fix compiler warnings in MinGW GCC 10 2022-07-13 06:35:02 +00:00
jsteube
34c539355b Fix compiler warnings for -m 30xxx with GCC 11 2022-07-13 05:44:42 +00:00
Konrad Goławski
8564be20eb 24410/24420 modules cleanup 2022-07-13 01:37:59 +02:00
Jens Steube
599f7eedc0
Merge pull request #3373 from philsmd/24900_hash_encoding
better dahua_decode () sanity checks and error detection
2022-07-12 15:55:55 +02:00
Jens Steube
634b43e620
Merge pull request #3371 from philsmd/stock_module_fix
missing OPTS_TYPE_STOCK_MODULE in some hash modes (BLAKE2b-512 variants)
2022-07-11 19:22:27 +02:00
Jens Steube
a8bb6de550
Merge pull request #3367 from mdawsonuk/3205-2-werkzeugmd5
Added Python Werkzeug MD5 module
2022-07-10 15:12:34 +02:00
Jens Steube
afaa0b4e28
Merge pull request #3366 from mdawsonuk/3205-1-sha256crypt
Add Python Werkzeug SHA256 module
2022-07-10 15:11:49 +02:00
Jens Steube
92035a7c56
Merge pull request #3362 from enwony/master
fixed crossbuild for mingw/win64 issue #3361
2022-07-09 23:21:09 +02:00
Jens Steube
f33382a422
Merge pull request #3358 from philsmd/28900_default_pass
change default pass for -m 28900 = Kerberos 5, etype 18, DB
2022-07-09 20:33:07 +02:00
Jens Steube
f9757288da
Merge pull request #3357 from philsmd/28800_default_pass
change default pass for -m 28800 = Kerberos 5, etype 17, DB
2022-07-09 20:32:57 +02:00
philsmd
534acbacea
warning about token length exception was showing incorrect values/percentage 2022-07-09 12:22:39 +02:00
philsmd
4e4209e6c6
avoid OPTS_TYPE_HASH_COPY, just use digest_buf in -m 26200 = OpenEdge 2022-07-09 12:02:59 +02:00
philsmd
a71320ec9d
improved hash sanity checks for -m 26200 = OpenEdge 2022-07-09 11:57:55 +02:00
philsmd
27f7a72f92
better dahua_decode () sanity checks and error detection 2022-07-09 11:52:48 +02:00
philsmd
f153fe386c
missing OPTS_TYPE_STOCK_MODULE in some hash modes (BLAKE2b-512 variants) 2022-07-09 11:45:17 +02:00
Jens Steube
93427cab23
Merge pull request #3352 from philsmd/bitcoin_compat_address
Add -m 28505/28506, Bitcoin WIF, P2SH(P2WPKH)/compat address
2022-07-08 20:42:07 +02:00
Jens Steube
3515e3f40e
Merge pull request #3356 from philsmd/23400_default_pass
change default pass for -m 23400 = Bitwarden
2022-07-06 17:40:27 +02:00
Matt
2544385241
Rename module_30000.c to module_30120.c 2022-07-04 22:36:48 +01:00
Matt
01e80f40c7
Rename module_30010.c to module_30000.c 2022-07-04 22:35:46 +01:00
Matt
de54cc7793
Added Python Werkzeug format for MD5 (HMAC(key = $salt)) 2022-07-04 22:08:11 +01:00
enwony
1120c1a5de
Update src/modules/module_28504.c
Co-authored-by: kgolawski <konrad.golawski@gmail.com>
2022-07-05 06:46:05 +11:00
enwony
c2b5c19e87
Update src/modules/module_28504.c
Co-authored-by: kgolawski <konrad.golawski@gmail.com>
2022-07-05 06:45:56 +11:00
enwony
914de795f4
Update src/modules/module_28503.c
Co-authored-by: kgolawski <konrad.golawski@gmail.com>
2022-07-05 06:45:48 +11:00
Matt
73634d203b
Add Python Werkzeug SHA256 module 2022-07-04 19:39:10 +01:00
enwony
007a9e3f69
Update src/modules/module_28503.c
Co-authored-by: kgolawski <konrad.golawski@gmail.com>
2022-07-04 09:36:34 +11:00
Jens Steube
8e200e8eb6
Merge pull request #3363 from ventaquil/fix-hash-info-output
Increase event buffers sizes
2022-07-03 18:51:51 +02:00
Konrad Goławski
ef88993043 Use hex_encode/hex_decode in 24410-24420 modules 2022-07-03 18:17:47 +02:00
Konrad Goławski
a15fa2014c Increase event buffers sizes
Fixes GH-3359
2022-07-03 14:55:47 +02:00
enwony
a3d8a347b2 fixed crossbuild for mingw/win64 issue #3361 2022-07-03 02:28:11 +03:00
Jens Steube
364f1438a8 Fix pw_min / pw_max rejection test in -a 9 attack-mode 2022-07-02 21:26:20 +02:00
philsmd
a2b7996f82 change default pass for -m 28900 = Kerberos 5, etype 18, DB 2022-07-02 12:04:03 +02:00
philsmd
35e0ef1b67 change default pass for -m 28800 = Kerberos 5, etype 17, DB 2022-07-02 12:01:06 +02:00
philsmd
aaad0e3985 change default pass for -m 23400 = Bitwarden 2022-07-02 11:58:15 +02:00
philsmd
caeffebbe0 Add -m 28505/28506, Bitcoin WIF, P2SH(P2WPKH)/compat address 2022-06-29 18:15:48 +02:00
Jens Steube
e0fae5c7ab
Merge pull request #3344 from philsmd/bitcoin_segwit_p2wpkh
rename -m 28503/28504 from P2WSH to P2WPKH
2022-06-29 17:11:07 +02:00
Jens Steube
cd77e488dc
Merge pull request #3343 from philsmd/bitcoin_segwit_newline_fix
fix code, add newline in 28503/28504
2022-06-28 19:10:53 +02:00
Konrad Goławski
ddb2d6e61a New LUKS v1 modules 2022-06-25 13:54:20 +02:00
philsmd
1ba15ea3a0 rename -m 28503/28504 from P2WSH to P2WPKH 2022-06-25 11:57:51 +02:00
philsmd
e91369ad59 fix code, add newline in 28503/28504 2022-06-25 11:53:12 +02:00
Jens Steube
a7ab9f48c3
Merge pull request #3336 from philsmd/p2wsh_segwit_bech32
Add -m 28503/28504 = Bitcoin WIF, P2WSH/bech32/segwit address
2022-06-23 13:44:54 +02:00
Jens Steube
a414a9ed1a
Merge pull request #3334 from piwvvo/master
Added mode 4410 - md5(sha1($pass).$salt)
2022-06-22 20:30:00 +02:00
Jens Steube
b803319c80
Merge pull request #3331 from philsmd/p2pkh_use_b58check_enc
refactoring/simplification: use b58check_enc () when possible
2022-06-21 16:23:04 +02:00
piwvvo
8234cbaa13
Merge branch 'hashcat:master' into master 2022-06-20 18:55:00 +02:00
philsmd
22e033020a
Add -m 28503/28504 = Bitcoin WIF, P2WSH/bech32/segwit address 2022-06-20 15:25:34 +02:00
Jens Steube
372d3a127f
Merge pull request #3326 from ventaquil/pkcs-increase-accepted-salt-len
Increase salt length for PKCS#8
2022-06-19 20:41:22 +02:00
Jens Steube
a354faa0ea Fix compiler warning in -m 27700 2022-06-18 19:02:22 +02:00
piwvvo
6d941307ce added md5(sha1($pass).$salt) 2022-06-18 18:11:00 +02:00
philsmd
59838fa27c
refactoring/simplification: use b58check_enc () when possible 2022-06-18 11:24:12 +02:00
Konrad Goławski
3d03c80c6e Increase salt length for PKCS#8
Fixes GH-3323
2022-06-17 17:57:11 +02:00
Konrad Goławski
5898ae9fa3 Added legacy suffix to old TrueCrypt modules 2022-06-17 00:36:40 +02:00
Jens Steube
c53c28ed3a
Merge pull request #3302 from ventaquil/veracrypt-strings
VeraCrypt strings
2022-06-16 19:41:33 +02:00
Jens Steube
0b27d1f9ea
Merge pull request #3310 from half-duplex/mbc-low-iter
-m 27700: fix use of varied iteration counts
2022-06-15 16:08:40 +02:00
philsmd
754038ad16
fixes #3090 closes #3091: Added -m 2850x = Bitcoin WIF/P2PKH private key cracking 2022-06-11 11:44:05 +02:00
Konrad Goławski
b00ea483af New VeraCrypt modules 2022-06-07 23:01:03 +02:00
Konrad Goławski
fa78439181 VeraCrypt modules changes 2022-06-07 22:27:26 +02:00
Trevor Bergeron
d2705d1285
-m 27700: fix use of varied iteration counts 2022-06-07 14:46:31 -04:00
Jens Steube
f4e1bdf675
Merge pull request #3293 from ventaquil/truecrypt-strings
TrueCrypt strings
2022-06-07 16:09:53 +02:00
Konrad Goławski
1018cd7b28 New TrueCrypt modules 2022-06-06 18:00:26 +02:00
Jens Steube
ab8cc31b2d Remove some unused lines 2022-06-03 22:55:05 +02:00
Konrad Goławski
1c531780c1 TrueCrypt modules changes 2022-06-03 13:19:06 +02:00
Jens Steube
b5839644a8
Merge pull request #3300 from philsmd/radmin3_fix_pre
radmin3: use hexadecimal instead of .incbin
2022-05-31 13:02:28 +02:00
Jens Steube
4a7337ba46
Merge pull request #3299 from philsmd/radmin3_fix_datalen_comment
radmin 3: update comment about PRECOMP_DATALEN size
2022-05-31 13:01:46 +02:00
philsmd
ff53873791
radmin3: use hexadecimal instead of .incbin 2022-05-30 18:00:06 +02:00
philsmd
c5e5d63c98
radmin 3: update comment about PRECOMP_DATALEN size 2022-05-30 17:07:07 +02:00