gocat is a cgo library for interacting with libhashcat. gocat enables you to create purpose-built password cracking tools that leverage the capabilities of hashcat.
gocat requires hashcat v5.1.0 or higher to be compiled as a shared library. This can be accomplished by modifying hashcat's src/Makefile
and setting SHARED
to 1
Installing the Go Library:
go get github.com/fireeye/gocat
- Lack of Windows Support: This won't work on windows as I haven't figured out how to build hashcat on windows
- Memory Leaks: hashcat has several (small) memory leaks that could cause increase of process memory over time
Contributions are welcome via pull requests provided they meet the following criteria:
- One feature or bug fix per PR
- Code should be properly formatted (using go fmt)
- Tests coverage should rarely decrease. All new features should have proper coverage