problem with build gocrack
vay3t opened this issue · comments
Vay3t commented
i have problems when build gocrack:
go build -tags """" -o builds/linux/amd64/gocrack_worker -ldflags \
"-X github.com/fireeye/gocrack/worker.CompileRev=e3b20e4 \
-X github.com/fireeye/gocrack/worker.CompileTime=1569172867 \
-X github.com/fireeye/gocrack/worker/engines/hashcat.HashcatVersion=" \
cmd/gocrack_worker/*.go
# github.com/fireeye/gocat
../gocat/gocat.go:239:7: could not determine kind of name for C.EVENT_OPENCL_SESSION_POST
../gocat/gocat.go:237:7: could not determine kind of name for C.EVENT_OPENCL_SESSION_PRE
Makefile:14: recipe for target 'build' failed
make: *** [build] Error 2
Nick commented
Can you confirm you're using Hashcat 5.1.0? I got an identical error when using the HEAD of master instead of 5.1.0
Vay3t commented
i used the master branch of hashcat, it turns out that the stable version of hashcat has some bugs with some hash types
Christopher Schmitt commented
Please do not use the master
branch of hashcat as that's considered the "beta/bleeding edge" builds and often between versions of Hashcat, the C API changes which forces us to go update our cgo bindings. It should work when using the v5.1.0
tag