Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: Is it possible to execute some command in qx argument

by vladimirfedorov (Novice)
on May 06, 2017 at 00:53 UTC ( [id://1189635]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Is it possible to execute some command in qx argument
in thread Is it possible to execute some command in qx argument

Sure I understand the concern. I agree fully that the script should be fixed and it is planned for the next release of the VM template. This VM template is produced internally by our development org and we are managing an internal cloud where we they want to spin up sessions off of this template. The problem is that this script will be only fixed in later versions of the template.

Anyway it appeared it was not that simple after all. The suggested approaches did work in command line, but when testing end to end I found out that all quotes and apostrophes were replaced with &aquot; and & apos;. The arguments are being passed in the vm through an xml, so I guess that's why they were converted. So unless there is a way to do the same without apostrophes or quotes, our script is safe :).
  • Comment on Re^4: Is it possible to execute some command in qx argument

Replies are listed 'Best First'.
Re^5: Is it possible to execute some command in qx argument
by Anonymous Monk on May 06, 2017 at 02:29 UTC

    So unless there is a way to do the same without apostrophes or quotes, our script is safe :).

    Um, so it doesn't know how to read XML in addition to not knowing how to shell quote/escape?

    yuck

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1189635]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-18 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found