示例#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
示例#2
0
文件: smb.py 项目: MrTchuss/impacket
    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
示例#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
示例#4
0
 def __init__(self, targetHost, targetPort, socksSocket, activeRelays):
     SocksRelay.__init__(self, targetHost, targetPort, socksSocket, activeRelays)
     self.packetSize = 8192
示例#5
0
文件: imap.py 项目: MrTchuss/impacket
 def __init__(self, targetHost, targetPort, socksSocket, activeRelays):
     SocksRelay.__init__(self, targetHost, targetPort, socksSocket, activeRelays)
     self.packetSize = 8192
     self.idleState = False
     self.shouldClose = True
示例#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
示例#8
0
文件: http.py 项目: MrTchuss/impacket
 def __init__(self, targetHost, targetPort, socksSocket, activeRelays):
     SocksRelay.__init__(self, targetHost, targetPort, socksSocket, activeRelays)
     self.packetSize = 8192
示例#9
0
文件: smb.py 项目: y0d4a/impacket
 def __init__(self, targetHost, targetPort, socksSocket, activeRelays):
     SocksRelay.__init__(self, targetHost, targetPort, socksSocket,
                         activeRelays)
     self.__NBSession = None