Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

Cannot turn off dynamic chunking #460

Open
BenKettlewell opened this issue Dec 22, 2018 · 4 comments
Open

Cannot turn off dynamic chunking #460

BenKettlewell opened this issue Dec 22, 2018 · 4 comments
Assignees
Labels
Milestone

Comments

@BenKettlewell
Copy link

I'm trying to get a single-machine going and wanted to turn off dynamic chunking to see if that speeds up cracking. I disabled the option but when watching the logs it is still starting, stopping, and restarting hashcat over and over for each chunk.

I checked the database and found you are just storing a 0 or a 1 in the 'use_dynamic_chunking' column on the 'settings' table. 'chunk_size' also defaults to a 0.

That's fine but I think when you're setting up chunking here the unless @settings.use_dynamic_chunking code will always fail to execute as according to ruby both 0 and 1 are "truthy" (ruby truthfulness).

Later you also set a static fall-back value to 50000 but there isn't any logic to skip it entirely if dynamic chunking is disabled.

@BenKettlewell
Copy link
Author

I also checked trying to increase the dynamic chunk value and it seems stuck on 50000.

@i128
Copy link
Contributor

i128 commented Dec 22, 2018 via email

@BenKettlewell
Copy link
Author

Much appreciated.
No rush from my end though. I manually upped the static value to 1000000000 and wow what a difference that makes. Went from 3% in 4 hours to doing the whole keyspace in about 20 minutes.

@i128 i128 self-assigned this Jan 6, 2019
@i128 i128 added this to the v0.7.5 milestone Jan 6, 2019
@i128
Copy link
Contributor

i128 commented Jan 6, 2019

Okay, I think its resolved in v0.7.5-beta code.

@i128 i128 added the bug label Jan 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants