Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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 ?

        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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://800554]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-03-29 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found