citronneur / rdpy

Remote Desktop Protocol in Twisted Python
GNU General Public License v3.0
1.67k stars 545 forks source link

connection is droped after decrypted or encrypted 4096 pakages #76

Open superpig2046 opened 6 years ago

superpig2046 commented 6 years ago

when using rdpy-rdpmitm , the client connection is closed after mitm-server encrypted or decrpted 4096 packages of data and updates keys. the console prints this log "[*] ERROR: INFO PDU : Unknown code 0x1192" when encrypted packages reaches the limit and "bad signature" when decrypted reached this limit . any idea how this happend ?

speidy commented 6 years ago

+1 , happens to me as well

seems like the current code doesn't re exchange keys with client when updating the key

superpig2046 commented 6 years ago

it seems using rdp-ssl on mitm-server and terminal server could bypass the changing keys logic . it works for me