New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rdpy.core.error.InvalidSize in rdp-rdpclient.py #14
Comments
fix in last commit on hotfix branch can you test it?
Sorry but RDP have a lot of implementation, all differents. Thanks to test it. |
Sorry but this fix is not enough. You really need to checkout the hotfix branch. Sorry. |
No problem. I checked out that branch, but here's what I'm getting now. Should I open a new issue or continue on this one? P.S. I'm using an old WinXP SP3, should I try with Win7 maybe?
|
I think win 7 works but this bug is very interesting! |
Ok i fix in last commit plus a side effect on heneypot. Now all is ok for me. Microsoft was not clear when it use MUST keyword on spec: All is ok for me i'm waiting your go and release the 1.2.2 version. |
Fix confirmed, thanks! Now rdp-rdpclient.py works with both Win7 and WinXP. |
I have the same error running rdpy-rdpclient.py on an Ubuntu 14.04, having intalled todya the hotfix branch of rdpy and triying to connect to a Virtualbox vm. Connecting with rdesktop to same vm works ok. javier@javier-System-Product-Name:~/proyectos/securework/resources_testing$ rdpy-rdpclient.py 127.0.0.1:5001 File "build/bdist.linux-x86_64/egg/rdpy/core/layer.py", line 209, in dataReceived File "build/bdist.linux-x86_64/egg/rdpy/protocol/rdp/tpkt.py", line 195, in readData File "build/bdist.linux-x86_64/egg/rdpy/protocol/rdp/x224.py", line 199, in recvConnectionConfirm rdpy.core.error.RDPSecurityNegoFail: negotiation failure code 3 File "build/bdist.linux-x86_64/egg/rdpy/core/layer.py", line 209, in dataReceived File "build/bdist.linux-x86_64/egg/rdpy/protocol/rdp/tpkt.py", line 195, in readData File "build/bdist.linux-x86_64/egg/rdpy/protocol/rdp/x224.py", line 148, in recvData File "build/bdist.linux-x86_64/egg/rdpy/protocol/rdp/t125/mcs.py", line 243, in recvData File "build/bdist.linux-x86_64/egg/rdpy/core/layer.py", line 102, in File "build/bdist.linux-x86_64/egg/rdpy/protocol/rdp/sec.py", line 470, in recv File "build/bdist.linux-x86_64/egg/rdpy/protocol/rdp/pdu/layer.py", line 254, in recvServerFontMapPDU File "build/bdist.linux-x86_64/egg/rdpy/core/type.py", line 897, in readType File "build/bdist.linux-x86_64/egg/rdpy/core/type.py", line 97, in read File "build/bdist.linux-x86_64/egg/rdpy/core/type.py", line 477, in read rdpy.core.error.InvalidSize: Stream is too small to read expected SimpleType To reproduce the steps for testing:
Thanks, Javier. |
I'm connecting to a test VM, when I use rdesktop is all fine but with rdpy-rdpclient here's what I got. I tried removing some options, changing width&height, but no luck. :-(
The text was updated successfully, but these errors were encountered: