3 ms·
What's unsafe about it? It doesn't break out of the terminal as a system that shows data to the user. The fact that you can sneak data that looks weird doesn't
by jojobas 6y ago
What's unsafe about it? It doesn't break out of the terminal as a system that shows data to the user. The fact that you can sneak data that looks weird doesn't make it unsafe.
- yuubi 6y agoSome terminals support a programmable answerback string, and of course the ENQ control character to send it to the host. Some have programmable function keys and a command to read them, which often (always?) sends the programmed string as consecutive unencoded characters (instead of hex or something).
- gruez 6y agoConcrete example in sibling comment: https://news.ycombinator.com/item?id=26617412 https://news.ycombinator.com/item?id=26617412