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

Missing options to specify opencl related params (OpenCL unusable) #107

Open
anthraxx opened this issue Jul 5, 2016 · 2 comments
Open
Assignees
Milestone

Comments

@anthraxx
Copy link

anthraxx commented Jul 5, 2016

Hi, it would be nice if some OpenCL related options could be used for configuration.
The easiest way would be to simply allow passing custom john parameters to the executable at the Settings tab below the executable.
This way OpenCL related parameters could be manually added (f.e. device type).

OpenCL usage can currently be activated by selecting md5crypt-opencl in the Options Tab under Current hash format but this results in missing parameters:
Console Log:

[19:12:27] /usr/bin/john --format=md5crypt-opencl --session=/home/foobar/.john/sessions/07-05-16-19-12-27 /tmp/foobar
Error: --device must be numerical, or one of "all", "cpu", "gpu" and
"accelerator".
@shinnok shinnok added this to the 2.3 milestone Jul 28, 2016
@shinnok shinnok self-assigned this Jul 28, 2016
@shinnok
Copy link
Member

shinnok commented Jul 28, 2016

Having the ability to pass extra command line parameters for any type of attack is a must, especially since one can already pass extra ENV vars via the Attack Options -> Other options section. That's where the extra command line params should go also, this issue has been assigned to milestone 2.3.

Thanks for the report!

@solardiz
Copy link
Member

[19:12:27] /usr/bin/john --format=md5crypt-opencl --session=/home/foobar/.john/sessions/07-05-16-19-12-27 /tmp/foobar
Error: --device must be numerical, or one of "all", "cpu", "gpu" and "accelerator".

This output suggests that a --device option was in fact specified, but had a wrong argument to it. Why would that be? Puzzled.

--format=md5crypt-opencl should have worked on its own (without any --device option), picking the first OpenCL device in older jumbo and the expected-fastest OpenCL device in current bleeding-jumbo.

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

No branches or pull requests

3 participants