add rdp login packet
This commit is contained in:
@@ -8,10 +8,7 @@ class Factory(protocol.Factory):
|
||||
Factory of RDP protocol
|
||||
'''
|
||||
def __init__(self):
|
||||
mcsLayer = mcs.MCS()
|
||||
#set global channel to graphic layer
|
||||
mcsLayer._channelIds[mcs.Channel.MCS_GLOBAL_CHANNEL] = gdl.GDL()
|
||||
self._protocol = tpkt.TPKT(tpdu.TPDU(mcsLayer))
|
||||
self._protocol = tpkt.TPKT(tpdu.TPDU(mcs.MCS(gdl.GDL())))
|
||||
|
||||
def buildProtocol(self, addr):
|
||||
return self._protocol;
|
||||
|
||||
Reference in New Issue
Block a user