Skip to content

Commit

Permalink
matching the bluekeep poc check
Browse files Browse the repository at this point in the history
  • Loading branch information
glaslos committed Dec 28, 2024
1 parent e650c46 commit c895e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocols/tcp/rdp/rdp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c895e58

Please sign in to comment.