Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/MySQL/MySQL Workbench 6.3 CE/workbench/ |
Upload File : |
ó 2z”Xc @ sÔ d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d e j f d „ ƒ YZ d e f d „ ƒ YZ d e j f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d S( iÿÿÿÿN( t TCPServer( t BaseRequestHandlert TCPCommandListenerc B s e Z d Z d „ Z d „ Z RS( së This listener is to use a SocketServer.TCPServer on the logic for listening commands the advantage of this version is that is basically a server shipped with python so more error prone. It requires the implementation of a Handler class which will contain all the handshaking logic that was implemented on the original SocketServer (below). There's a specific TODO on this version: need to find the way to tell the server to stop once the command execution has completed. c s™ t j j ˆ ƒ d j d „ t d ƒ Dƒ ƒ ˆ _ d j d „ t d ƒ Dƒ ƒ ˆ _ t d ‡ ‡ f d † t ƒ ˆ _ ˆ j j ƒ ˆ j j d ˆ _ d S( Nt c s s( | ] } t j t j t j ƒ Vq d S( N( t randomt choicet stringt ascii_uppercaset digits( t .0t x( ( sD C:\Program Files\MySQL\MySQL Workbench 6.3 CE\workbench\tcp_utils.pys <genexpr>* s i c s s( | ] } t j t j t j ƒ Vq d S( N( R R R R R ( R R ( ( sD C:\Program Files\MySQL\MySQL Workbench 6.3 CE\workbench\tcp_utils.pys <genexpr>+ s s 127.0.0.1i c s"