Re: Can System() of Perl be bypassed?
From: Sandeep Giri (sandeepgiri@indiatimes.com)
Date: 01/23/03
- Previous message: Alex Russell: "Re: Standards for developing secure software"
- Maybe in reply to: Sandeep Giri: "Can System() of Perl be bypassed?"
- Next in thread: Brian Hatch: "Re: Can System() of Perl be bypassed?"
- Reply: Brian Hatch: "Re: Can System() of Perl be bypassed?"
- Reply: Glynn Clements: "Re: Can System() of Perl be bypassed?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 23 Jan 2003 07:08:15 -0000 From: Sandeep Giri <sandeepgiri@indiatimes.com> To: secprog@securityfocus.com('binary' encoding is not supported, stored as-is) In-Reply-To: <87fzrku98r.fsf@abra.ru>
Hi!
Thanks a lot to you and all who replied to my mesg.
Taking chapter from replies,now I've changed my code to:
#!/usr/bin/perl -T -W
my $key_words;
my $help;
GetOptions('kw=s' => \$key_words,
'help' => \$help) || usage();
my @args = ($Keywords,....);
my @cmd = ("$JAVA",
"-search.home=$SEARCH_HOME",
"Searcher",
@args);
system(@cmd) == 0) ||error();
Need I be more paranoid than this and use my own regex to filter out
keywords my self?
Thanks a lot.
Sandeep Giri
- Next message: Valdis.Kletnieks@vt.edu: "Re: Standards for developing secure software"
- Previous message: Alex Russell: "Re: Standards for developing secure software"
- Maybe in reply to: Sandeep Giri: "Can System() of Perl be bypassed?"
- Next in thread: Brian Hatch: "Re: Can System() of Perl be bypassed?"
- Reply: Brian Hatch: "Re: Can System() of Perl be bypassed?"
- Reply: Glynn Clements: "Re: Can System() of Perl be bypassed?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|