1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-14 10:38:18 +00:00
Commit Graph

9567 Commits

Author SHA1 Message Date
Rosen Penev
b266fa6b7e hashcat: add meson
Provides simpler and faster build recipes than the custom ones currently
in use.

Uses wraps(subprojects) from WrapDB instead of custom dependencies when
the host does not provide them.

Added a CI to test most platforms.

Added wraps in case host system is missing dependencies.

Supports cross compilation. Sample Windows cross build definition files
added.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-04-05 16:15:51 -07:00
Rosen Penev
755b0f41cc dragon 2024-03-02 19:21:02 -08:00
Rosen Penev
2f1a983bc6 Fix MinGW printf formats
Based on various compilation flags, MinGW uses either gnu_printf or
printf (really ms_printf) internally which confuses the compiler when
encountering gnu formats. OTOH, clang under MinGW does not support
gnu_printf.

Just use the macro to handle this mess.

Also remove macro that was originally used to work around this. It's
wrong and should not be used.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-02-28 18:56:52 -08:00
Rosen Penev
8d1fc952f7 Fix compilation on newer FreeBSD
Apparently qsort_r is a macro now. Check for it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-02-28 18:56:52 -08:00
Rosen Penev
a381539545 replace index with strchr
The former is deprecated and unavailable if POSIX_C_SOUCE==200811L.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-02-28 18:56:52 -08:00
Jens Steube
fafb277e07
Merge pull request #3950 from fse-a/scrypt-performance-improvements
Improve performance of scrypt-based algorithms by code reordering.
2024-02-16 10:29:35 +01:00
fse-a
47509b2954 Improve performance of scrypt-based algorithms by code reordering. 2024-02-15 15:17:29 +01:00
Jens Steube
c1a10518fd
Merge pull request #3938 from fse-a/increase-virtual-backend-limit
Increase virtual backend limit
2024-01-29 11:20:10 +01:00
fse-a
f8c0899670 Increased-virtual-backend-limit
Increased the virtual backend limit.
2024-01-25 10:27:38 +01:00
Jens Steube
4d412c8e04
Merge pull request #3910 from Fil0sOFF/intel-igpu-memory-usage-fix
Fix RAM usage for Intel iGPUs
2023-11-27 16:24:08 +01:00
jsteube
e15169bd49 Fix allocation buffer for --dynamic-x in hashes_init_stage2() 2023-11-26 07:31:18 +00:00
jsteube
810c65f908 Fix some warning about --dynamic-x in hashes_init_stage1() 2023-11-25 11:44:47 +00:00
jsteube
d7bcc76b92 Add dynamic-x info to to save_hash() 2023-11-24 23:20:46 +00:00
Sergey Popov
c7923fe8ba Fix RAM usage for Intel iGPUs 2023-11-24 23:03:00 +02:00
jsteube
9d1bbd8472 Add support for hash comparison checks to allow slight inaccuracies if so selected in the kernel 2023-11-23 15:19:02 +00:00
jsteube
f8bd133373 Add new function count_bits_32() in inc_common.cl 2023-11-22 03:36:28 +00:00
Jens Steube
13559cf902
Merge pull request #3904 from ViperelB/master
Updated Alias.hctune with more AMD cards
2023-11-21 13:15:23 +01:00
jsteube
1b357036f4 Add initial code for dynamic-x support in potfile.c, not active yet 2023-11-20 10:14:09 +00:00
ViperelB
6f862d25b5
typo fix 2023-11-20 10:06:12 +02:00
ViperelB
17c3ec31db
Updated Alias.hctune with more AMD cards 2023-11-20 09:36:19 +02:00
jsteube
9269229c03 Fix some variable names and types related to dynamic-x support in hashes.c 2023-11-19 11:45:24 +00:00
jsteube
b906a145ca Initialize new dynamicx type in autodetect_hashmode_test() 2023-11-18 21:04:41 +00:00
jsteube
d2d27cd35e Add code to fetch dynamic-x info in potfile if there's dynamic-x enabled 2023-11-17 22:03:01 +00:00
jsteube
dad46090d7 Fix variable name dynamicx_t in hashinfo_t 2023-11-16 19:01:25 +00:00
jsteube
7faa6a94a5 Add dynamicx_t type for later use in potfile.c and outfile.c and also add to hashinfo_t 2023-11-15 17:06:37 +00:00
jsteube
252e7614da Add a warning about delayed output in case --dynamic-x is used in combination with --show 2023-11-14 07:05:20 +00:00
jsteube
702306dfd5 If --dynamic-x is used, potfile database needs to keep all hashes 2023-11-13 08:48:11 +00:00
jsteube
4da1d31668 Replaced index() with strchr() to enable mingw to compile windows binaries 2023-11-12 11:02:10 +00:00
Jens Steube
46ce637d3c
Merge pull request #3900 from 0x588/base58
Update inc_hash_base58.cl
2023-11-11 17:33:14 +01:00
jsteube
934105bec0 Start using extract_dynamicx_hash() from hlfmt_hash_hashcat() 2023-11-10 09:16:28 +00:00
jsteube
2029be782e Refactor extract_dynamic_x() to extract_dynamicx_hash() and add code 2023-11-09 15:04:32 +00:00
jsteube
2d3ebf1d4e Add global dynamic-x hash mode extraction function 2023-11-08 14:43:45 +00:00
0x588
a196cfe01c Update inc_hash_base58.cl
Fix the logic error in the loop
2023-11-08 17:08:58 +08:00
jsteube
4da995cf88 Change hlfmt.c strategy to extract dynamic-x hash-mode 2023-11-07 22:08:55 +00:00
jsteube
09915c7243 Prepare hlfmt.c for combination of --username and --dynamic-x 2023-11-06 20:05:09 +00:00
jsteube
81edbfd30a Add --dynamic-x parameter to bash completion script 2023-11-05 11:52:57 +00:00
jsteube
5f735dadae Add usage entry for new --dynamic-x parameter 2023-11-04 13:16:56 +00:00
jsteube
c00d88e2d9 Prepare hlfmt.c for dynamic_x flag 2023-11-03 18:30:29 +00:00
jsteube
cdad6cca7b Fix datatype access to user_options->username in hlfmt.c 2023-11-02 16:48:54 +00:00
jsteube
b66527f0d2 Prepare commandline parameter for upcoming partial support for $dynamic_X$ 2023-11-01 16:12:44 +00:00
jsteube
b1b349e8c9 Prepare commandline parameter for upcoming partial support for $dynamic_X$ 2023-10-31 10:38:10 +00:00
jsteube
adbcef6909 Refactor optimized_kernel_enable variable to just optimized_kernel, same idea as outfile_autohex variable 2023-10-30 15:09:36 +00:00
jsteube
686bc227cf Allow user to use --keyboard-layout-mapping for VeraCrypt SHA512 plugins.
This plugin doesn't require a dedicated boot hash-mode, because the iteration count is the same for both boot and partition/file hash-mode.
For that reason it should be allowed to use keyboard mapping functionality.
2023-10-26 11:42:01 +00:00
Jens Steube
8a206a9c09
Merge pull request #3895 from PenguinKeeper7/patch-1
Add 4060/4060Ti to autotune alias
2023-10-22 18:56:41 +02:00
jsteube
e55b331058 Refactor potfile_disable variable to just putfile, same idea as outfile_autohex variable 2023-10-21 16:42:29 +00:00
jsteube
b597a96328 Refactor restore_disable variable to restore_enable, try to make variable names always positive for easier handling 2023-10-20 12:16:18 +00:00
jsteube
ff94f4c9d0 Refactor self_test_disable variable to just self_test, same idea as outfile_autohex variable 2023-10-19 06:08:24 +00:00
PenguinKeeper7
208f9b88dd
Add 4060/4060Ti to autotune alias 2023-10-18 14:37:22 +01:00
jsteube
7b52dad8c9 Refactor multiply_accel_disable variable to just multiply_accel, same idea as outfile_autohex variable 2023-10-18 12:41:09 +00:00
jsteube
bf04a158aa Refactor markov_disable variable to just markov, same idea as outfile_autohex variable 2023-10-17 12:17:05 +00:00