News for hackers. Stuff that matters.
Re:Don't Pipe to your Shell by chadnickbok on Friday November 01, 2013 @04:59AM (#6652568)
Actually, in this case, no it won't. Your own shell will parse $TMP_DIR and replace it with the output of mktemp, and then execute it.

Its only really bad if some does the following:

  rm -rf /$TMP_DIR
The slash is important

There are no comments on this comment yet.