hashcat Forum
Results collection model ? - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Developer (https://hashcat.net/forum/forum-39.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-40.html)
+--- Thread: Results collection model ? (/thread-4943.html)



Results collection model ? - 0595492b0 - 12-27-2015

Hello.

I'm trying to implement an OpenCL bruteforcer for a 40bit keyspace.
My goal is to write some clean code that could be used to add support for WEP40 to oclHashcat, but as it is just a matter of bruteforcing 5 bytes + RC4 + CRC32, it may only require 10min to any oclHashcat developer to do this. Anyway, this isn't a request thread.

I've got a CPU OpenMP implementation working and I would like to port it on my GPUs.
I've got some questions about the models used by oclHashcat to manage the communication between the OpenCL host (CPU) and the OpenCL device (GPU).


Am I right when I think that oclHashcat uploads a set of N words from a dictionary to an input buffer on the OpenCL device memory ?

Am I right when I think that oclHashcat writes a set of N keys directly on the OpenCL device memory when possible (e.g. with a pattern or a mask) ?

How are the results collected ?

Thank you Smile


RE: Results collection model ? - epixoip - 12-28-2015

There's no point in adding WEP to oclHashcat when it can be cracked in under 2 minutes on a mobile phone.


RE: Results collection model ? - 0595492b0 - 01-01-2016

Sorry, I shouldn't have talked about WEP.
My question about the result collection model is still open.
I'm a little bit lost in the oclHashcat source code, and would appreciate any hint.


RE: Results collection model ? - undeath - 01-01-2016

without having dug too deep it looks like result collection happens in https://github.com/hashcat/oclHashcat/blob/master/OpenCL/check_multi_comp4.c and https://github.com/hashcat/oclHashcat/blob/master/OpenCL/check_single_comp4.c