-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Prince mode silently skips passwords if password length over current --max-length
#4779
Comments
It is not (using the same wordlist).
Well, as I provide the |
Isn't this should be cheap?
|
For prince? Lets talk about prince + mask or prince + rules or both?
For wordlist mode, think about RockYou: it is a list containing billions of items. |
First password from rockyou.txt( |
IMHO this is not an issue, the option works as designed and as documented. |
I think this is the intended behavior, and one I would expect. I don't know whether/what we should/can reasonably do to address other expectations. Doing this for PRINCE mode only would possibly only make things worse, by creating expectations that if one mode detects this, all others would too. Also, pre-scanning the wordlist isn't cheap, and again only doing it when the wordlist is tiny or only scanning e.g. first 1000 lines would create wrong expectations. So let's just close this? @klensy Makes sense to you? |
Yet pre-scanning is done for wordlists under some circumstances (at least all wordlist+rules cases). |
But prince+rules case is not suitable to warn about bad lengths before cracking. Some analysis on rules might be applied: it might be possible to identify rules that definitely do not affect length, definitely increase length, sometimes increase, same for "decrease", and warn respectively. But then there is external mode that is harder to analyze automatically. It seems more realistic to handle it as a part of #4032. |
FWIW, the "all" in "at least all wordlist+rules cases" is wrong - for huge wordlists, we do not currently pre-scan/preload them. |
I rechecked. You're right.
|
Checklist
<---- btw, here a typo
);command:
wordlist:
I've expecting that if combined password length (given current wordlist and prince-elem-cnt-max) can be over current
--max-length
, john should warn about that, instead of skipping that passwords.It can be not specific to prince mode, but i didn't checked that.
The text was updated successfully, but these errors were encountered: