Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: perl web shell

by toma (Vicar)
on Oct 11, 2009 at 17:59 UTC ( [id://800554] : note . print w/replies, xml ) Need Help??

in reply to perl web shell

I use the POE modules to do this sort of thing. POE enabled me to hook standard in and out of multiple programs to one console. I added a web server that sends and receives messages from the different programs. This provides a nice web UI or text area for simple commands, while at the same time the full capability of the command line is still available in a console window.

It took me a while to get this all figured out, but it was worth it. POE terminology was not familiar to me, but once I figured out POE::Wheel::Run I had most of what I needed.

I didn't have much luck with non-cygwin perls on Windows, but perhaps this has changed.

It should work perfectly the first time! - toma

Replies are listed 'Best First'.
Re^2: perl web shell
by spx2 (Deacon) on Oct 12, 2009 at 04:06 UTC

    wow I wanted to reply to the initial post but I don't know why I can't so I'll write here

    I think goosh is a very very good idea, it just takes out all the unnecessary stuff and you get to what you want

    but I saw goosh has the source on google code so I don't know why you say you have to mess with java. I looked at the source and it was pure js(maybe some google api not sure...havne't read it all).

    I think I'll use goosh from now on although I am a little bit concerned about cross-domain ajax and not sure how safe it is in that regard but apart from that it's good.

      Make it https and require http auth (and require modern browser like firefox3), and cross-domain is eliminated :)

        if I host it myself you mean no ? is http.

        as far as the gmail functionality it provides , it makes an iframe in which it loads

        btw, if you suggest this , maybe you have such a setup(the above mentioned one)?