add client general capability
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
@author: sylvain
|
||||
'''
|
||||
from twisted.internet import protocol
|
||||
import tpkt, tpdu, mcs, gdl
|
||||
import tpkt, tpdu, mcs, sil
|
||||
class Factory(protocol.Factory):
|
||||
'''
|
||||
Factory of RDP protocol
|
||||
'''
|
||||
def __init__(self):
|
||||
self._protocol = tpkt.TPKT(tpdu.TPDU(mcs.MCS(gdl.GDL())))
|
||||
self._protocol = tpkt.TPKT(tpdu.TPDU(mcs.MCS(sil.SIL())))
|
||||
|
||||
def buildProtocol(self, addr):
|
||||
return self._protocol;
|
||||
|
||||
Reference in New Issue
Block a user