I finally know the problem. I'm using "New Task" instead of "Preconfigured Task". The wordlist can be downloaded successfully via the agent, but the following error occurred (sorry for a chain of problems):
Code:
Got cracker binary type hashcat
dlopen(/Users/adv/Downloads/hash/crackers/1/modules/module_11600.so, 2): no suitable image found. Did find:
/Users/adv/Downloads/hash/crackers/1/modules/module_11600.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
/Users/adv/Downloads/hash/crackers/1/modules/module_11600.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00
Error during keyspace measure: Command './hashcat.osx --keyspace --quiet ../../files/crackstation-human-only.txt --hash-type=11600 ' returned non-zero exit status 255.
No task available!
I guess you compiled the osx binary, but the modules might still be linux, so make sure that the .so files are newly created when you build the osx binary.
Okay, I replaced the "module_11600.so" with Mac-compiled version, the message "Keyspace got accepted!" finally appears; I guess I passed the first barricade.
But the following error message showed:
Code:
Benchmark task...
Error during speed benchmark, return code: 255 Output:
and the task doesn't get executed further. What should I do?
Is the Hashtopolis not supporting macOS at all? Seems I have to replace every file by myself.
Should I send a Mac-compiled version of "hashcat" to you?
Hashtopolis is supporting OS X, but hashcat is not prebuilt on OS X and also there are only few users using it on this operating system.
The error message is pretty generic, I cannot see at all what it tries to run, most likely there is either an error within hashcat or a wrong task to run. I asked you already to turn on debug on the agent, so we get more output than just an error.
Started: Thu Oct 8 10:09:02 2020
Stopped: Thu Oct 8 10:09:02 2020
Seems the build cannot find the header file. Yet I checked the file "inc_vendor.h" exists in the "crackers/1/OpenCL/" folder. Since it's a header file, I think it's OS independent this time. I think it should be the "header include path" problem. Therefore I searched online and found this post: https://hashcat.net/forum/thread-9206.html, but the post has no solution yet. It is hashcat problem specifically in OSX.
I finally get it working in macOS without resolving the problems of Hashcat.
I make use of Docker image (https://github.com/dizcza/docker-hashcat) to set up the environment. However, for macOS, it's impossible for Docker to use the native GPU (no "nvidia-docker" is available in macOS), thus CPU has to be used.
For the "inc_vendor.h" not found issue, I have found an almost-perfect workaround.
I installed hashcat via Homebrew, and symlinked the local hashcat to the "hashcat.osx" in the /crackers/1/ directory.
Everything works fine now, except for the following error sometimes appears:
I believe my network connection is stable, but I have no clue why this error will occur.
The chunk progress status can be updated to Hashtopolis without a problem, though.
This is an issue due to a specific default configuration in apache2. The client tries to keep the connection open where it sends updates every 5 seconds. The default max time on apache2 for connection keepalive is 5 seconds. So it sometimes happens, that apache closes the connection before the client sends the next update, therefore the error and it has to reconnect.
It's not something to worry about, if you want to make it clean, you can set the keepalive max to something higher, e.g. 10 seconds on the apache2 config.