Created
June 16, 2016 16:10
-
-
Save tsur/b437567c0e806cd80de3e501c587bd68 to your computer and use it in GitHub Desktop.
Evil Unicode
This file contains hidden or 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
| cat $1 | sed $'s/\xcd\xbe/\;/g' > $(echo "_unicode_$1") && $(mv "_unicode_$1" "$1") | |
| # decode symbol: echo -n <paste_symbol_here> | hexdump | |
| # encode symbol: echo -e "\xE2\x98\xA0" |
This file contains hidden or 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
| cat $1 | sed $'s/\xf0\x9f\x90\xb5/\;/g' > $(echo "_unicode_$1") && $(mv "_unicode_$1" "$1") | |
| # decode symbol: echo -n <paste_symbol_here> | hexdump | |
| # encode symbol: echo -e "\xE2\x98\xA0" |
This file contains hidden or 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
| cat $1 | sed $'s/\xf0\x9f\x92\xa9/\;/g' > $(echo "_unicode_$1") && $(mv "_unicode_$1" "$1") | |
| # decode symbol: echo -n <paste_symbol_here> | hexdump | |
| # encode symbol: echo -e "\xE2\x98\xA0" |
This file contains hidden or 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
| cat $1 | sed $'s/\;/\xcd\xbe/g' > $(echo "_unicode_$1") && $(mv "_unicode_$1" "$1") | |
| # decode symbol: echo -n <paste_symbol_here> | hexdump | |
| # encode symbol: echo -e "\xE2\x98\xA0" |
This file contains hidden or 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
| cat $1 | sed $'s/\;/\xf0\x9f\x90\xb5/g' > $(echo "_unicode_$1") && $(mv "_unicode_$1" "$1") | |
| # decode symbol: echo -n <paste_symbol_here> | hexdump | |
| # encode symbol: echo -e "\xE2\x98\xA0" |
This file contains hidden or 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
| cat $1 | sed $'s/\;/\xf0\x9f\x92\xa9/g' > $(echo "_unicode_$1") && $(mv "_unicode_$1" "$1") | |
| # decode symbol: echo -n <paste_symbol_here> | hexdump | |
| # encode symbol: echo -e "\xE2\x98\xA0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment