potfile, remove FAQ clarification
#2
In general, these 2 options (--remove vs. the potfile feature or --potfile-disable) are conceptually used for very different functionalities/feature with were different goals, but you are right that they have some common behaviours/overlaps: i.e. the end result is that if hashes were cracked previously, hashcat doesn't consider the cracked hashes anymore.

Let's step back a little bit and make these basic distinctions; very simplified we can say that this is the goal of the features:
- the remove feature is used to "update" the hash list to keep only the not-yet-cracked hashes (for instance if you need to share it or want to always see the remaining list without using --left separately)
- the potfile feature has the end goal to store the cracked hashes in a kind of "standardized" way (without using different outfile formats, see --outfile-format) and make sure that no "progress"/cracks are lost

Let's make also clear that "dedupe" isn't really the right word here, because we are talking about removing cracks (hashes that are already cracked) and not removing duplicate hashes (which hashcat always does automatically at startup).

You are right that you can simply use --remove... but sometimes that is not a good option (for instance if we keep in mind that the "hashcat brain" feature always need the same original hash list across all nodes/participants).
For many users this is not a problem, they also can just keep a backup of the original list (which is always a good idea btw) and, to be honest, many users do NOT need to run hashcat within these special modes (brain etc, advanced features).

The potfile feature has also always the advantage that if you forgot to use the --outfile (or short -o) option, that the cracked hashes are not "forgotton" and by using the potfile they wont be affected by any such problems (power failures while cracking or forgetting to use -o and therefore the cracks will only go to the screen if potfile is disabled/disallowed).

So yeah, you are kind of right that --remove + --potfile-disable + --outfile could work perfectly fine for you... you just shouldn't forget about their main goals and what the "risks" are if you for instance disable the potfile feature and the hash list won't be update (for instance if the users doesn't use --remove or a rig crash or power failure etc comes before the regular update of the updated/"removed" hashes list... btw the potfile feature normally just appends as the cracks come in... so it happens almost exactly at the time when the user can see the new cracks in the user interface/screen).

I would say that you don't need to worry too much about your command with both --remove and --potfile-disable ... you just should keep in mind what they are really doing and that the potfile disable feature normally should be only used by advanced users that understand why using the potfile most of the times makes sense, but still can be disabled if you know the differences and "risks".
Reply


Messages In This Thread
RE: potfile, remove FAQ clarification - by philsmd - 03-28-2021, 03:35 PM