Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: perl web shell

by toma (Vicar)
on Oct 11, 2009 at 17:59 UTC ( #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


Comment on Re: perl web shell
Re^2: perl web shell
by spx2 (Chaplain) 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 ?

        goosh.org is http.

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

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://800554]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2014-12-21 10:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (104 votes), past polls