in reply to Re^2: Is it possible to execute some command in qx argument
in thread Is it possible to execute some command in qx argument
In the OP you write:
I have the script on one of my systems that I can't modify at all
Well, this reeks of privilege escalation. Why can't you modify a script? I can think of a number of reasons/scenarios, and a short description of why this can't be done would be appropriate, so any suspicion of inappropriate privilege escalation would have been dispersed at the beginning.
So this is an XY problem. The script should be fixed in the first place, at its origin. A script which allows execution of arbitrary commands by this simple mechanism is a high security risk which should be fixed immediately. You should escalate this issue, not your privileges.
Unfortunately there are a number of vm templates with incorrect script which is a huge pain to manually log in and fix.
There are ways to automate this process. It would have been better to ask for ways of how to do that. If this script is part of a deployment environment shipped by some VM vendor, please escalate to that vendor prior to disclosure. There's no need to delete this thread (yet ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Is it possible to execute some command in qx argument
by vladimirfedorov (Novice) on May 06, 2017 at 00:53 UTC | |
by Anonymous Monk on May 06, 2017 at 02:29 UTC |