yet another vm identifier. time to make this configurable...

This commit is contained in:
Lysann Kessler 2012-06-11 17:52:46 +02:00
parent b119af583a
commit 1d753aa5d7
1 changed files with 2 additions and 1 deletions

View File

@ -59,7 +59,8 @@ boolean rdp_send_pcb(rdpNego* nego) {
STREAM* s;
// XXX: this is a fixed RDP_PRECONNECTION_PDU_V2, with Id=0 and a Hyper-V instance id as string
// must be customizable in the final version.
uint8 buf[] = {0x5c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x25, 0x00, 0x32, 0x00, 0x39, 0x00, 0x46, 0x00, 0x46, 0x00, 0x43, 0x00, 0x46, 0x00, 0x35, 0x00, 0x42, 0x00, 0x2d, 0x00, 0x43, 0x00, 0x33, 0x00, 0x36, 0x00, 0x43, 0x00, 0x2d, 0x00, 0x34, 0x00, 0x34, 0x00, 0x35, 0x00, 0x38, 0x00, 0x2d, 0x00, 0x38, 0x00, 0x39, 0x00, 0x34, 0x00, 0x43, 0x00, 0x2d, 0x00, 0x33, 0x00, 0x41, 0x00, 0x33, 0x00, 0x30, 0x00, 0x32, 0x00, 0x37, 0x00, 0x30, 0x00, 0x39, 0x00, 0x31, 0x00, 0x35, 0x00, 0x31, 0x00, 0x42, 0x00, 0x00, 0x00};
// 49ECFD99-8A50-43DC-B2EF-39965652C371
uint8 buf[] = {0x5c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x25, 0x00, 52, 0, 57, 0, 69, 0, 67, 0, 70, 0, 68, 0, 57, 0, 57, 0, 45, 0, 56, 0, 65, 0, 53, 0, 48, 0, 45, 0, 52, 0, 51, 0, 68, 0, 67, 0, 45, 0, 66, 0, 50, 0, 69, 0, 70, 0, 45, 0, 51, 0, 57, 0, 57, 0, 54, 0, 53, 0, 54, 0, 53, 0, 50, 0, 67, 0, 51, 0, 55, 0, 49, 0, 0x00, 0x00};
if(!nego_tcp_connect(nego)) return false;