can't supress error messages in a txt
#1
I use --force but still getting all the error messages in an output file about the not matching hashes. I'm trying using --show to extract username:plain from a file with different hash types.
Thanks
Reply
#2
There's no way to suppress these errors with a hashcat flag. --force certainly doesn't do that.
~
Reply
#3
(05-01-2019, 06:04 PM)royce Wrote: There's no way to suppress these errors with a hashcat flag. --force certainly doesn't do that.

Is there any way?
Reply
#4
Maybe you could explain *why* you want to do it. Maybe there is a different way to get what you really want without having to suppress errors. This line of questioning sound a bit like a http://xyproblem.info/.
Reply
#5
you can use the --outfile (short -o) option and redirect all errors to /dev/null

Code:
hashcat -m 0 --show -o outfile.txt hashes.txt 2> /dev/null > /dev/null

on windows it's very similar with 2> nul > nul
Reply
#6
(05-02-2019, 02:00 PM)DanielG Wrote: Maybe you could explain *why* you want to do it. Maybe there is a different way to get what you really want without having to suppress errors. This line of questioning sound a bit like a http://xyproblem.info/.

I extracted 5 different types of hashes from a username:hash file, cracked them, and trying to get username:plain out of that file (using --show --username --outfile-format=2) 5 times for all hash types and then putting the result together, but every time i do --show i get a file containing errors and username:plain lines so i have to delete every error line in those files before merging username:plain fles
Reply