4 ms·
> I haven't found another terminal with such definitive protection against the attack described by Horn. It's not available on Linux, but iTerm2 does this!
by saagarjha 9y ago
> I haven't found another terminal with such definitive protection against the attack described by Horn.
It's not available on Linux, but iTerm2 does this!
- jwilk 9y agoDoes what?
- dakom 9y agoelementary's terminal does too with sudo commands: https://github.com/elementary/terminal https://github.com/elementary/terminal
- makecheck 9y agoI also do this in MacTerm (with the option to join the text to a single line, keep as-is or cancel). Though there is still lots of trickery that can sneak into text, e.g. zero-width characters, and I’m trying to come up with better filters.
- eridius 9y agomacOS's built-in Terminal.app protects against this attack too. If I try and paste the text containing the bracketed end mode character, Terminal.app beeps and presents a sheet telling me that I cannot send the text to the terminal because it contains invalid content for Bracketed Paste Mode (along with a more detailed description). Incidentally, when you say iTerm2 "does this" do you mean the simple "confirm paste" behavior, or does it actually explicitly protect against the bracketed paste mode attack?