How to get status for cracking process to use in other programs? - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html) +--- Forum: Old hashcat Support (https://hashcat.net/forum/forum-20.html) +--- Thread: How to get status for cracking process to use in other programs? (/thread-2752.html) |
How to get status for cracking process to use in other programs? - honglonglong - 10-29-2013 Hi, I recently use hashcat as part of my project, in which I do cracking on same hash file with different rules. I notice in the output theres a row called "Progress" indicating the total attempts in this cracking. I am wondering how could I obtain this number from hashcat so that I could directly dump it into my other program? Though I could use regular expression to extract it from standard output but it seems very complicated. I see both in hashcat-lite and plus support restore file where we could read status from, are there any similar function in hashcat? Thanks! RE: How to get status for cracking process to use in other programs? - unix-ninja - 10-29-2013 I don't believe the restore file is written to live, so this wouldn't help you either. Hashcat exposes no APIs for external development, so really your best option would be to parse stdout. This issue has been brought up repeatedly, but I doubt it will ever change. You'll just have to take it as it is. RE: How to get status for cracking process to use in other programs? - honglonglong - 10-29-2013 (10-29-2013, 08:56 PM)unix-ninja Wrote: I don't believe the restore file is written to live, so this wouldn't help you either. so sad to hear this...those statistics really are important to me. thank you still, for letting me know!! RE: How to get status for cracking process to use in other programs? - philsmd - 10-30-2013 also read this: https://hashcat.net/forum/thread-2296.html and the restore file format: http://hashcat.net/wiki/doku.php?id=oclhashcat_lite#parsing_the_restore-file |