Better sanitizing.
This commit is contained in:
parent
92dda7f46d
commit
b58b64c77b
@ -92,7 +92,7 @@ decrypt() {
|
||||
print_messages() {
|
||||
open_socket
|
||||
echo -n 2 >&3
|
||||
head -c "${1}" <&3 | decrypt | sed -e 's/\x1B/ESC/g' -e 's/\x0D/RET/g' -e 's/\x08/BAC/g'
|
||||
head -c "${1}" <&3 | decrypt | sed -e 's/\x1B/ESC/g' -e 's/\x0D/RET/g' -e 's/\x08/BAC/g' -e 's/\x0C/FF/g' -e 's/\x0B/VT/g' -e 's/\x07/BEL/g'
|
||||
close_socket
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user