Several potfiles - is it possible to omit hashes already cracked in next job? - 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: Several potfiles - is it possible to omit hashes already cracked in next job? (/thread-10477.html) |
Several potfiles - is it possible to omit hashes already cracked in next job? - MariuszPoz - 11-25-2021 Hello. I have several potfile files with "recovered" passwords. Is it possible to compare all files when starting new job in order to skip cracking those hashes that are already cracked? I mean: for example i have a file not_cracked.txt where are stored 300 hashes I have another files: cracked1.txt and cracked2.txt where are cracked hashes from other jobs (other not_cracked files) (some are duplicated, available in not_cracked, but not all). Is it possible for hashcat to look inside crackedX.txt if there are cracked hashes available in not_cracked.txt to speed up cracking process? Or is it possible only in potfile that already results are saved in current job? Thanks. RE: Several potfiles - is it possible to omit hashes already cracked in next job? - drsnooker - 11-25-2021 Not sure if there's a better way, but you could put all the different found passwords in a small dictionary, then run all the hashes against this dictionary. It'll re-crack those hashes and update the pot-file. Shouldn't take more than a few seconds! RE: Several potfiles - is it possible to omit hashes already cracked in next job? - Xanadrel - 11-25-2021 You can probably use --outfile-check-dir RE: Several potfiles - is it possible to omit hashes already cracked in next job? - MariuszPoz - 11-25-2021 Ok. So far i wrote a script in python that allow me to: a) remove duplicated hashes from single file (leaving only one). Few days ago i downloaded Badoo database from RaidForum, extracted with another python script only hashes (md5) stripping all other data and saved hashes in file. Size: 3,9gb. Using my script i removed those duplicated hashes (leaving one - of course - if there are more than one same hash). After removing duplicated hashes file size was decreased to 2.6gb b) sorting hashes alphabetically Just for fun. Who ever would need that? Code: 0000002ea676c95829d321fe683f5c9c c) delete hashes or passwords from potfile and save result in other file This allows me to create a dictionary using words from potfile. Also saving cracked hashes in other file will let me remove them from potfile with not cracked hashes (see below) And this: Code: 8e6fb808cdea51895a5ffda80657767c:Maexikaner becomes this: Code: Maexikaner d) remove duplicated lines from two files Lets say i have a file all_hashes.txt with hashes that are cracked and not yet cracked. Using script from point "C" i created a file with cracked hashes (but removed password), compared it with file all_hashes.txt and i saved to other file NOT cracked hashes. Took some time to write it, but.. it works. |