GoSecure / pyrdp

RDP monster-in-the-middle (mitm) and library for Python with the ability to watch connections live or after the fact
https://www.gosecure.net/blog/2020/10/20/announcing-pyrdp-1/
GNU General Public License v3.0
1.5k stars 242 forks source link

Handle missing RDPVersion numbers thrown by some RDP clients #477

Open luciaprime54 opened 3 months ago

luciaprime54 commented 3 months ago

A recent update of some clients such as Remmina on Linux recently updated the RDP version code to 0x80011 and threw an exception crashing unnecessarily.

Rather than waiting to hardcode the next version number, handle the ones we need to and create a catch-all for the ones we haven't seen.

PR also adds the latest version I saw in the wild: 0x80011