This commit is contained in:
DavidXanatos 2022-10-02 18:28:46 +02:00
parent 04d86294da
commit 59c3829c08
6 changed files with 35 additions and 9 deletions

View File

@ -8,7 +8,17 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## [1.4.0 / 5.59.0] - 2022-??-??
## [1.4.1 / 5.59.1] - 2022-10-??
### Changed
- In sbie 5.28 and later WinInetCache is open, this breks IE's source view, hence it can now be disabled with 'CloseWinInetCache=y'
### Fixed
- fixed WarnProcess and WarnFolder not working with certain configurations
## [1.4.0 / 5.59.0] - 2022-09-30
### Added
- added integrated run from start menu [#1836](https://github.com/sandboxie-plus/Sandboxie/issues/1836)

View File

@ -21,8 +21,8 @@
#ifndef _MY_VERSION_H
#define _MY_VERSION_H
#define MY_VERSION_BINARY 5,59,0
#define MY_VERSION_STRING "5.59.0"
#define MY_VERSION_BINARY 5,59,1
#define MY_VERSION_STRING "5.59.1"
#define MY_VERSION_COMPAT "5.58.0" // this refers to the driver ABI compatibility
// These #defines are used by either Resource Compiler or NSIS installer

View File

@ -449,13 +449,21 @@ _FX BOOLEAN SbieDll_IsOpenClsid(
if (memcmp(rclsid, &CLSID_WinMgmt, sizeof(GUID)) == 0 ||
memcmp(rclsid, &CLSID_NetworkListManager, sizeof(GUID)) == 0 ||
memcmp(rclsid, &CLSID_ShellServiceHostBrokerProvider, sizeof(GUID)) == 0 ||
((Dll_OsBuild >= 10240) && memcmp(rclsid, &CLSID_WinInetCache, sizeof(GUID)) == 0))
memcmp(rclsid, &CLSID_ShellServiceHostBrokerProvider, sizeof(GUID)) == 0)
{
return TRUE;
}
//
// Sbie builds after 5.27-1 broke IE's source view and cache,
// by opening WinInetCache here and in Ipc_InitPaths.
// with CloseWinInetCache=y this change can be undone
//
if (((Dll_OsBuild >= 10240) && memcmp(rclsid, &CLSID_WinInetCache, sizeof(GUID)) == 0) && !SbieApi_QueryConfBool(NULL, L"CloseWinInetCache", FALSE)) // this breaks IE view source
return TRUE;
//
// initialize list of user-configured CLSID exclusions
//

View File

@ -568,8 +568,6 @@ _FX BOOLEAN Ipc_InitPaths(PROCESS* proc)
};
static const WCHAR* openpaths_windows10[] = {
L"*\\BaseNamedObjects*\\CoreMessagingRegistrar",
L"\\RPC Control\\webcache_*",
L"*\\BaseNamedObjects\\windows_webcache_counters_*",
L"*\\BaseNamedObjects\\[CoreUI]-*",
// open paths 11
L"*\\BaseNamedObjects\\SM*:WilStaging_*", // 22449.1000 accesses this before sbiedll load
@ -679,6 +677,16 @@ _FX BOOLEAN Ipc_InitPaths(PROCESS* proc)
ok = Process_AddPath(proc, &proc->open_ipc_paths, NULL,
TRUE, openpaths_windows10[i], FALSE);
}
if (!Conf_Get_Boolean(proc->box->name, L"CloseWinInetCache", 0, FALSE)) { // this breaks IE view source, see SbieDll_IsOpenClsid
static const WCHAR* webcache_ = L"\\RPC Control\\webcache_*";
static const WCHAR* windows_webcache_counters_ = L"*\\BaseNamedObjects\\windows_webcache_counters_*";
if (ok) ok = Process_AddPath(proc, &proc->open_ipc_paths, NULL,
FALSE, webcache_, FALSE);
if (ok) ok = Process_AddPath(proc, &proc->open_ipc_paths, NULL,
FALSE, windows_webcache_counters_, FALSE);
}
}
if (ok) {

View File

@ -315,7 +315,7 @@ _FX BOX *Process_GetForcedStartBox(
box = (BOX *)-1;
}
else if ((force_alert == 1) && Conf_Get_Boolean(NULL, L"NotifyForceProcessDisabled", 0, FALSE))
else if ((force_alert == 0) || ((force_alert == 1) && Conf_Get_Boolean(NULL, L"NotifyForceProcessDisabled", 0, FALSE)))
{
Log_Msg_Process(MSG_1301, ImageName, NULL, SessionId, ProcessId);
}

View File

@ -2,7 +2,7 @@
#define VERSION_MJR 1
#define VERSION_MIN 4
#define VERSION_REV 0
#define VERSION_REV 1
#define VERSION_UPD 0
#ifndef STR