Skip to content

Instantly share code, notes, and snippets.

@gozes
Forked from mattifestation/drop_binary.bat
Last active August 29, 2015 14:25
Show Gist options
  • Save gozes/663e254b568151b3fdf2 to your computer and use it in GitHub Desktop.
Save gozes/663e254b568151b3fdf2 to your computer and use it in GitHub Desktop.
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