mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-20 03:22:06 +00:00
Get rid of outfile_check_timer variable in data. context
This commit is contained in:
parent
d321e0d5a4
commit
b4a3dd35b0
@ -969,7 +969,6 @@ typedef struct
|
|||||||
|
|
||||||
u32 attack_mode;
|
u32 attack_mode;
|
||||||
u32 attack_kern;
|
u32 attack_kern;
|
||||||
u32 outfile_check_timer;
|
|
||||||
u32 machine_readable;
|
u32 machine_readable;
|
||||||
u32 quiet;
|
u32 quiet;
|
||||||
u32 force;
|
u32 force;
|
||||||
|
@ -278,7 +278,6 @@ int main (int argc, char **argv)
|
|||||||
data.hex_wordlist = user_options->hex_wordlist;
|
data.hex_wordlist = user_options->hex_wordlist;
|
||||||
data.logfile_disable = user_options->logfile_disable;
|
data.logfile_disable = user_options->logfile_disable;
|
||||||
data.machine_readable = user_options->machine_readable;
|
data.machine_readable = user_options->machine_readable;
|
||||||
data.outfile_check_timer = user_options->outfile_check_timer;
|
|
||||||
data.powertune_enable = user_options->powertune_enable;
|
data.powertune_enable = user_options->powertune_enable;
|
||||||
data.quiet = user_options->quiet;
|
data.quiet = user_options->quiet;
|
||||||
data.runtime = user_options->runtime;
|
data.runtime = user_options->runtime;
|
||||||
@ -2650,8 +2649,6 @@ int main (int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
data.outfile_check_timer = user_options->outfile_check_timer;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* main loop
|
* main loop
|
||||||
*/
|
*/
|
||||||
|
@ -38,6 +38,7 @@ void *thread_outfile_remove (void *p)
|
|||||||
{
|
{
|
||||||
// some hash-dependent constants
|
// some hash-dependent constants
|
||||||
|
|
||||||
|
user_options_t *user_options = data.user_options;
|
||||||
opencl_ctx_t *opencl_ctx = data.opencl_ctx;
|
opencl_ctx_t *opencl_ctx = data.opencl_ctx;
|
||||||
hashconfig_t *hashconfig = data.hashconfig;
|
hashconfig_t *hashconfig = data.hashconfig;
|
||||||
hashes_t *hashes = data.hashes;
|
hashes_t *hashes = data.hashes;
|
||||||
@ -49,7 +50,7 @@ void *thread_outfile_remove (void *p)
|
|||||||
char separator = hashconfig->separator;
|
char separator = hashconfig->separator;
|
||||||
|
|
||||||
char *outfile_dir = data.outfile_check_directory;
|
char *outfile_dir = data.outfile_check_directory;
|
||||||
uint outfile_check_timer = data.outfile_check_timer;
|
uint outfile_check_timer = user_options->outfile_check_timer;
|
||||||
|
|
||||||
// buffers
|
// buffers
|
||||||
hash_t hash_buf = { 0, 0, 0, 0, 0 };
|
hash_t hash_buf = { 0, 0, 0, 0, 0 };
|
||||||
|
Loading…
Reference in New Issue
Block a user