1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 08:38:09 +00:00

Make some more useful example for returncode in main_shared.c

This commit is contained in:
jsteube 2016-10-13 17:33:23 +02:00
parent 10dfea61ad
commit e4718dc582

View File

@ -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;
}