|Subject:||Re: bash displays strange characters after base64 decoding|
|Date:||Thu, 6 Aug 2015 16:38:42 -0500|
Subject: bash displays strange characters after base64 decoding
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall
uname output: Linux ongakui 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Version: 4.3
Patch Level: 11
Release Status: release
Bash displays strange characters (including command prompt) (see attached png file) after the execution of the base64 (GNU coreutils 8.21) command like described as follows:
base64 -d base64.txt
The aim was actually to direct the output of the base64 command into a file (would have been a .jpg file) but the ">decoded.jpg" was forgotten.
Accordingly the output was directed to stdout instead. This resulted in the command prompt consisting of strange characters after decoding.
Also any command entered via the keyboard resulted in strange characters being displayed instead of the typed characters.
Also the output of the ls (which seems to be executed) command (as an example) is displayed as strange characters.
As described above.
|[Prev in Thread]||Current Thread||[Next in Thread]|