| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/dist-packages/twisted/tap/ |
Upload File : |
ó
oUNc @ s d Z d d l m Z d d l m Z d d l m Z m Z d d l m Z m
Z
d d l m Z d d l
Z
d d l Z d e j f d „ ƒ YZ d
„ Z d S( sB
I am the support module for making a manhole server with twistd.
iÿÿÿÿ( t service( t pb( t usaget util( t portalt checkers( t strportsNt Optionsc B s„ e Z d Z d d d d g d d e e j ƒ d g g Z d d d
g g Z e j d i e j
ƒ d 6ƒ Z d „ Z e Z
d
„ Z RS( s [options]t usert ut admins Name of user to allow to log int portt ps Port to listen ont
tracebackst Ts, Allow tracebacks to be sent over the networkt
optActionsc C s3 | d k r% t j d d ƒ | d <n
| | d <d S( sB Required. '-' will prompt or read a password from stdin.
t t -t confirmi t passwordN( R R ( R t getPassword( t selfR ( ( s7 /usr/lib/python2.7/dist-packages/twisted/tap/manhole.pyt opt_password s c C s# | j d ƒ s | j d ƒ n d S( NR R ( t has_keyR ( R ( ( s7 /usr/lib/python2.7/dist-packages/twisted/tap/manhole.pyt postOptions, s ( t __name__t
__module__t synopsist strR t portnot
optParameterst optFlagsR t Completionst CompleteUsernamest compDataR t opt_wR ( ( ( s7 /usr/lib/python2.7/dist-packages/twisted/tap/manhole.pyR s
c C s‡ | d | d | d } } } t j t j t j | d | j d ƒ ƒ ƒ t j i | | 6 g ƒ } t j | t j
| | d ƒ ƒ S( NR R R R
t namespace( R t PortalR t Realmt Servicet getR t' InMemoryUsernamePasswordDatabaseDontUseR R t PBServerFactory( t configR R R R ( ( s7 /usr/lib/python2.7/dist-packages/twisted/tap/manhole.pyt makeService0 s
%( t __doc__t twisted.manholeR t twisted.spreadR t twisted.pythonR R t twisted.credR R t twisted.applicationR t ost sysR R, ( ( ( s7 /usr/lib/python2.7/dist-packages/twisted/tap/manhole.pyt <module> s