Created
July 12, 2015 05:49
-
-
Save mattifestation/47f9e8a431f96a266522 to your computer and use it in GitHub Desktop.
Drop binary data from the command line w/o needing PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -----BEGIN CERTIFICATE----- > encoded.txt | |
echo Just Base64 encode your binary data | |
echo TVoAAA== >> encoded.txt | |
echo -----END CERTIFICATE----- >> encoded.txt | |
certutil -decode encoded.txt decoded.bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment