Re: [exim-dev] Candidate patches for privilege escalation

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: David Woodhouse
Ημερομηνία:  
Προς: Andreas Metzler
Υ/ο: exim-dev
Αντικείμενο: Re: [exim-dev] Candidate patches for privilege escalation
On Thu, 2010-12-16 at 19:04 +0100, Andreas Metzler wrote:
>
> Not with the correct results, unless the pattern needs to match the
> whole expression.
>
> ametzler@argenau:~$ /usr/sbin/exim4 -be '${if match
> {/tmp/etc/exim4/trusted}{/etc/exim4/trusted}{yes}{no}}'
> yes


Yeah, I came to that conclusion last night when I was trying to
implement it. Perhaps lines starting with a / should be a straight
string comparison, and lines starting with ^ should be a regex?

--
dwmw2