--show takes forever to finish - 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: --show takes forever to finish (/thread-7756.html) |
--show takes forever to finish - yoshi - 08-21-2018 I use the --show command to get a list of recovered passes and it won't end for almost 5 hours now I don't understand why, if I do the matching myself outside of hashcat by creating dictionaries it takes less time. the command I run is: hashcat64 -m hashtype --show --username --outfile-format=2 "hashes.txt" -o outfile.txt my file contains 1m rows. RE: --show takes forever to finish - plaverty9 - 08-21-2018 Can you run a line count on hashes.txt to see how many have been written? I'm guessing it is either slow for some reason and hasn't written all 1 million lines yet, or it's stuck in a loop and has written millions of lines. RE: --show takes forever to finish - yoshi - 08-21-2018 you mean on the outfile.txt? there is no file created yet. RE: --show takes forever to finish - philsmd - 08-21-2018 it depends mainly on the size of the hashcat.potfile and of course also to some extend on the hashes.txt file (note there can be cracks assigned to several users, especially if unsalted hashes are used). Therefore, --username of course makes it a bit slower. Which version of hashcat do you use. The speed was already increased by a lot with recent versions of hashcat. RE: --show takes forever to finish - yoshi - 08-22-2018 (08-21-2018, 10:33 PM)philsmd Wrote: it depends mainly on the size of the hashcat.potfile and of course also to some extend on the hashes.txt file (note there can be cracks assigned to several users, especially if unsalted hashes are used). I'm using the latest version 4.2.1 My .potfile size is ~20Mb I actually find it faster to do it in a script out of Hashcat... how can that be I don't know... RE: --show takes forever to finish - philsmd - 08-22-2018 what's your memory usage and CPU usage during the --show --username run ? High memory, high CPU? We might need to troubleshoot this in detail but I guess we need to have the files (or similar files) and an open issue on https://github.com/hashcat/hashcat/issues . Do you think you can open the issue and provide some more details about when exactly this happens and some files the devs can use to troubleshoot? Thx RE: --show takes forever to finish - philsmd - 08-23-2018 I just tested with a hash file and potfile with 1000000 entries and it's very fast on my system. Maybe you can do the same and report back. This is how I generated the lists: Code: #!/usr/bin/env perl and run this script like this: Code: perl generate_rand_hash_pot_file.pl > tmp_hashes.txt 2> tmp_hashes.potfile (where generate_rand_hash_pot_file.pl is the perl script above and tmp_hashes.txt will be the hash file and tmp_hashes.potfile will be our pot file. Note: the cracks are of course not correct, i.e. the password in the potfile is in this case not the correct one corresponding to the md5 hash, but hashcat doesn't verify this anyways) after that run hashcat like this: Code: hashcat -m 0 --show --username --outfile-format 2 --potfile-path tmp_hashes.potfile -o outfile.txt tmp_hashes.txt (btw, you could also shuffle the lines, e.g. with the linux shuf command, before you run hashcat, but it shouldn't change the speed by a lot, because hashcat will use it's own sorting internally, which is different from the output of generate_rand_hash_pot_file.pl) I can't really reproduce a speed problem here. maybe your problem is a different one (some more special) |