01-14-06 03:41 AM
Fletcher Glenn <fletcher@removethisfoglight.com> wrote:
> While talking with an associate about spaces in Windows
> filenames, the question was raised about spaces in UNIX
> filenames. This led to the subject of "hard to remove"
> files which are usually accidentally created. It was then
> that it occurred to me that the most evil file name possible
> is: "-rf *". Any careless newbie would be in big trouble
> trying to delete this file.
what about subdirectory "-rf " with file, starting with newline in it?
Or '-rf ${HOME}'
Few years ago there was vulnerablity discovered in Midnight commander,
that in attempt to enter directory with \3 symbol in its name, it
executed everything which was after \3 as shell command.
--
Journalism will kill you, but it will keep you alive while you're at it.
[ Post a follow-up to this message ]
|