[ale] Exploiting wildcards on Linux

Alex Carver agcarver+ale at acarver.net
Sun Jun 29 15:03:14 EDT 2014


On 2014-06-29 11:55, Boris Borisov wrote:
> http://www.net-security.org/article.php?id=2061
> 

Seems strange to not mention using -- at the end of the tar command:

tar cf archive.tar -- *

Command line argument parsing is terminated forcefully and all
subsequent arguments are assumed to be files.  No "workaround" needed
(using ./* does weird things to the stored directory tree by appending
./ to everything -- that could potentially be bad during a restore)


More information about the Ale mailing list