News for hackers. Stuff that matters.
Re:Gnu tar happily connects to remote hosts, depending on fi... by mjn on Tuesday September 17, 2013 @04:55PM (#6401907)
The colon's a legal character in Unix filenames, so it's possible someone could send you a file named somehostname:foo.tar and convince you to run tar on it. Of course, if you quote the filename or escape the \:, as bash autocompletion would do, it wouldn't be an issue, but I could imagine some possible scenario.
Re:Gnu tar happily connects to remote hosts, depending on fi... by pjungwir on Tuesday September 17, 2013 @07:55PM (#6402632)
I don't see how quoting or a shell-level backslash would change tar's behavior to something safe. Tar would still see a colon in its argv either way. Right?
Re:Gnu tar happily connects to remote hosts, depending on fi... by pankkake on Thursday September 26, 2013 @05:04PM (#6453644)
No, it would see \: