mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 23:19:09 +00:00
Make some more useful example for returncode in main_shared.c
This commit is contained in:
parent
10dfea61ad
commit
e4718dc582
@ -85,9 +85,14 @@ int main ()
|
||||
|
||||
const int rc_hashcat = hashcat (hashcat_ctx, install_folder, shared_folder, 0, NULL, 0);
|
||||
|
||||
if (rc_hashcat == 0)
|
||||
{
|
||||
puts ("YAY, all hashes cracked!!");
|
||||
}
|
||||
|
||||
hashcat_ctx_destroy (hashcat_ctx);
|
||||
|
||||
free (hashcat_ctx);
|
||||
|
||||
return rc_hashcat;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user