![]() Set "_OUTF=%~2" & rem // (output file `%~2` is second command line argument) Set "_INPF=%~1" & rem // (input file `%~1` is first command line argument) Setlocal EnableExtensions DisableDelayedExpansion The following script reads your input hex string from a file, replaces every \x by a SPACE in a temporary file and converts this to a binary file using certutil -decodehex: off However, this does not understand the hex codes of your input data, the \x need to be removed. ![]() Type - numeric CRYPT_STRING_* encoding type Yes, there is a way: there is the tool named CertUtil.exe (available since Windows XP, though some verbs may have been altered), which features a verb called -decodehex (for the optional parameter type take a look at the argument dwFlags of the function CryptBinaryToStringA): Usage:ĬertUtil -decodehex InFile OutFile
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |