
shellinabox - issue #283
how to open and interact with shellinabox in a custom html page
hello, I would need to open a session shellinabox in an html page customized. the terminal shellinabox will be loaded into a div inside of my page and next to this div I have buttons that I will use to send strings of commands to the cursor of the terminal shellinabox
here an example of what i want to do: http://www.atlantidee.it/download/esempio_shellinabox.jpg
thanks for your help
Comment #1
Posted on Jun 27, 2015 by Helpful ElephantHello,
if you use iframe to embed shellinabox on your page, you can check this example: https://github.com/shellinabox/shellinabox/blob/master/misc/embedded.html. For this to work you need the updated version of shellinabox from Github.
In your case you could call sendKeys() method to pass commands to shellinabox. I think that should work OK...
Comment #2
Posted on Jul 17, 2015 by Massive CatThank you, it is what i need and it works!
Now i need to send a ctrl+x and other shortcuts to the shell always by pressing a button, but i don't know how can i do this
Status: New
Labels:
Type-Defect
Priority-Medium