Timeline for Executing commands in an elevated bash process by writing to the standard input of its parent script process
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 14, 2016 at 7:19 | history | tweeted | twitter.com/StackUnix/status/731383458107396096 | ||
| May 13, 2016 at 21:45 | history | edited | Gilles 'SO- stop being evil' |
edited tags
|
|
| May 13, 2016 at 10:09 | vote | accept | Tony George | ||
| May 13, 2016 at 9:55 | answer | added | marcan | timeline score: 5 | |
| May 13, 2016 at 8:59 | comment | added | Tony George | It is being executed through an application using GLib.spawn_async() method | |
| S May 13, 2016 at 8:52 | history | suggested | GAD3R | CC BY-SA 3.0 |
Fixed code sample
|
| May 13, 2016 at 8:40 | review | Suggested edits | |||
| S May 13, 2016 at 8:52 | |||||
| May 13, 2016 at 7:11 | comment | added | marcan | I'm going to write an answer, but I need an important extra bit of information: how are you invoking the original shell script? Are you running it from a simple terminal window? Although I can explain the permissions issue, your command injection example should not work as is in that case (though there are other ways to make it work), which makes me think that something other than a plain graphical terminal is involved here. | |
| May 13, 2016 at 6:10 | review | First posts | |||
| May 13, 2016 at 6:22 | |||||
| May 13, 2016 at 6:06 | history | asked | Tony George | CC BY-SA 3.0 |