>> > >>
>> > >>produces this:
>> > >>"Too late for "-T" option at w:\cgi-bin\admin\tainttest.pl line 1."
>> > >
I had this problem and this exact same message on a linux server cause I had
my CGI running SUID and calling my perl code.
The c program calls my perl code
#include
#include
#inclu
At 02:02 PM 6/5/2001 -0700, Mark Ross wrote:
>Here's
>what comes out of the server log:
>
>06/05/01 16:55 "/cgi/admin/tainttest2.pl", proc "/usr/local/bin/perl":
>Too late for "-T" option at /cgi/admin/tainttest2.pl line 1.
>
>And, here's the code again (I switched the T and the w, just to see if
> > >>This code:
> > >>
> > >>#!/usr/local/bin/perl -wT
> > >>use strict;
> > >>use CGI;
> > >>my $q = new CGI;
> > >>print ("hi");
> > >>exit;
> > >>
> > >>produces this:
> > >>"Too late for "-T" option at w:\cgi-bin\admin\tainttest.pl line 1."
> > >
> > >The problem is that -T needs to be enabl
At 01:14 PM 6/5/2001 -0700, Mark Ross wrote:
> >>This code:
> >>
> >>#!/usr/local/bin/perl -wT
> >>use strict;
> >>use CGI;
> >>my $q = new CGI;
> >>print ("hi");
> >>exit;
> >>
> >>produces this:
> >>"Too late for "-T" option at w:\cgi-bin\admin\tainttest.pl line 1."
> >
> >The problem is that -T
>>This code:
>>
>>#!/usr/local/bin/perl -wT
>>use strict;
>>use CGI;
>>my $q = new CGI;
>>print ("hi");
>>exit;
>>
>>produces this:
>>"Too late for "-T" option at w:\cgi-bin\admin\tainttest.pl line 1."
>
>The problem is that -T needs to be enabled so early in the invocation
>process that by the ti
On Tue, Jun 05, 2001 at 12:46:15PM -0700, Mark Ross ([EMAIL PROTECTED]) spew-ed forth:
> Hi all,
>
> I'm very confused on how to use taint for my cgi scripts.
Hi Mark,
As well as some of the explinations you will get, also take a look at the
following documentation for more info on tainting:
p
At 12:46 PM 6/5/2001 -0700, Mark Ross wrote:
>This code:
>
>#!/usr/local/bin/perl -wT
>use strict;
>use CGI;
>my $q = new CGI;
>print ("hi");
>exit;
>
>produces this:
>"Too late for "-T" option at w:\cgi-bin\admin\tainttest.pl line 1."
The problem is that -T needs to be enabled so early in the in
On Jun 5, Mark Ross said:
>I'm very confused on how to use taint for my cgi scripts.
>
>"Too late for "-T" option at w:\cgi-bin\admin\tainttest.pl line 1."
The first place to find explanations for error messages is in the perldiag
documentation. You can even embed an automatic look-up feature b
--- Mark Ross <[EMAIL PROTECTED]> wrote:
> #!/usr/local/bin/perl -wT
> use strict;
> use CGI;
> my $q = new CGI;
> print ("hi");
> exit;
>
> produces this:
>
> "Too late for "-T" option at w:\cgi-bin\admin\tainttest.pl line 1."
I wrote this to a file named x.
Running it with
perl x
got the