Remove doesn't work on dictionnary attack ? - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html) +--- Forum: Old hashcat Support (https://hashcat.net/forum/forum-20.html) +--- Thread: Remove doesn't work on dictionnary attack ? (/thread-4866.html) |
Remove doesn't work on dictionnary attack ? - Autrui - 12-01-2015 Hi, I'm using hashcat for dictionnary attack and charset attack. No problem at all when I'm using --remove for charset attack. But for dictionnary attack... It doesn't remove any hash at all. There is only one instance for each hash. For example, I'm using, for dictionnary attack : Code: hashcat-cli64.bin -m 0 md5_0.hash dictionary.txt -o md5outfile --remove But it doesn't remove any hash at all from md5_0.hash file. If I use Code: hashcat-cli64.bin -a 3 -1 ?d --increment hash_file.hash ?1?1?1?1?1 --remove --outfile=md5outfile Am I doing something wrong ? Thanks for your help. RE: Remove doesn't work on dictionnary attack ? - philsmd - 12-01-2015 First, please make sure that you use the newest release version of cpu hashcat (0.50). It is important that your md5_0.hash file is uniqued, so no duplicate hashes (use sort -u md5_0.hash | sponge md5_0.hash for instance to unique it). Please also try with the included examle hashes/words. cd [download_folder_of_cpu_hashcat] cp examples/A0.M0.hash . ./hashcat-cli64.bin --remove -m 0 -o md5outfile A0.M0.hash examples/A0.M0.word Does this produce an empty A0.M0.hash file ? (check with ls -l A0.M0.hash) P.S. also make sure you did understand the topics covered by the faq (about --remove etc) for instance https://hashcat.net/wiki/frequently_asked_questions#when_i_use_--remove_with_hashcat_cpu_the_hash_sometimes_remains_even_if_it_was_cracked RE: Remove doesn't work on dictionnary attack ? - Autrui - 12-01-2015 I'm using the latest release of cpu hashcat : hashcat-0.50. I'm certain that my md5_0.hash file is uniqued (can't find what sponge is ?) : Code: root:~/hashcat-0.50# cat md5_0.hash Code: root:~/hashcat-0.50# sort -u md5_0.hash I tried with the included example : Code: root:~/hashcat-0.50# ./hashcat-cli64.bin --remove -m 0 -o md5outfile A0.M0.hash examples/A0.M0.word I don't really understand what's going on... Am I really missing something this huge ? Thanks for your help. RE: Remove doesn't work on dictionnary attack ? - philsmd - 12-01-2015 (12-01-2015, 06:01 PM)Autrui Wrote: It seems that it worked for you too: If it says "No hashes loaded" the file "md5_0.hash" is probably empty (and therefore the --remove did work) You can also just open the file "md5_0.hash" and check if it is empty (for this particular example or if it has less hashes for the general case, i.e. if at least one hash cracked). So everything seems good. I don't really understand what you think is not working correctly. It even works with your example hash file. RE: Remove doesn't work on dictionnary attack ? - Autrui - 12-01-2015 It worked, but for the A0.M0.hash file. If I do it for my md5_0.hash file I have this : Code: root:~/hashcat-0.50# ./hashcat-cli64.bin --remove -m 0 -o md5outfile md5_0.hash dictionary.txt Which is not really what I expect... Nothing is removed from the md5_0.hash file :/ And I really don't understand why it works for the example file, but not for my file... RE: Remove doesn't work on dictionnary attack ? - FlippingGerman - 12-02-2015 Have you actually checked the hash file? Hashcat saves your progress (in a .pot file, generally in C:\Users\username\) and I'm pretty sure it'll give that kind of output, even when the hashes themselves have been removed from the file. RE: Remove doesn't work on dictionnary attack ? - Autrui - 12-02-2015 Yup, I've checked the file, after the dictionary attack and the charset attack. I've also deleted the pot file, to see if it has something to do with it, but no change... The content of the md5_0.hash file is the same with 10 dictionary attack, but changes after the first charset attack :/ RE: Remove doesn't work on dictionnary attack ? - philsmd - 12-02-2015 I can't reproduce the problem here; no matter what I try. Maybe you have some special setup: for instance a remote drive (not a local disk), the file/directory does not have write permissions etc. A useful test would be to download a fresh copy of hashcat from https://hashcat.net/hashcat and create fresh copies of the files (hash file, dictionary file etc) without cp'ing them and test it again. Maybe you can also test with a different computer (again without copying everything, prefer fresh copies of the files) such that we can exclude that the problem lies on that particular setup. RE: Remove doesn't work on dictionnary attack ? - Xanadrel - 12-02-2015 Reproduced, gonna investigate. |