Unable to use own hash database - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Support (https://hashcat.net/forum/forum-3.html) +--- Forum: hashcat (https://hashcat.net/forum/forum-45.html) +--- Thread: Unable to use own hash database (/thread-7146.html) |
Unable to use own hash database - fhgu457 - 12-30-2017 Hi all, I'm new to hashcat and trying to learn how to use the tool. I downloaded a file of hashes here: http://www.adeptus-mechanicus.com/codex/hashpass/hashpass.php Specifically, I downlaoded the battielfield hashes file and saved it as bfield.hash. Next, I downloaded a list of common passwords here: https://wiki.skullsecurity.org/index.php?title=Passwords Specifically, it is phpbb.txt Now, if i run the command: ./hashcat -m 0 bfield.hash phpbb.txt -o plain_wordlist_results.txt Everything works great: I get the inverted MD5 hashes that I am able to with the ditionary phpbb.txt. Where am I struggling, is cracking my own test examples. For instance, if I open my bfield.hash file in a simple text editor and literally copy and paste all the passwords into a new file, say, hashes.txt, and then run ./hashcat -m 0 hashes.txt phpbb.txt -o plain_wordlist_results.txt I get a line length exception error. So this must mean that the .hash file is formatted correctly while my custom file is not. What is happening? Many thanks! RE: Unable to use own hash database - royce - 12-30-2017 Can't diagnose this without understanding more about how you are creating hashes.txt. What happens if hashes.txt contains only the MD5 example hash from the hashcat wiki (8743b52063cd84097a65d1633f5c74f5) ? RE: Unable to use own hash database - fhgu457 - 12-30-2017 (12-30-2017, 04:15 PM)royce Wrote: Can't diagnose this without understanding more about how you are creating hashes.txt. Hi, Thanks for your help. When the hashes.txt file contains only 8743b52063cd84097a65d1633f5c74f5, and I run the command /hashcat -m 0 hashes.txt phpbb.txt -o plain_wordlist_results.txt The result is: hashcat (v4.0.1-74-ga680f194) starting... OpenCL Platform #1: Apple ========================= * Device #1: Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz, skipped. * Device #2: Iris Pro, 384/1536 MB allocatable, 40MCU * Device #3: GeForce GT 750M, 512/2048 MB allocatable, 2MCU Hash 'hashes.txt': Line-length exception No hashes loaded. Note i create the hashes.txt by literally opening a text editor and copying and pasting 8743b52063cd84097a65d1633f5c74f5 and then saving it as a .txt file. RE: Unable to use own hash database - undeath - 12-30-2017 your file is at the wrong location. hashcat cannot find it. RE: Unable to use own hash database - fhgu457 - 12-31-2017 G (12-30-2017, 11:30 PM)undeath Wrote: your file is at the wrong location. hashcat cannot find it. I see. Thanks. But the file is in the hashcat folder, so what’s going on? RE: Unable to use own hash database - royce - 12-31-2017 The error Hash 'hashes.txt': Line-length exception ... is not very clear. What it means is that since the system couldn't find the hashes.txt file in the current working directory, it tried to interpret 'hashes.txt' as a literal hash. So the hashes.txt file is not in the current working directory. |