Good day!
I’m making a program that works with haschat (python). And I wanna know what exit code would be after hashcat worked. There’s a file with exit status codes in haschat/doc, but in haschat.logfile there is no information about exit status code. Please, help me to find exit status’s code after haschat working.
here we just need to distinguish between the process exit code ($? variable) and the status that hashcat internally uses:
1. if you check the process exit code, you need to follow this list:
https://github.com/hashcat/hashcat/blob/..._codes.txt
2. if you look into the file hashcat.log instead, you will see entries with "status-after-work" and it should follow this list:
https://github.com/hashcat/hashcat/blob/...#L199-L211
as you can see the internal state is more detailed and there are more possibilities. Not all of them make sense to expose into the $? process exit code, therefore the lists are different.
(07-16-2020, 11:27 AM)philsmd Wrote: [ -> ]here we just need to distinguish between the process exit code ($? variable) and the status that hashcat internally uses:
1. if you check the process exit code, you need to follow this list: https://github.com/hashcat/hashcat/blob/..._codes.txt
2. if you look into the file hashcat.log instead, you will see entries with "status-after-work" and it should follow this list: https://github.com/hashcat/hashcat/blob/...#L199-L211
as you can see the internal state is more detailed and there are more possibilities. Not all of them make sense to expose into the $? process exit code, therefore the lists are different.
Speaking about 1. Status codes. Where should I find these codes in hashcat? Maybe some file or what?