how to remove hash from output file
#2
--outfile-format 2 combined with --username will only output the username and the password.

What you should know is that -o always appends to the file and therefore the file cracked.txt won't be overridden (or emptied before written).

This means, that whenever you wrote (or instructed hashcat to write) to cracked.txt file in the past, there could be "incorrect" lines before the correct output.
Therefore to test it you need to make sure that you eighter use a completely new file or delete/empty it before you output to the file cracked.txt

The reason why hashcat always appends to a file instead of overriding it, is that this prevents data loss and -o can also be used with --stdout and within a "non-show" run of hashcat and in those cases you normally want to append to the file (and this just makes it more consistent that the output will always be appended to the file with -o)


Messages In This Thread
RE: how to remove hash from output file - by philsmd - 08-14-2017, 10:32 AM