mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #1660] John outputs No password hashes loaded (see FAQ) #1104
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#1104
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Yanpas on GitHub (Aug 14, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1660
Followed this tutorial and got an error. I enter command
john out.txt, where out.txx is:x.docx:$office$*2007*20*128*16*751dc7e002837fda2c68a580b7890f26*3753714098407532be0f60cbf97e9fcd*392a30898d6775dda2e2a32b0eb807167f888aceTo generate hashes I used https://github.com/magnumripper/JohnTheRipper/blob/unstable-jumbo/run/office2john.py
John version 1.8.0-1
@magnumripper commented on GitHub (Aug 14, 2015):
Did you use a Jumbo version of john? "1.8.0-1" sounds like non-jumbo to me.
@Yanpas commented on GitHub (Aug 14, 2015):
I'm not sure which version do I use, it is version from ubuntu repos. I think this patch only can parse specific format of input file string, classic version is able to decipher my hash too, isn't it? I should only rename the string
@frank-dittrich commented on GitHub (Aug 14, 2015):
@Yanpas what is the output of
(with no additional parameters?)
But I guess magnum is right and ubuntu provides a non-jumbo version.
@Yanpas commented on GitHub (Aug 14, 2015):
Output
@magnumripper commented on GitHub (Aug 14, 2015):
That is a non-Jumbo and has no support for Office (or most anything else)
@frank-dittrich commented on GitHub (Aug 14, 2015):
@Yanpas ubuntu should have a version of john's doc/FAQ installed.
One of the possible answers to your question in that FAQ is
@ryuzakyl commented on GitHub (Dec 9, 2019):
A good tutorial for installing a Jumbo version on Ubuntu is this one.
Hope it helps.
@solardiz commented on GitHub (Dec 10, 2019):
Good tutorials should be added to https://openwall.info/wiki/john/tutorials. Unfortunately, the one mentioned by @ryuzakyl shows confusion on behalf of its author. It includes several unneeded and dangerous things (installs some unneeded packages, builds the source code as root), and results in a setup that isn't entirely correct (is neither user-local nor system-wide, but is a broken mix of both) and would have issues in actual use (beyond
--test).@ndurand1 commented on GitHub (Dec 25, 2020):
There is a snap package "john-the-ripper" that installs the jumbo version 1.9. Also, make sure that your hash file includes a username followed by a colon (i.e. root:) so that john recognizes it as a password!
@ghost commented on GitHub (Dec 25, 2020):
@ndurand1, since you edited your post, I guess you found what was missing in you input file (so JtR is now able to recognize it as a valid hash).
@solardiz commented on GitHub (Dec 25, 2020):
@ndurand1 edited the comment to say: "make sure that your hash file includes a username followed by a colon (i.e. root:) so that john recognizes it as a password!"
While I'm happy that presumably things somehow worked, that addition of "username followed by a colon" thing shouldn't be necessary for non-ancient versions of JtR like 1.8 or 1.9 (specifically, it was only needed prior to 1.7.6), and there was probably some other issue and some other change that helped.
I am posting this for others who might come across this issue (presumably by googling the error message instead of literally seeing the FAQ), so that they're not confused by the wrong advice. There are plenty of reasons why that catch-all error message might appear, but missing username isn't one of those.
@aiy2002 commented on GitHub (Dec 28, 2020):
@ndurand1 Where did you find the snap package?
@ndurand1 commented on GitHub (Dec 28, 2020):
snap info john-the-ripper@ghost commented on GitHub (Dec 28, 2020):
If you are already using Ubuntu, just type
sudo snap install john-the-ripper(or via Ubuntu Sofware). If you need to enable snap support in your distro, read https://github.com/openwall/john-packages#snap@aiy2002 commented on GitHub (Dec 29, 2020):
After downloading John The Ripper through the Ubuntu Software store I set up a mysql root in Vim, and when I type the command john hashes ( hashes being what I named the vim file), I still receive the error "No password hashes loaded (see FAQ)." I'm not sure if it is still downloading an outdated file of JTR for some reason. @claudioandre-br
@magnumripper commented on GitHub (Dec 29, 2020):
@aiy2002 what's the output of
which john?@solardiz commented on GitHub (Dec 29, 2020):
As @magnumripper guessed, the command
johnprobably invokes another build of JtR, not what came from the snap package. To invoke the snap package's build, the command isjohn-the-ripper. See examples in:https://github.com/openwall/john-packages#snap
Yes, this is weird. @claudioandre-br Can you come up with any way to make this more intuitive?
@ghost commented on GitHub (Dec 29, 2020):
You can also use
johnto run the snap package (main) binary. In my machine/snap/binis the last directory in$PATH. Anyone can change that permanently, of course.BTW:
johnis a global alias I had to request (the name was not available).@ghost commented on GitHub (Dec 29, 2020):
@aiy2002, (using snap or not) you can still get version, build date, ... E.g.,
john --list=build-info(after you runwhich john).@aadesunloro commented on GitHub (Feb 28, 2021):
<img width="505" alt="error message on johnny"
Please, how do I correct "No hashes loaded[format=], see console log.
Kindly advise ASAP!
@solardiz commented on GitHub (Mar 1, 2021):
@aadesunloro We don't provide user support in the manner you seem to expect, and normally not on GitHub at all. We do provide friendly community discussions on the john-users mailing list, but for that you got to be comfortable describing things in pure text (no screenshots) and communicating via e-mail that gets published for everyone else to read and benefit from. Also, to ask a reasonable question you have to start by explaining what you're trying to do and why, and to know half the answer. Finally, you shouldn't expect answers "ASAP".
Your screenshot and brief question that you posted in here do not have just one possible answer. Several answers are given in the corresponding FAQ entry, although they don't consider possible specifics of Johnny the GUI.
@lindhe commented on GitHub (Feb 8, 2022):
Just a heads-up that the
john-the-ripperpackage on Snap is not published by a verified publisher (claims to be "Claudio André (claudioandre-br)"), so it's hard to know if it runs trustworthy software on your computer if you install it.@ghost commented on GitHub (Feb 8, 2022):
It does not claim to be me, it is me. Well actually you can read all the logs and the logs include all the tasks done during the build including the
git cloneof this repository (the build happens in Lauchpad, only the build recipe exist there).The logs are produced by the snap build tool and it is available inside the snap package.
Anyway, I don't think it will be verified anytime soon. It is an administrative process, probably complicated one.
@lindhe commented on GitHub (Feb 8, 2022):
Wow, it might not even be possible to become one. :/ https://askubuntu.com/questions/1090483/how-to-become-the-verified-publisher-of-a-snap-package
@JamesPeterAnderson commented on GitHub (Mar 19, 2022):
Appreciate that the original post is quite old now, but this thread is one of the top results when googling the below error:
Using default input encoding: UTF-8
No password hashes loaded (see FAQ)
After reading through this thread, I checked my JTR version and I was running 1.8.0, so I proceeded to uninstall JTR and reinstall to the latest version, but I continued to get the same error...
In my scenario I am running Kali Linux and I was trying to decrypt passwords from another Unix system.
(See fifth question on JTR's FAQs - https://www.openwall.com/john/doc/FAQ.shtml)
I used the unshadow utility to create my password file from the /etc/passwd and /etc/shadow files, then ran john using the default wordlist on the password file, but still got the same error.
I found that the only way that I could get JTR to decrypt the password file was to specify the format at the end of the command.
e.g john --wordlist=password.lst passwdfile.txt
--format=cryptDuring my search for an answer I found the below list of JTR Hash Formats which may also help?
https://pentestmonkey.net/cheat-sheet/john-the-ripper-hash-formats
Not sure if any of that helps, but hopefully this information is useful?
JA
@ghost commented on GitHub (Mar 19, 2022):
So, it seems it is yescrypt. See #4621. If that is the case, for now you must use
--format=crypt[1].[1] For Linux distros that have started to use native yescrypt hashes via libxcrypt