From ca36e9f49fcdbecd0659d1a05498bba431591f41 Mon Sep 17 00:00:00 2001 From: binarymaster Date: Tue, 27 Jan 2015 14:25:29 +0300 Subject: [PATCH] Support for 10.0.9926.0 (x86) --- .gitignore | 14 ++++++++++---- res/rdpwrap.ini | 26 +++++++++++++++++++++++++- src-x86-binarymaster/rdpwrap.dproj | 8 ++++---- technical.txt | 7 ++++--- 4 files changed, 43 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 4081324..f0d086f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,12 @@ -# Unnecessary files - -*.~pas -*.dproj.local +# Delphi local files (user-specific info) +*.local *.identcache + +# Delphi history and backups +__history/ +*.~* + +# Compiled binaries *.dcu +*.exe +*.dll diff --git a/res/rdpwrap.ini b/res/rdpwrap.ini index bc3bf18..5f83a5a 100644 --- a/res/rdpwrap.ini +++ b/res/rdpwrap.ini @@ -2,7 +2,7 @@ ; Do not modify without special knowledge [Main] -Updated=2015-01-22 +Updated=2015-01-26 LogFile=\rdpwrap.txt SLPolicyHookNT60=1 SLPolicyHookNT61=1 @@ -1277,6 +1277,22 @@ SLInitOffset.x64=24750 SLInitFunc.x64=New_CSLQuery_Initialize [10.0.9926.0] +; Patch CEnforcementCore::GetInstanceOfTSLicense +LocalOnlyPatch.x86=1 +LocalOnlyOffset.x86=A8C28 +LocalOnlyCode.x86=jmpshort +; Patch CSessionArbitrationHelper::IsSingleSessionPerUserEnabled +SingleUserPatch.x86=1 +SingleUserOffset.x86=31725 +SingleUserCode.x86=nop +; Patch CDefPolicy::Query +DefPolicyPatch.x86=1 +DefPolicyOffset.x86=3CF99 +DefPolicyCode.x86=CDefPolicy_Query_eax_ecx +; Hook CSLQuery::Initialize +SLInitHook.x86=1 +SLInitOffset.x86=3F140 +SLInitFunc.x86=New_CSLQuery_Initialize ; x64 contributed by v-yadli ; Patch CEnforcementCore::GetInstanceOfTSLicense LocalOnlyPatch.x64=1 @@ -1448,6 +1464,14 @@ ulMaxDebugSessions.x64=EDC08 bRemoteConnAllowed.x64=EDC0C [10.0.9926.0-SLInit] +bFUSEnabled.x86 =C17D8 +lMaxUserSessions.x86 =C17DC +bAppServerAllowed.x86 =C17E0 +bInitialized.x86 =C17E4 +bMultimonAllowed.x86 =C17E8 +bServerSku.x86 =C17EC +ulMaxDebugSessions.x86=C17F0 +bRemoteConnAllowed.x86=C17F4 ; x64 contributed by v-yadli bFUSEnabled.x64 =EEBF0 lMaxUserSessions.x64 =EEBF4 diff --git a/src-x86-binarymaster/rdpwrap.dproj b/src-x86-binarymaster/rdpwrap.dproj index 36208c0..2b81a43 100644 --- a/src-x86-binarymaster/rdpwrap.dproj +++ b/src-x86-binarymaster/rdpwrap.dproj @@ -42,14 +42,14 @@ Base - - Cfg_2 - Base - Cfg_1 Base + + Cfg_2 + Base + diff --git a/technical.txt b/technical.txt index b5125df..f9563fc 100644 --- a/technical.txt +++ b/technical.txt @@ -55,15 +55,16 @@ Terminal Services supported versions 6.4.9841.0 (Windows 10 Technical Preview) [init hook + extended patch] 6.4.9860.0 (Windows 10 Technical Preview Update 1) [init hook + extended patch] 6.4.9879.0 (Windows 10 Technical Preview Update 2) [init hook + extended patch] -10.0.9926.0 (Windows 10 Technical Preview Update 3) [init hook + extended patch] [!todo x86] +10.0.9926.0 (Windows 10 Pro Technical Preview) [init hook + extended patch] Known failures 6.0.6000.16386 (Windows Vista RTM x86, crashes on logon attempt) Source code changelog (rdpwrap library): -2015.01.24 : -- Researching Windows 10 Technical Preview Update 3 (10.0.9926.0 x86) +2015.01.26 : +- Researching Windows 10 Pro Technical Preview (10.0.9926.0 x86) +- added support for termsrv.dll 10.0.9926.0 (x86) 2015.01.22 : - v-yadli contributed offsets for version 10.0.9926.0 (x64)