mandiant / gocrack

GoCrack is a management frontend for password cracking tools written in Go
MIT License
1.12k stars 240 forks source link

problem with build gocrack #59

Open vay3t opened 5 years ago

vay3t commented 5 years ago

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
kulinacs commented 4 years ago

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 4 years ago

i used the master branch of hashcat, it turns out that the stable version of hashcat has some bugs with some hash types

tankbusta commented 4 years ago

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