hashview / hashview-old

A web front-end for password cracking and analytics

Home Page:http://www.hashview.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot turn off dynamic chunking

BenKettlewell opened this issue · comments

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.

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

commented

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.

commented

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