Re:The increased use of PowerShell in attacks [pdf]
by sebcat on Saturday May 20, 2017 @04:38AM
(#14381529)
using ls with globbing is redundant: the shell will expand * 1* .png to a list of files, which will then be passed to the argument vector of ls, looking up the files twice. You could just do echo * 1* .png.
ls doesn't do glob matching. ls '*' would try to fstatat (FreeBSD) that character.
ls doesn't do glob matching. ls '*' would try to fstatat (FreeBSD) that character.
EDIT: formatting