MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: realperl




You need to make sure that you have the user tag in your catalog.  Ant sent that
a couple of days ago.  Yes you can execute arbitrary perl.

What Ant did not make clear is that escaping Safe to straight perl defeats 
every safety mechanism built into minivend.  Anything user minivend can 
touch is at risk.  You **will** crash minivend sooner or later.  You 
will probably crash your SQL server.  If you do not have a development
machine, do not do this.  If you are not comfortable with the internals
of lib/Vend do not do this.  You are entering COMPLETELY UNSUPPORTED
territory.  Get a rope, tie it to the rafters and around your neck; 
that is your safety harness.  You have been warned.  


cfm

> >> I'd like to know it it's possible to exicute an external perl script using the
> >> [realperl] tag.  Isn't their a ssystem() call or something you can do in REAL
> >> perl that allows you to do this?  Can [realperl] be rigged to do stuff like
> >> this?
> >
> >  Yeah. 
> >  $foo = system('/usr/bin/script.pl');
> >  or
> >  $foo = `/usr/bin/script.pl`;
> 
> 
> so this would work to exicute /usr/bin/script.bash?
> 
> [realperl]
> $foo = system('/usr/bin/script.bash');
> $foo;
> [/realperl]
> 
> are their any modifications that need to be made to the minivend system to get
> [realperl] to work with this?  (ps : that's a bash script!)

-- 

Christopher F. Miller, Publisher                             cfm@maine.com
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Database publishing, electronic commerce, office and internet integration.


Search for: Match: Format: Sort by: