Questions tagged [terminal]
38 questions
6
votes
4 answers
Why do GUI terminals allow the pasting of control characters?
Given that control characters are usually not rendered, but they are given a special meaning in most terminals, what reasons are there for terminal apps to continue to support copy-pasting of control characters?
One can mask a harmful code as…
Manishearth
- 8,317
- 5
- 37
- 56
3
votes
2 answers
how to secure terminal logs
There might be a misconception from my side on wether I should worry about this or not. But if I should, what measures should I take to secure my terminal logs / command history?
One of things largely mentioned is to not type passwords as part of…
Paulo Phagula
- 133
- 3
1
vote
0 answers
Does `cat -v` provide adequate protection against control character injection and other similar attacks?
I need to cat an untrusted file on a remote server. I'm doing this by logging in with SSH.
There are known risks related to cat-ing untrusted files. See here.
The cat -v option can be used to encode non-printing characters:
-v, --show-nonprinting …
rubberband876
- 193
- 5