3 ms·
pbpaste | xxd Or your platform equivalent of pbpaste. If this isn’t totally safe and could have side effects, your platform’s clipboard implementation is probl
by oefrha 6y ago
pbpaste | xxd
Or your platform equivalent of pbpaste. If this isn’t totally safe and could have side effects, your platform’s clipboard implementation is problematic.
- inetknght 6y agoIt would be nice if the terminal would suggest a tool like that instead of just warning that it's unsafe to paste.
- oefrha 6y agoTurn on bracketed paste mode everywhere. Doesn’t help with homograph attacks (e.g. an IDN homograph attack tricking you into downloading something from the wrong domain), but at least you’re totally safe until you press enter to execute. https://cirw.in/blog/bracketed-paste https://cirw.in/blog/bracketed-paste