Input Length = 1128
Output Length = 1608
CertUtil: -encode command completed successfully.
However only output containing "ERROR_" will be displayed because of the piping to FIND
It's the errors I'm trying to catch, in this case something like
EncodeToFile returned File exists. 0x80070050 (WIN32: 80 ERROR_FILE_EXISTS)
CertUtil: -decode command FAILED: 0x80070050 (WIN32: 80 ERROR_FILE_EXISTS)
My code displays it just fine, but I can't figure out how to pass it to a sub.
Don't worry if plan A fails, there are 25 more letters in the alphabet ;)
message edited by RainBawZ