serve(port=None,
ip='
' ,
unix_path=None,
welcome_message=None,
global_dict=None)
| source code
|
Backdoor server function.
This function will listen on the backdoor socket and spawn new threads for
each connection.
- Parameters:
port - : The IPv4 port to listen on (defaults to automatically choose
an unused port between 8023->8033). May also be a list of ports.
ip - : The IP to listen on. Defaults to all IP's.
unix_path - : The unix path to listen on. If this is specified, then
it will use unix-domain sockets, otherwise it will use IPv4 sockets.
welcome_message - : A welcome message to display when a user logs in.
global_dict - : The global dictionary to use for client sessions.
|