in reply to Re: Insecure dependency message ?
in thread Insecure dependency message ?
$outfile equates to (for example) - 2003-12-18-0001133 , for order number 1133, the preceeding stuff is a date stamp (we have the timestamp from the website, but the filename is unique this way)
Where are $basedir, $month, $year and $day from?
$basedir is set once at the top of the Perl script, just after the shebang code I posted. $month, $year and $day are _only_ used in the code/sub I supplied (the 4 lines) They are 'retrieved' from the system/website.
Have you untainted your foreign source (user input, stream input, file input) variables? If you have NO clue what I mean, then i suggest doing a "man perlsec" and reading up on the taint section. They talk about untainting and the likes.
Yes, I have no idea what you mean. There is a lot of foreign source coming from the browser form. I'll have to read up on 'taint'; the shell access on the website takes 3 cups of coffee to 'work', but I also have Active Sate perl , and I've found 'perlsec', so I'll try and digest that over the next few days
Possibly one thing to consider is this perl script (now 1064 lines) was inherited from a Unix box. Maybe Perl worked _slightly_ differently there ??
Thanks,
Peter
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Insecure dependency message ?
by exussum0 (Vicar) on Jan 06, 2004 at 04:06 UTC | |
by peterr (Scribe) on Jan 06, 2004 at 04:52 UTC | |
by exussum0 (Vicar) on Jan 06, 2004 at 04:57 UTC | |
by peterr (Scribe) on Jan 07, 2004 at 01:21 UTC | |
|
Re: Re: Re: Insecure dependency message ?
by duff (Parson) on Jan 06, 2004 at 04:10 UTC | |
by peterr (Scribe) on Jan 06, 2004 at 04:40 UTC |