openwall / johnny

GUI frontend to John the Ripper password cracker
https://openwall.info/wiki/john/johnny
Other
537 stars 128 forks source link

Bad interval pick cracked default value #83

Closed mathsoft-dev closed 9 years ago

mathsoft-dev commented 9 years ago

It's not rare that john --show takes more than 15 seconds to finish depending on the format and the number of cracked password in the .pot file. If an attack is currently running, the timer is called every 15 seconds(default) and it doesn't finish in 15 seconds so we terminate it, a new john --show starts, it doesn't finish, we terminate it again etc.. so we never get the cracked passwords in the table view. When the user pause attack, we stop the timer and we get the cracked password from john --show which confirm this behavior.

Aleksey used to put it by default at 600, but then you put it at 15 in commit 58a1751. I guess we could find a compromise because a normal user won't think about modifying that value if he doesn't see his cracked password.

shinnok commented 9 years ago

How big is your password table?

shinnok commented 9 years ago

Maybe the solution would be to not kill the john show handler in the first place, except from quitting the app of course.

mathsoft-dev commented 9 years ago

How big is your password table?

My password table has 19 000 hashes. And I have like 3000 of them cracked in my .pot file.

Maybe the solution would be to not kill the john show handler in the first place, except from quitting the app of course.

Maybe, do you think john --show has high chance of hanging/requiring us to manually kill it ? We'll loose our protection against that

shinnok commented 9 years ago

Are you sure it does take more than 15 seconds for 19k hashes? It seems quite a lot..

shinnok commented 9 years ago

BTW, If it hangs, it's not our problem, it should be fixed upstream.

mathsoft-dev commented 9 years ago

Are you sure it does take more than 15 seconds for 19k hashes? It seems quite a lot..

Without johnny and other big process running(like an attack), directly on the terminal john --show takes 30 seconds for my file. But I don't know which factors is related to that, I think that I got better results on other bigger files/or similar size. But at that time my .pot file was way smaller than now.