How to get status for cracking process to use in other programs?
#1
Question 
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!
#2
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.
#3
(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.
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.

so sad to hear this...those statistics really are important to me.

thank you still, for letting me know!!
#4
also read this: https://hashcat.net/forum/thread-2296.html
and the restore file format: http://hashcat.net/wiki/doku.php?id=oclh...store-file