Better escaping.
This commit is contained in:
parent
2590a5afe8
commit
7ece0a814a
@ -89,7 +89,7 @@ decrypt() {
|
|||||||
print_messages() {
|
print_messages() {
|
||||||
open_socket
|
open_socket
|
||||||
echo -n 2 >&3
|
echo -n 2 >&3
|
||||||
head -c "${1}" <&3 | decrypt | sed -e 's/\x1B/ESC/g'
|
head -c "${1}" <&3 | decrypt | sed -e 's/\x1B/ESC/g' -e 's/\x0D/RET/g' -e 's/\x08/BAC/g'
|
||||||
close_socket
|
close_socket
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user