diff --git a/protocols/tcp/rdp/rdp.go b/protocols/tcp/rdp/rdp.go index 4e70c2a..5a0bf2d 100644 --- a/protocols/tcp/rdp/rdp.go +++ b/protocols/tcp/rdp/rdp.go @@ -73,7 +73,7 @@ func ConnectionConfirm(cr CRTPDU) (TKIPHeader, []byte, error) { SelectedProtocol: [4]byte{0x3}, }, } - binary.BigEndian.PutUint16(cc.Header.Length[:], 19) + binary.BigEndian.PutUint16(cc.Header.Length[:], 12) binary.LittleEndian.PutUint16(cc.Response.Length[:], 8) buf := new(bytes.Buffer) err := binary.Write(buf, binary.LittleEndian, cc)