Two sessions writing to the same potfile - 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: Two sessions writing to the same potfile (/thread-7423.html) |
Two sessions writing to the same potfile - devilsadvocate - 04-06-2018 Can 2 separate hashcat sessions write to the same potfile? Or will that cause a tear in the fabric of the space time continuum? In Linux, this may come down to how 2 separate processes handle appending data to the same file. With databases, "locks" can occur on objects while they are being written to. Is there a Linux OS equivalent? Would there be a "lock" on the file when one process is appending to the potfile so that the other process has to wait before it can also append? I found a few references. https://gavv.github.io/blog/file-locks/ https://www.thegeekstuff.com/2012/04/linux-file-locking-types/ https://en.wikipedia.org/wiki/File_locking RE: Two sessions writing to the same potfile - CUwindows00 - 04-06-2018 sorry Why do not many combination rules have such a rule? - CUwindows00 - 04-06-2018 sorry RE: Why do not many combination rules have such a rule? - devilsadvocate - 04-06-2018 (04-06-2018, 08:29 AM)CUwindows00 Wrote: Hello everyone Maybe you should consider starting your own thread instead of randomly posting on this one. I'm pretty sure this has nothing to do with file locks. RE: Two sessions writing to the same potfile - CUwindows00 - 04-06-2018 sorry RE: Two sessions writing to the same potfile - GOD - 04-06-2018 (04-06-2018, 07:28 AM)devilsadvocate Wrote: Can 2 separate hashcat sessions write to the same potfile? Of course they can... Unless you specify the option to disable potfile within one of the sessions. I'm sure you could have just easily tested this on your own. Also, trying to edit the potfile and save it will fall into what you're referring to, therefore throwing an error of "file is in use by another process." RE: Two sessions writing to the same potfile - royce - 04-07-2018 Use the source, Luke. If you look at locking.c and potfile.c in the source code, it appears that (as long as you're not on Windows), some basic locking of the potfile is happening. That being said, I suspect that using -o/--outfile combined --remove would probably be more easily controlled. |