Python C API binding to libhashcat, originally written by Rich5. Updated to use the latest Hashcat version, with additional functionality added.
Pulled from here: https://github.com/Rich5/pyhashcat/tree/master/pyhashcat and ported to Python v3 here: https://github.com/initiate6/pyhashcat/tree/master/pyhashcat
pyhashcat has been completely rewritten as a Python C extension to interface directly with libhashcat. The pyhashcat module now acts as direct bindings to hashcat.
VERSION: 3.0
Requirements:
- libhashcat 6.1.1
- Python 3.6+
git clone https://github.com/Rich5/pyHashcat.git
cd pyhashcat/pyhashcat
git clone https://github.com/hashcat/hashcat.git
cd hashcat/
sudo make install_library
sudo make install
cd ..
python setup.py build_ext -R /usr/local/lib
sudo python setup.py install
user@host:~/pyHashcat/pyhashcat$ python simple_mask.py
-------------------------------
---- Simple pyhashcat Test ----
-------------------------------
[+] Running hashcat
STATUS: Cracked
8743b52063cd84097a65d1633f5c74f5 --> hashcat
import pyhashcat
help(pyhashcat)