Python bindings for hashcat
C Python
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
pyhashcat Fixed kwargs hashcat_session_execute Dec 23, 2017
.gitattributes gitattributes config Jan 15, 2017
.gitignore fixed hid error Mar 19, 2017
README.md Added benchmark, various fixes Dec 18, 2017

README.md

pyhashcat

Please note that I don't have much time to update this project. I'm still actively developing this, but updates will probably not be as frequent as I would like. -Rich

Python bindings for hashcat

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: 2.0b2

Requirements:

  • libhashcat
  • Python 2.7

Install libhashcat and pyhashcat:

git clone https://github.com/Rich5/pyHashcat.git
cd pyhashcat/pyhashcat
git clone https://github.com/hashcat/hashcat.git
cd hashcat/
git submodule init
git submodule update
sudo make install_library
sudo make install
cd ..
python setup.py build_ext -R /usr/local/lib
sudo python setup.py install

Simple Test:

user@host:~/pyHashcat/pyhashcat$ python simple_mask.py
-------------------------------
---- Simple pyhashcat Test ----
-------------------------------
[+] Running hashcat
STATUS:  Cracked
8743b52063cd84097a65d1633f5c74f5  -->  hashcat

Help:

import pyhashcat
help(pyhashcat)