|
|
|
|
|
by ultramancool
3579 days ago
|
|
Yeah, I keep stuff like that disabled for this reason, and because random sites like to add urls when you copy text. Just set dom.event.clipboardevents.enabled = false. Some shells also handle the paste and try to detect anything funny going on or at least let you review before you execute. |
|
Your parent's link's trickery is to do not with JavaScript (it just uses raw HTML), so this would not mitigate that attack:
> Some shells also handle the paste and try to detect anything funny going on or at least let you review before you execute.The link also mentions that bracketed paste mode does not prevent this attack:
> Please note that _Bracketed Paste Mode DOES NOT always fix this_ because the end sequence can be inside the text you paste unless your terminal emulator filters out the bracketed paste characters when pasting!