Full Disclosure mailing list archives

Re: Back To The Future: Unix Wildcards Gone Wild


From: Daniel Miller <bonsaiviking () gmail com>
Date: Sat, 28 Jun 2014 16:29:32 -0500

On Sat, Jun 28, 2014 at 5:06 AM, fulldisclosure <
fulldisclosure () evolution-hosting eu> wrote:

to be honest, bash shouldn't expand * to "file1 file2 file3 -rf..." it
should do it to "  'file1' 'file2' 'file3' '\-rf'..." instead, with all
meta chars escaped properly.


But this breaks my directory metadata scheme: important directories contain
a file named "-i", unimportant ones have "-f".

_______________________________________________
Sent through the Full Disclosure mailing list
http://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/


Current thread: