Bug Fix:
Fixed an error with parsing the restore file. I fat fingered a variable name.
To parse the restore file you can either call the get_restore_stats() function without arguments or specific a file name. If you don't specify a file path/name the wrapper will look for a restore file in the hashcat directory with the same name as the session variable. I added an example to the readme file on GitHub.
Fixed an error with parsing the restore file. I fat fingered a variable name.
To parse the restore file you can either call the get_restore_stats() function without arguments or specific a file name. If you don't specify a file path/name the wrapper will look for a restore file in the hashcat directory with the same name as the session variable. I added an example to the readme file on GitHub.
Code:
with pyHashcat.oclHashcatWrapper(path_to_exe) as hashcat:
hashcat.get_restore_stats(restore_file_path="/mysession.restore")
print hashcat.stats