Skip to content
generic telnet-based colored manhole setup for a Twisted app
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
MagicManhole.py
README.rst

README.rst

MagicManhole

Provides normal ColoredManhole features (python REPL with automatic syntax coloring and history), plus some readline-y niceness like C-a (beginning-of-line), C-e (end-of-line), C-h (backspace), C-u (unix-line-discard), C-w (unix-word-rubout), and C-y (yank).

Todo

  • tab-completion a la rlcompleter module
  • telnet login/password protection

Example

Example usage as a .tac:

from MagicManhole import MagicManhole

application = service.Application("ripcordd")
hole = MagicManhole(globals())
hole.setServiceParent(application)

Connecting:

telnet localhost 6022
Something went wrong with that request. Please try again.