Re: REGRESSION: shellshock patch rejects valid function names
From:
Dan Douglas
Subject:
Re: REGRESSION: shellshock patch rejects valid function names
Date:
Mon, 29 Sep 2014 17:18:18 -0500
User-agent:
KMail/4.14 (Linux/3.16.2; KDE/4.14.0; x86_64; ; )
On Tuesday, September 30, 2014 12:11:15 AM Andreas Schwab wrote:
> Dan Douglas <ormaaj@gmail.com> writes:
>
> > Another thing you can do in bash is bypass its command name check by using
> > a
> > null zeroth word.
> >
> > $ { function } { echo test; }; <() }; }
> > test
> >
> > Ordinarily } would be uncallable,
>
> Only literal } is special, you can use \} instead, or store it in a
> variable.
Yeah I forgot there are a few ways. `<&0 }` is yet another.
--
Dan Douglas