1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-11 17:28:17 +00:00
Commit Graph

9570 Commits

Author SHA1 Message Date
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
ae14579d9b
Merge pull request #3372 from philsmd/tab_completion_whitespace
remove extra whitespace (double space) in tab completion script
2022-07-12 15:55:12 +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
90c2977f10
remove extra whitespace (double space) in tab completion script 2022-07-09 11:47:56 +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
db24f8c5d5
Merge pull request #3354 from philsmd/tests_keep_guessing
tests: use KEEP_GUESSING instead of NEVER_CRACK
2022-07-07 18:40:58 +02:00
Jens Steube
44be5967c9
Merge pull request #3355 from philsmd/murmur1_refactor
refactor -m 25700 = MurmurHash
2022-07-06 17:40:56 +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
Jens Steube
f7d104ea12
Merge pull request #3350 from philsmd/fix_28900_tests
fix test/verify for -m 28900
2022-07-05 19:12:09 +02:00
Jens Steube
0196790ba1
Merge pull request #3349 from philsmd/fix_28800_tests
fix test/verify for -m 28800
2022-07-05 19:11:55 +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
Jens Steube
b4df5a61f1
Merge pull request #3342 from philsmd/murmur3_refactor
refactor/simplify code of MurmurHash3
2022-07-04 22:05:52 +02:00
Jens Steube
9cc29aa1cd
Merge pull request #3347 from philsmd/fix_28600_tests
fix test/verify for -m 28600
2022-07-04 22:05:34 +02: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
Jens Steube
7b95899d95
Merge pull request #3364 from ventaquil/use-hex-convert-in-pkcs8
Use hex_encode/hex_decode in 24410-24420 modules
2022-07-03 18:51:17 +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
9f524afb28 refactor -m 25700 = MurmurHash 2022-07-02 11:53:53 +02:00
philsmd
96646d5a83 tests: use KEEP_GUESSING instead of NEVER_CRACK 2022-07-02 11:44:41 +02:00
Jens Steube
96072dbc61
Merge pull request #3351 from philsmd/update_install_modules
update tools/install_modules.sh (test deps)
2022-07-01 23:05:21 +02:00
Jens Steube
8fe64aec57
Merge pull request #3348 from philsmd/fix_23400_tests
fix test/verify for -m 23400
2022-06-30 20:44:22 +02:00
Jens Steube
3b35e26bfd
Merge pull request #3346 from philsmd/whitespace_4410
fix whitespace in -m 4410 kernel
2022-06-30 20:43:31 +02:00
philsmd
caeffebbe0 Add -m 28505/28506, Bitcoin WIF, P2SH(P2WPKH)/compat address 2022-06-29 18:15:48 +02:00
philsmd
8d8b6d689f update tools/install_modules.sh (test deps) 2022-06-29 18:07:50 +02:00