Example #1
0
 def __init__(self, targetHost, targetPort, socksSocket, activeRelays):
     SocksRelay.__init__(self, targetHost, targetPort, socksSocket,
                         activeRelays)
     self.isSSL = False
     self.tlsSocket = None
     self.packetSize = 32763
     self.session = None
Example #2
0
    def __init__(self, targetHost, targetPort, socksSocket, activeRelays):
        SocksRelay.__init__(self, targetHost, targetPort, socksSocket, activeRelays)
        self.__NBSession = None
        self.isSMB2 = False
        self.serverDialect = SMB_DIALECT

        # Let's verify the target's server SMB version, will need it for later.
        # We're assuming all connections to the target server use the same SMB version
        for key in activeRelays.keys():
            if activeRelays[key].has_key('protocolClient'):
                self.serverDialect = activeRelays[key]['protocolClient'].session.getDialect()
                self.isSMB2 = activeRelays[key]['protocolClient'].session.getDialect() is not SMB_DIALECT
                break
Example #3
0
    def __init__(self, targetHost, targetPort, socksSocket, activeRelays):
        SocksRelay.__init__(self, targetHost, targetPort, socksSocket, activeRelays)
        self.__NBSession = None
        self.isSMB2 = False
        self.serverDialect = SMB_DIALECT

        # Let's verify the target's server SMB version, will need it for later.
        # We're assuming all connections to the target server use the same SMB version
        for key in activeRelays.keys():
            if activeRelays[key].has_key('protocolClient'):
                self.serverDialect = activeRelays[key]['protocolClient'].session.getDialect()
                self.isSMB2 = activeRelays[key]['protocolClient'].session.getDialect() is not SMB_DIALECT
                break
Example #4
0
 def __init__(self, targetHost, targetPort, socksSocket, activeRelays):
     SocksRelay.__init__(self, targetHost, targetPort, socksSocket, activeRelays)
     self.packetSize = 8192
Example #5
0
 def __init__(self, targetHost, targetPort, socksSocket, activeRelays):
     SocksRelay.__init__(self, targetHost, targetPort, socksSocket, activeRelays)
     self.packetSize = 8192
     self.idleState = False
     self.shouldClose = True
Example #6
0
 def __init__(self, targetHost, targetPort, socksSocket, activeRelays):
     SocksRelay.__init__(self, targetHost, targetPort, socksSocket, activeRelays)
     self.isSSL = False
     self.tlsSocket = None
     self.packetSize = 32763
     self.session = None
 def __init__(self, targetHost, targetPort, socksSocket, activeRelays):
     SocksRelay.__init__(self, targetHost, targetPort, socksSocket,
                         activeRelays)
     self.packetSize = 8192
     self.idleState = False
     self.shouldClose = True
Example #8
0
 def __init__(self, targetHost, targetPort, socksSocket, activeRelays):
     SocksRelay.__init__(self, targetHost, targetPort, socksSocket, activeRelays)
     self.packetSize = 8192
Example #9
0
 def __init__(self, targetHost, targetPort, socksSocket, activeRelays):
     SocksRelay.__init__(self, targetHost, targetPort, socksSocket,
                         activeRelays)
     self.__NBSession = None