|
2 | 2 | ; Do not modify without special knowledge
|
3 | 3 |
|
4 | 4 | [Main]
|
5 |
| -Updated=2015-01-26 |
| 5 | +Updated=2015-03-23 |
6 | 6 | LogFile=\rdpwrap.txt
|
7 | 7 | SLPolicyHookNT60=1
|
8 | 8 | SLPolicyHookNT61=1
|
@@ -1320,6 +1320,71 @@ SLInitHook.x64=1
|
1320 | 1320 | SLInitOffset.x64=24EC0
|
1321 | 1321 | SLInitFunc.x64=New_CSLQuery_Initialize
|
1322 | 1322 |
|
| 1323 | +[10.0.10041.0] |
| 1324 | +; Patch CEnforcementCore::GetInstanceOfTSLicense |
| 1325 | +; .text:100A9D7B call ?IsLicenseTypeLocalOnly@CSLQuery@@SGJAAU_GUID@@PAH@Z ; CSLQuery::IsLicenseTypeLocalOnly(_GUID &,int *) |
| 1326 | +; .text:100A9D80 test eax, eax |
| 1327 | +; .text:100A9D82 js short loc_100A9D9F |
| 1328 | +; .text:100A9D84 cmp [ebp+var_C], 0 |
| 1329 | +; .text:100A9D88 jz short loc_100A9D9F <- jmp |
| 1330 | +LocalOnlyPatch.x86=1 |
| 1331 | +LocalOnlyOffset.x86=A9D88 |
| 1332 | +LocalOnlyCode.x86=jmpshort |
| 1333 | +; .text:0000000180097133 call ?IsLicenseTypeLocalOnly@CSLQuery@@SAJAEAU_GUID@@PEAH@Z ; CSLQuery::IsLicenseTypeLocalOnly(_GUID &,int *) |
| 1334 | +; .text:0000000180097138 test eax, eax |
| 1335 | +; .text:000000018009713A js short loc_18009715B |
| 1336 | +; .text:000000018009713C cmp [rsp+58h+arg_18], 0 |
| 1337 | +; .text:0000000180097141 jz short loc_18009715B <- jmp |
| 1338 | +LocalOnlyPatch.x64=1 |
| 1339 | +LocalOnlyOffset.x64=97141 |
| 1340 | +LocalOnlyCode.x64=jmpshort |
| 1341 | +; Patch CSessionArbitrationHelper::IsSingleSessionPerUserEnabled |
| 1342 | +; .text:10032211 lea eax, [esp+150h+VersionInformation] |
| 1343 | +; .text:10032215 inc ebx <- nop |
| 1344 | +; .text:10032216 mov [edi], ebx |
| 1345 | +; .text:10032218 push eax ; lpVersionInformation |
| 1346 | +; .text:10032219 call ds:__imp__GetVersionExW@4 ; GetVersionExW(x) |
| 1347 | +SingleUserPatch.x86=1 |
| 1348 | +SingleUserOffset.x86=32215 |
| 1349 | +SingleUserCode.x86=nop |
| 1350 | +; .text:0000000180015C5E call memset_0 |
| 1351 | +; .text:0000000180015C63 mov ebx, 1 <- 0 |
| 1352 | +; .text:0000000180015C68 mov [rsp+190h+VersionInformation.dwOSVersionInfoSize], 11Ch |
| 1353 | +; .text:0000000180015C70 lea rcx, [rsp+190h+VersionInformation] ; lpVersionInformation |
| 1354 | +; .text:0000000180015C75 mov [rdi], ebx |
| 1355 | +; .text:0000000180015C77 call cs:__imp_GetVersionExW |
| 1356 | +SingleUserPatch.x64=1 |
| 1357 | +SingleUserOffset.x64=15C64 |
| 1358 | +SingleUserCode.x64=Zero |
| 1359 | +; Patch CDefPolicy::Query |
| 1360 | +; Original |
| 1361 | +; .text:1002DFC9 cmp eax, [ecx+320h] |
| 1362 | +; .text:1002DFCF jz loc_10056550 |
| 1363 | +; Changed |
| 1364 | +; .text:1002DFC9 mov eax, 100h |
| 1365 | +; .text:1002DFCE mov [ecx+320h], eax |
| 1366 | +; .text:1002DFD4 nop |
| 1367 | +DefPolicyPatch.x86=1 |
| 1368 | +DefPolicyOffset.x86=2DFC9 |
| 1369 | +DefPolicyCode.x86=CDefPolicy_Query_eax_ecx |
| 1370 | +; Original |
| 1371 | +; .text:000000018000B795 cmp [rcx+63Ch], eax |
| 1372 | +; .text:000000018000B79B jz sub_18003A79A |
| 1373 | +; Changed |
| 1374 | +; .text:000000018000B795 mov eax, 100h |
| 1375 | +; .text:000000018000B79A mov [rcx+638h], eax |
| 1376 | +; .text:000000018000B7A0 nop |
| 1377 | +DefPolicyPatch.x64=1 |
| 1378 | +DefPolicyOffset.x64=B795 |
| 1379 | +DefPolicyCode.x64=CDefPolicy_Query_eax_rcx |
| 1380 | +; Hook CSLQuery::Initialize |
| 1381 | +SLInitHook.x86=1 |
| 1382 | +SLInitOffset.x86=46960 |
| 1383 | +SLInitFunc.x86=New_CSLQuery_Initialize |
| 1384 | +SLInitHook.x64=1 |
| 1385 | +SLInitOffset.x64=22E40 |
| 1386 | +SLInitFunc.x64=New_CSLQuery_Initialize |
| 1387 | + |
1323 | 1388 | [SLInit]
|
1324 | 1389 | bServerSku=1
|
1325 | 1390 | bRemoteConnAllowed=1
|
@@ -1481,3 +1546,22 @@ bMultimonAllowed.x64 =EEC00
|
1481 | 1546 | bServerSku.x64 =EEC04
|
1482 | 1547 | ulMaxDebugSessions.x64=EEC08
|
1483 | 1548 | bRemoteConnAllowed.x64=EEC0C
|
| 1549 | + |
| 1550 | +[10.0.10041.0-SLInit] |
| 1551 | +bFUSEnabled.x86 =C5F60 |
| 1552 | +lMaxUserSessions.x86 =C5F64 |
| 1553 | +bAppServerAllowed.x86 =C5F68 |
| 1554 | +bInitialized.x86 =C5F6C |
| 1555 | +bMultimonAllowed.x86 =C5F70 |
| 1556 | +bServerSku.x86 =C5F74 |
| 1557 | +ulMaxDebugSessions.x86=C5F78 |
| 1558 | +bRemoteConnAllowed.x86=C5F7C |
| 1559 | + |
| 1560 | +bFUSEnabled.x64 =F3448 |
| 1561 | +lMaxUserSessions.x64 =F344C |
| 1562 | +bAppServerAllowed.x64 =F3450 |
| 1563 | +bInitialized.x64 =F3454 |
| 1564 | +bMultimonAllowed.x64 =F3458 |
| 1565 | +bServerSku.x64 =F345C |
| 1566 | +ulMaxDebugSessions.x64=F3460 |
| 1567 | +bRemoteConnAllowed.x64=F3464 |
0 commit comments