06-17-2014, 02:18 AM
If anyone is interested I created a Python wrapper to interface with oclHashcat. It's in beta currently so I'm sure there are bugs. Please let me know if/when you find them. I hope this helps with building GUIs, distributed solutions, and other interesting programs integrated with hashcat. I hope someone finds the wrapper useful.
My blog post about it can be found here:
http://www.sploitmonkey.com/2014/06/intr...shcat.html
The source can be found here:
https://github.com/Rich5/pyHashcat
List of features:
-Interface with oclHashcat as a Python object
-Run oclHashcat as a background process
-Automatically builds command line arguments based on Python object variable assignment
-Support for stdout stream gobbling
-Support for stderr stream gobbling
-Parse output from oclHashcat files and return data as a Python
dictionary data structure with user defined fields
-Parse restore files and return data as a Python dictionary data structure
-Wrapper class has context manager (i.e. with) that will automatically
clean-up oclHashcat background process on object termination
- Look-up function for mapping hash types to oclHashcat type codes
My blog post about it can be found here:
http://www.sploitmonkey.com/2014/06/intr...shcat.html
The source can be found here:
https://github.com/Rich5/pyHashcat
List of features:
-Interface with oclHashcat as a Python object
-Run oclHashcat as a background process
-Automatically builds command line arguments based on Python object variable assignment
-Support for stdout stream gobbling
-Support for stderr stream gobbling
-Parse output from oclHashcat files and return data as a Python
dictionary data structure with user defined fields
-Parse restore files and return data as a Python dictionary data structure
-Wrapper class has context manager (i.e. with) that will automatically
clean-up oclHashcat background process on object termination
- Look-up function for mapping hash types to oclHashcat type codes