Skip to content

Instantly share code, notes, and snippets.

@PaulSec
Forked from Arno0x/poshB64Encode.sh
Created May 21, 2019 12:20
Show Gist options
  • Save PaulSec/c096a92a3420986eddbd369be7f68b79 to your computer and use it in GitHub Desktop.
Save PaulSec/c096a92a3420986eddbd369be7f68b79 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "Base64 encoded, ready to be used with 'powershell -e':"
echo "$1" | iconv --to-code UTF-16LE | base64 -w 0
echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment