-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Character encoding inconsistency / reporting #5681
Comments
I generally recommend always using UTF-8 for wordlists, and If we do not change oubliette-passwords.txt (and perhaps even if we do), we should add some kind of README that explains the situation and the |
We could amend the output when
or
|
Hmm no, that ends up even more confusing for the case when no encoding option is used, but the wordlist is already (in this case) in ISO-8859-1. So maybe we should change the |
I like this one. Maybe even: I recall that there are cases where passing |
What could it be other than character encoding?
For Unicode formats like NT, We could add a line when rules are in use with RAW:
or s/support/handle/ |
e.g. base64 ;-)
Yes, we could. Maybe prefix it with "Note: " like we do for some other things that are almost but not quite warnings. |
Originally in #5680 (comment)
Testing against the test vectors from openwall/john-samples#31 I am only able to directly crack the simple password
12345678
. For cracking the complex password, I have to first process the wordlist throughiconv -f utf8 -t iso-8859-1
. I guess it got inadvertently converted the other way somewhere on the way to git commit? Should we replace it with the result of thisiconv
with a subsequent commit?Oh, alternatively I am able to get it cracked by adding
-target-enc=iso-8859-1
.@magnumripper @davidedg please suggest how to fix this encoding issue best, to minimize user confusion and users' wasted time on running with wrong encoding settings. Right now, by default we print
Using default input encoding: UTF-8
, but with the input wordlist actually in UTF-8 we fail to crack this password. So it feels like a bug.The text was updated successfully, but these errors were encountered: