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

6 Commits

Author SHA1 Message Date
Gabriele Gristina
2adf735e51 Fixed bug in input_tokenizer when TOKEN_ATTR_FIXED_LENGTH is used and refactor modules 2023-04-11 19:34:01 +02:00
Konrad Goławski
3e2f8870a3 Fix improper strings comparision 2022-09-14 01:00:20 +02:00
Konrad Goławski
2bd1861a83 New LUKS modules code cleanup 2022-07-22 18:49:02 +02:00
philsmd
d9749e8799
change interface, add module_benchmark_charset () 2022-07-15 17:17:57 +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
Konrad Goławski
ddb2d6e61a New LUKS v1 modules 2022-06-25 13:54:20 +02:00