Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with build gocrack #59

Open
vay3t opened this issue Sep 22, 2019 · 3 comments
Open

problem with build gocrack #59

vay3t opened this issue Sep 22, 2019 · 3 comments

Comments

@vay3t
Copy link

vay3t commented Sep 22, 2019

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
Copy link
Contributor

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
Copy link
Author

vay3t commented Oct 30, 2019

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

@tankbusta
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants