Hi Shlomi,
On Friday 10 November 2017 11:52:12 Shlomi Fish wrote:
>
> While I agree, see http://seriot.ch/parsing_json.php for a roundup of
> security problems and inconsistencies in JSON parsers.
Thanks for this, I'll give it a look when I get the chance. Thankfully, so far
I haven't seen any p
Hi Gary,
On Fri, 10 Nov 2017 09:48:30 +
Gary Stainburn wrote:
> On Friday 10 November 2017 00:08:09 SSC_perl wrote:
> > > On Nov 9, 2017, at 2:06 PM, David Precious wrote:
> > >
> > > you'll get whatever the script output to STDOUT.
> >
> > Thanks a million, Dave! STDOUT was what I w
On Friday 10 November 2017 00:08:09 SSC_perl wrote:
> > On Nov 9, 2017, at 2:06 PM, David Precious wrote:
> >
> > you'll get whatever the script output to STDOUT.
>
> Thanks a million, Dave! STDOUT was what I was missing. I've never used
> that before, so this was news to me. The remote s
> On Nov 9, 2017, at 2:06 PM, David Precious wrote:
>
> you'll get whatever the script output to STDOUT.
Thanks a million, Dave! STDOUT was what I was missing. I've never
used that before, so this was news to me. The remote script now returns a
string that I can manipulate and use i
On Thu, 9 Nov 2017 12:50:05 -0800
SSC_perl wrote:
> > On Nov 8, 2017, at 5:16 PM, thelip sia wrote:
> >
> > you can use backtick to store the output.
> > $list = `ssh usern...@domain.com
> > '/usr/bin/perl /path/to/dir-list.pl'`;
>
> Thanks, Heince. I had mistakenly thought those were
> On Nov 8, 2017, at 5:16 PM, thelip sia wrote:
>
> you can use backtick to store the output.
> $list = `ssh usern...@domain.com '/usr/bin/perl /path/to/dir-list.pl'`;
Thanks, Heince. I had mistakenly thought those were synonymous with
each other. And, of course, this morning, doing a
$list = system('ssh usern...@domain.com '/usr/bin/perl /cgi-bin/dir-list.pl
'");
Hmm, if it's a cgi-bin script, wouldn't use LWP (or curl or ...) work too?
On Wed, Nov 8, 2017 at 6:15 PM, SSC_perl wrote:
> I have a script on a remote server that creates a list of all
> directories on th
On Thu, 9 Nov 2017 08:16:47 +0700
thelip sia wrote:
> you can use backtick to store the output.
> $list = `ssh usern...@domain.com '/usr/bin/perl /cgi-bin/dir-list.pl'`;
>
Indeed, but note that one should be careful when interpolating strings there:
* http://perl-begin.org/topics/security/code
you can use backtick to store the output.
$list = `ssh usern...@domain.com '/usr/bin/perl /cgi-bin/dir-list.pl'`;
Regards,
Heince
On Thu, Nov 9, 2017 at 7:15 AM, SSC_perl wrote:
> I have a script on a remote server that creates a list of all
> directories on the server that end in a das