mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-17 01:52:06 +00:00
Get rid of show and left variable in main
This commit is contained in:
parent
c0fcd29770
commit
db4ff9c011
@ -403,9 +403,6 @@ int main (int argc, char **argv)
|
|||||||
// temporarily start
|
// temporarily start
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
uint show = SHOW;
|
|
||||||
uint left = LEFT;
|
|
||||||
uint remove = REMOVE;
|
uint remove = REMOVE;
|
||||||
u64 skip = SKIP;
|
u64 skip = SKIP;
|
||||||
u64 limit = LIMIT;
|
u64 limit = LIMIT;
|
||||||
@ -461,7 +458,6 @@ int main (int argc, char **argv)
|
|||||||
increment = user_options->increment;
|
increment = user_options->increment;
|
||||||
induction_dir = user_options->induction_dir;
|
induction_dir = user_options->induction_dir;
|
||||||
keyspace = user_options->keyspace;
|
keyspace = user_options->keyspace;
|
||||||
left = user_options->left;
|
|
||||||
limit = user_options->limit;
|
limit = user_options->limit;
|
||||||
loopback = user_options->loopback;
|
loopback = user_options->loopback;
|
||||||
markov_classic = user_options->markov_classic;
|
markov_classic = user_options->markov_classic;
|
||||||
@ -483,7 +479,6 @@ int main (int argc, char **argv)
|
|||||||
segment_size = user_options->segment_size;
|
segment_size = user_options->segment_size;
|
||||||
separator = user_options->separator;
|
separator = user_options->separator;
|
||||||
session = user_options->session;
|
session = user_options->session;
|
||||||
show = user_options->show;
|
|
||||||
skip = user_options->skip;
|
skip = user_options->skip;
|
||||||
status = user_options->status;
|
status = user_options->status;
|
||||||
truecrypt_keyfiles = user_options->truecrypt_keyfiles;
|
truecrypt_keyfiles = user_options->truecrypt_keyfiles;
|
||||||
@ -965,7 +960,7 @@ int main (int argc, char **argv)
|
|||||||
|
|
||||||
potfile_init (potfile_ctx, profile_dir, potfile_path, potfile_disable);
|
potfile_init (potfile_ctx, profile_dir, potfile_path, potfile_disable);
|
||||||
|
|
||||||
if (show == true || left == true)
|
if (user_options->show == true || user_options->left == true)
|
||||||
{
|
{
|
||||||
outfile_write_open (outfile_ctx);
|
outfile_write_open (outfile_ctx);
|
||||||
|
|
||||||
@ -1007,7 +1002,7 @@ int main (int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (show == true || left == true)
|
if (user_options->show == true || user_options->left == true)
|
||||||
{
|
{
|
||||||
outfile_write_close (outfile_ctx);
|
outfile_write_close (outfile_ctx);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user