From 7ca0c329125614fd191db809987a364a7538bcaa Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 5 Feb 2005 21:39:37 +0000 Subject: [PATCH] Try to demand activity from the client on logon. --- secure.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/secure.c b/secure.c index 3d0a42c..4134775 100644 --- a/secure.c +++ b/secure.c @@ -763,6 +763,21 @@ sec_recv(void) { printf("Received logon packet!\n"); rdp_get_logon_info(s); + + // demand activity + { + STREAM s; + + s = sec_init(g_encryption ? SEC_ENCRYPT : 0, 10); + out_uint16_le(s, 10); + out_uint16_le(s, (RDP_PDU_DEMAND_ACTIVE | 0x10)); + out_uint16_le(s, 1001); + + out_uint32_le(s, 0x103ea); + s_mark_end(s); + sec_send(s, g_encryption ? SEC_ENCRYPT : 0); + } + continue; } -- 2.39.2