Timeline for Execute a shell command upon a click event in a web page
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 17, 2017 at 10:46 | history | edited | CommunityBot |
replaced http://security.stackexchange.com/ with https://security.stackexchange.com/
|
|
| Jun 29, 2015 at 18:17 | comment | added | terdon♦ | @G-Man hah! So he did. There I go, flaunting my ignorance again. | |
| Jun 29, 2015 at 18:12 | comment | added | G-Man Says 'Reinstate Monica' | @terdon: I had started to write a long-winded rebuttal, but it looks like ikrabbe has proven my point — it is possible for a program to do this. | |
| Jun 21, 2015 at 13:32 | comment | added | terdon♦ | @G-Man I don't know if it's possible for a click to be passed back to the browser and cause a shell session to start. FTP is very different since that initiates a session by definition. I'm not saying it's 100% impossible, I don't really know, I just think it's impossible and it's certainly not possible with existing browsers. | |
| Jun 21, 2015 at 13:26 | comment | added | G-Man Says 'Reinstate Monica' | Certainly it’s possible for a program to do. Consider: there’s no difference, in principle, between an FTP client and a browser (an HTTP client) — both interact with a local user and with a server. Trivially, the FTP client can modify local files and execute (some) local commands. Sure, it’s only at the request of the user, but that’s not a real constraint. So a browser can do the same. I heard, about ten years ago, that some of the major browsers had a security setting so low that they allowed this, but I don’t recall details, and things have probably been tightened up since then. | |
| Jun 21, 2015 at 10:58 | comment | added | bob dylan | Well let's say i want to make an hybrid website / program with some functionality linked to my OS. So my browser won't be a normal "browser". So i don't see how it's not possible. | |
| Jun 21, 2015 at 10:55 | comment | added | terdon♦ | @bobdylan I don't think that's possible. I certainly hope it isn't anyway. That's a cool little program, by the way. I had no idea it was that simple to do! The point, however, is that I don't think it is possible to initiate a local shell session from the browser. | |
| Jun 21, 2015 at 10:38 | comment | added | bob dylan | Thank for the answer, i understand the obvious issue there. I'm trying to achieve that with a custom browser : stackoverflow.com/questions/30963508/… | |
| Jun 21, 2015 at 10:32 | history | answered | terdon♦ | CC BY-SA 3.0 |