using cmd.exe as a telnet client

Jp Calderone exarkun at divmod.com
Sat Dec 4 10:56:51 EST 2004


On Sat, 4 Dec 2004 03:31:12 -0800 (PST), Eyal Lotem <gnupeaker at yahoo.com> wrote:
> 
> You simple have to run PyInvoke's server.py on the
> server, and then in the client, you can Pythonically
> control anything on the server:
> 
> client = pyinvoke.connect(('some_server', some_port))
> client.modules.shutil().rmtree('/tmp/blah')

  This seems terribly, terribly insecure; the kind of thing no one should ever run on any server or desktop anywhere for any reason.

  What am I missing?

  Jp



More information about the Python-list mailing list