Vulnerability Development mailing list archives

Re: Guestbook perl script (error fix)


From: zweije () XS4ALL NL (Vincent Zweije)
Date: Sat, 9 Oct 1999 13:54:32 +0200


Matt Carothers:

||  The entire "<!--#" has to be there to trigger a directive handler.  Removing
||  all occurances of "<!--#" from the input is sufficient to neuter all
||  server-side includes.
||
||  $value =~ s/<!--#//g;

I suspect that will fail for:

    <!--<!--##

Ciao.                Vincent.


Current thread: