3 ms·
exactly. the lesson could even be "don't open * from anyone, especially strangers." you can get code to execute in all sorts of presumably innocuous file types
by ryanburk 12y ago
exactly. the lesson could even be "don't open * from anyone, especially strangers."
you can get code to execute in all sorts of presumably innocuous file types.
- userbinator 12y agoPlaintext is likely to be OK, however; that is, if you're using a "dumb and simple" true text editor and not one that tries to do fancy things like parse the text and perform syntax highlighting.
- danielweber 12y agoHas anyone audited "less" on Unix recently? These days it does a whole bunch of magic stuff under the hood to show special formats "correctly."
- _RPM 12y agoWould the UNIX utility `cat` fall into that category?
- gizmo686 12y agocat is probably safe. I would be concerned about the terminal you are running it in though.
- a1369209993 12y ago`cat -A` works for terminal-safety
- deleted 12y ago[deleted]
- cmdrfred 12y agoI have been known to use Python's IDLE with suspect text documents, not because it's bullet proof just because the user base has to be super low. (as a text reader) f.open('suspect.txt', 'r') print f.read()