This commit is contained in:
DavidXanatos 2024-06-17 12:54:35 +02:00
parent b500755d4b
commit 6266f18ebe
3 changed files with 967 additions and 1029 deletions

View File

@ -77,6 +77,12 @@ static BOOLEAN IsWindows81 = FALSE;
// hook_success = FALSE; \ // hook_success = FALSE; \
// } // }
#define HOOK_WIN32_SCM(func) { \
__sys_##func = Scm_Hook##func(my_##func); \
if (! __sys_##func) \
hook_success = FALSE; \
}
typedef BOOL(*P_SetServiceStatus)(SERVICE_STATUS_HANDLE hServiceStatus, LPSERVICE_STATUS lpServiceStatus); typedef BOOL(*P_SetServiceStatus)(SERVICE_STATUS_HANDLE hServiceStatus, LPSERVICE_STATUS lpServiceStatus);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
@ -718,24 +724,14 @@ ULONG my_PowerSettingRegisterNotification(
BOOL Hook_Service_Control_Manager(void) BOOL Hook_Service_Control_Manager(void)
{ {
BOOL hook_success = TRUE; BOOL hook_success = TRUE;
HOOK_WIN32_SCM(SetServiceStatus);
__sys_SetServiceStatus = Scm_HookSetServiceStatus(my_SetServiceStatus); HOOK_WIN32_SCM(StartServiceCtrlDispatcherW);
__sys_StartServiceCtrlDispatcherW = Scm_HookStartServiceCtrlDispatcherW(my_StartServiceCtrlDispatcherW); HOOK_WIN32_SCM(OpenServiceW);
__sys_OpenServiceW = Scm_HookOpenServiceW(my_OpenServiceW); HOOK_WIN32_SCM(CloseServiceHandle);
__sys_CloseServiceHandle = Scm_HookCloseServiceHandle(my_CloseServiceHandle); HOOK_WIN32_SCM(QueryServiceStatusEx);
__sys_QueryServiceStatusEx = Scm_HookQueryServiceStatusEx(my_QueryServiceStatusEx); HOOK_WIN32_SCM(QueryServiceStatus);
__sys_QueryServiceStatus = Scm_HookQueryServiceStatus(my_QueryServiceStatus); HOOK_WIN32_SCM(StartServiceW);
__sys_StartServiceW = Scm_HookStartServiceW(my_StartServiceW); HOOK_WIN32_SCM(ControlService);
__sys_ControlService = Scm_HookControlService(my_ControlService);
//HOOK_WIN32_SCM(SetServiceStatus);
//HOOK_WIN32_SCM(StartServiceCtrlDispatcherW);
//HOOK_WIN32_SCM(OpenServiceW);
//HOOK_WIN32_SCM(CloseServiceHandle);
//HOOK_WIN32_SCM(QueryServiceStatusEx);
//HOOK_WIN32_SCM(QueryServiceStatus);
//HOOK_WIN32_SCM(StartServiceW);
//HOOK_WIN32_SCM(ControlService);
#if 0 #if 0
HOOK_WIN32(RtlSetLastWin32Error); HOOK_WIN32(RtlSetLastWin32Error);

View File

@ -1,80 +1,80 @@
{ {
"Description Text...": "Description Text...", "Description Text...": "Beskrivningstext...",
"Fix current issues": "Fix current issues", "Fix current issues": "Lös nuvarande problem",
"Fix issues with sandboxing": "Fix issues with sandboxing", "Fix issues with sandboxing": "Lös problem med sandlådning",
"An Application does not work properly when sandboxed": "An Application does not work properly when sandboxed", "An Application does not work properly when sandboxed": "En applikation fungerar inte ordentligt vid sandlådning",
"Issues with a web browser": "Issues with a web browser", "Issues with a web browser": "Problem med en webbläsare",
"Perform Sandbox maintenance": "Perform Sandbox maintenance", "Perform Sandbox maintenance": "Utför sandlådeunderhåll",
"Fix issues with the UI or Shell": "Fix issues with the UI or Shell", "Fix issues with the UI or Shell": "Lös problem med användargränssnitt eller skal",
"Yes": "Yes", "Yes": "Ja",
"No": "No", "No": "Nej",
"App compatibility checker": "App compatibility checker", "App compatibility checker": "Kontrollerare av appkompatibilitet",
"This script check which app compatibility templates needs to be enabled": "This script check which app compatibility templates needs to be enabled", "This script check which app compatibility templates needs to be enabled": "Detta skript kontrollerar vilken appkompatibilitetsmall som behöver aktiveras",
"Loaded %1 templates": "Loaded %1 templates", "Loaded %1 templates": "Laddat %1 mallar",
"Browser shortcut is missing from the desktop": "Browser shortcut is missing from the desktop", "Browser shortcut is missing from the desktop": "Webbläsargenväg saknas på skrivbordet",
"This procedure will add a browser shortcut to the desktop": "This procedure will add a browser shortcut to the desktop", "This procedure will add a browser shortcut to the desktop": "Denna procedur kommer att addera en webbläsargenväg till skrivbordet",
"Default Browser": "Default Browser", "Default Browser": "Standardwebbläsare",
"Another": "Another", "Another": "Annan",
"Select Browser": "Select Browser", "Select Browser": "Välj webbläsare",
"Select Sandbox": "Select Sandbox", "Select Sandbox": "Välj sandlåda",
"Select which browser you want to create a shortcut for and in what box": "Select which browser you want to create a shortcut for and in what box", "Select which browser you want to create a shortcut for and in what box": "Välj vilken webbläsare du vill skapa en genväg för och i vilken låda",
"Select Browser Path": "Select Browser Path", "Select Browser Path": "Välj webbläsarsökväg",
"Explorer Context Menu extension does not work": "Explorer Context Menu extension does not work", "Explorer Context Menu extension does not work": "Utforskarens snabbmenyförlängning fungerar inte",
"This procedure will re install the shell integration": "This procedure will re install the shell integration", "This procedure will re install the shell integration": "Denna procedur kommer att ominstallera skalintegreringen",
"Add Run Sandboxed": "Add Run Sandboxed", "Add Run Sandboxed": "Addera Kör sandlådad",
"Add Run Unsandboxed": "Add Run Unsandboxed", "Add Run Unsandboxed": "Addera Kör osandlådad",
"Install legacy shell extensions": "Install legacy shell extensions", "Install legacy shell extensions": "Installera legacy skalförlängningar",
"Select which shell options should be reinstalled": "Select which shell options should be reinstalled", "Select which shell options should be reinstalled": "Välj vilka skalalternativ som ska bli ominstallerade",
"Failed to install application into a sandbox": "Failed to install application into a sandbox", "Failed to install application into a sandbox": "Lyckades inte installera applikationen i en sandlåda",
"Enter Installer Path": "Enter Installer Path", "Enter Installer Path": "För in installeringssökvägen",
"Select a sandbox to install into": "Select a sandbox to install into", "Select a sandbox to install into": "Välj en sandlåda att installera i",
"This box has DropAdminRights enabled, preventing execution of installers. Do you want to disable this restriction, that will reduce the security level.": "This box has DropAdminRights enabled, preventing execution of installers. Do you want to disable this restriction, that will reduce the security level.", "Denna låda har DropAdminRight aktiverat, förhindrandes verkställande av installerare. Vill du inaktivera denna restriktion, vilket kommer reducera säkerhetsnivån.": "Denna låda har DropAdminRight aktiverat, förhindrandes verkställande av installerare. Vill du inaktivera denna restriktion, vilket kommer reducera säkerhetsnivån.",
"Disable DropAdminRights": "Disable DropAdminRights", "Disable DropAdminRights": "Inaktivera DropAdminRights",
"Enable FakeAdminRights": "Enable FakeAdminRights", "Enable FakeAdminRights": "Aktivera FakeAdminRights",
"running installer, pid: %1 press NEXT once it finishes to continue": "running installer, pid: %1 press NEXT once it finishes to continue", "running installer, pid: %1 press NEXT once it finishes to continue": "kör installerare, pid: %1 %1 tryck på NÄSTA när den avslutar för att fortsätta",
"Was the issue resolved?": "Was the issue resolved?", "Was the issue resolved?": "Vart problemet löst?",
"Webcam or Sound does not work when sandboxed": "Webcam or Sound does not work when sandboxed", "Webcam or Sound does not work when sandboxed": "Webbkamera eller ljud fungerar inte vid sandlådning",
"To enable webcam support on Windows 11, the isolation level must be reduced. \nIf you want to proceed, please press NEXT and select a sandbox to modify. \n": "To enable webcam support on Windows 11, the isolation level must be reduced. \nIf you want to proceed, please press NEXT and select a sandbox to modify. \n", "För att aktivera webbkamerastöd på Windows 11, måste isoleringsnivån bli reducerad. \nOm du vill fortsätta, vänligen tryck på NÄSTA och välj en sandlåda att modifiera. \n": "För att aktivera webbkamerastöd på Windows 11, måste isoleringsnivån bli reducerad. \nOm du vill fortsätta, vänligen tryck på NÄSTA och välj en sandlåda att modifiera. \n",
"\nPlease note that this required preset works only with a valid supporter certificate!": "\nPlease note that this required preset works only with a valid supporter certificate!", "\nPlease note that this required preset works only with a valid supporter certificate!": "\nVänligen notera att denna krävda förinställning fungerar endast med ett giltigt supportercertifikat!",
"Select which box to turn into a reduced isolation app compartment box.": "Select which box to turn into a reduced isolation app compartment box.", "Select which box to turn into a reduced isolation app compartment box.": "Välj vilken låda att ändra till en reducerad utrymmeslåda för appisolering.",
"The mitigation has been applied please try out the web cam in %1 and indicate if the issue has been resolved.": "The mitigation has been applied please try out the web cam in %1 and indicate if the issue has been resolved.", "Lindringen har applicerats, vänligen prova webbkameran i %1 och indikera om problemet har lösts.": "Lindringen har applicerats, vänligen prova webbkameran i %1 och indikera om problemet har lösts.",
"Select affected sandbox": "Select affected sandbox", "Select affected sandbox": "Välj berörd sandlåda",
"Enter Process Name": "Enter Process Name", "Enter Process Name": "För in processnamn",
"Internet Access restrictions are in effect for the sandbox in which the program is running. The program is prohibited from accessing the Internet.": "Internet Access restrictions are in effect for the sandbox in which the program is running. The program is prohibited from accessing the Internet.", "Internettillgångsrestriktioner är aktiverade för sandlådan i vilken programmet körs. Programmet är förbjudet från att tillgå internet.": "Internettillgångsrestriktioner är aktiverade för sandlådan i vilken programmet körs. Programmet är förbjudet från att tillgå internet.",
"Start/Run restrictions are in effect for the sandbox in which the program is running. The program is prohibited from starting or running.": "Start/Run restrictions are in effect for the sandbox in which the program is running. The program is prohibited from starting or running.", "Start-/Körrestriktioner är aktiverade för sandlådan som programmet körs i. Programmet är förbjudet från att starta eller köra.": "Start-/Körrestriktioner är aktiverade för sandlådan som programmet körs i. Programmet är förbjudet från att starta eller köra.",
"Failures to load SbieDll.dll when encountered by Chrome, or another software employing app containers, it is often caused by invalid DACL entries for the Sandboxie home directory. This mitigation measure will fix them, for this reason it will prompt for admin privileges which need to be granted for kmdutil.exe.": "Failures to load SbieDll.dll when encountered by Chrome, or another software employing app containers, it is often caused by invalid DACL entries for the Sandboxie home directory. This mitigation measure will fix them, for this reason it will prompt for admin privileges which need to be granted for kmdutil.exe.", "Misslyckanden att ladda SbieDll.dll när påträffad av Chrome, eller annat program som använder appcontainers. Det är ofta orsakat av ogiltiga DACL-entreèr för Sandboxie:s hemkatalog. Denna lindringsåtgärd kommer lösa dem. För det skälet kommer den att be om adminprivilegier vilket behöver bli tillåtet för kmdutil.exe.": "Misslyckanden att ladda SbieDll.dll när påträffad av Chrome, eller annat program som använder appcontainers. Det är ofta orsakat av ogiltiga DACL-entreèr för Sandboxie:s hemkatalog. Denna lindringsåtgärd kommer lösa dem. För det skälet kommer den att be om adminprivilegier vilket behöver bli tillåtet för kmdutil.exe.",
"The DACLs have been adjusted, please try to run your application again and indicate if the issue has been resolved.": "The DACLs have been adjusted, please try to run your application again and indicate if the issue has been resolved.", "DACL-erna har justerats, vänligen försök köra applikationen igen och indikera om problemet har lösts.": "DACL-erna har justerats, vänligen försök köra applikationen igen och indikera om problemet har lösts.",
"DACLs fix did not resolve the issue": "DACLs fix did not resolve the issue", "DACL-lösningarna löste inte problemet": "DACL-lösningarna löste inte problemet",
"The message indicates that Sandboxie was unable to start one of the helper programs SandboxieRpcSs or SandboxieDcomLaunch. The name noted in the message can be rpcss or dcomlaunch.\n\nYou can submit an issue report on the next page to help us to analyze the issue.": "The message indicates that Sandboxie was unable to start one of the helper programs SandboxieRpcSs or SandboxieDcomLaunch. The name noted in the message can be rpcss or dcomlaunch.\n\nYou can submit an issue report on the next page to help us to analyze the issue.", "Meddelandet indikerar att Sandboxie inte kunde starta ett av hjälpprogrammen SandboxieRpcSs eller SandboxieDcomLaunch. Namnet noterat i meddelandet kan vara rpcss eller dcomlaunch.\n\nDu kan överlämna en problemrapport på nästa sida för att hjälpa oss analysera frågan.": "Meddelandet indikerar att Sandboxie inte kunde starta ett av hjälpprogrammen SandboxieRpcSs eller SandboxieDcomLaunch. Namnet noterat i meddelandet kan vara rpcss eller dcomlaunch.\n\nDu kan överlämna en problemrapport på nästa sida för att hjälpa oss analysera frågan.",
"Sandboxie was not able to execute one of its own programs. Check access permissions to the Sandboxie installation folder and/or reinstall Sandboxie.\n\nPossible Causes:\n1. Sandboxie was configured to block access to the folder containing its program files.\n2. A third-party (HIPS) security software was configured to block the execution of the program mentioned in the message.\n\nYou can submit an issue report on the next page to help us to analyze the issue.": "Sandboxie was not able to execute one of its own programs. Check access permissions to the Sandboxie installation folder and/or reinstall Sandboxie.\n\nPossible Causes:\n1. Sandboxie was configured to block access to the folder containing its program files.\n2. A third-party (HIPS) security software was configured to block the execution of the program mentioned in the message.\n\nYou can submit an issue report on the next page to help us to analyze the issue.", "Sandboxie kunde inte starta ett av sina egna program. Kontrollera tillgångstillstånd till Sandboxie installationsmapp och/eller ominstallera Sandboxie.\n\nMöjliga orsaker:\n1. Sandboxie var konfigurerat att blockera tillgång till mappen innehållandes dess programfiler.\n2: Ett 3:dje parts säkerhetsprogram var konfigurerat att blockera verkställandet av programmet nämnt i meddelandet.\n\nDu kan överlämna en problemrapport på nästa sida för att hjälpa oss att analysera frågan.": "Sandboxie kunde inte starta ett av sina egna program. Kontrollera tillgångstillstånd till Sandboxie installationsmapp och/eller ominstallera Sandboxie.\n\nMöjliga orsaker:\n1. Sandboxie var konfigurerat att blockera tillgång till mappen innehållandes dess programfiler.\n2: Ett 3:dje parts säkerhetsprogram var konfigurerat att blockera verkställandet av programmet nämnt i meddelandet.\n\nDu kan överlämna en problemrapport på nästa sida för att hjälpa oss att analysera frågan.",
"Do you want to open the box option dialog to change this preset?": "Do you want to open the box option dialog to change this preset?", "Do you want to open the box option dialog to change this preset?": "Vill du öppna lådalternativdialogen för att ändra denna förinställning?",
"No, it is fine as it is": "No, it is fine as it is", "No, it is fine as it is": "Nej, det är bra som det är",
"No, but I want to report a bug": "No, but I want to report a bug", "No, but I want to report a bug": "Nej, men jag vill rapportera en bugg",
"The message %1 is caused by the file migration limit being reached.": "The message %1 is caused by the file migration limit being reached.", "The message %1 is caused by the file migration limit being reached.": "Meddelandet %1 orsakas av att filflyttningsgränsen har nåtts.",
"It seems you are using a non-administrative user account on a system with enabled parental controls, this is known to be incompatible with Sandboxie.\nYou have the following options to resolve the issue.": "It seems you are using a non-administrative user account on a system with enabled parental controls, this is known to be incompatible with Sandboxie.\nYou have the following options to resolve the issue.", "Det verkar som att du använder ett icke-adminkonto på ett system med aktiverade föräldrakontroller, detta är känt som inkompatibelt med Sandboxie.\nDu har följande alternativ för att lösa problemet.": "Det verkar som att du använder ett icke-adminkonto på ett system med aktiverade föräldrakontroller, detta är känt som inkompatibelt med Sanboxie.\nDu har följande alternativ för att lösa problemet.",
"Sbie Message Code": "Sbie Message Code", "Sbie Message Code": "Sbie meddelandekod",
"Name affected process": "Name affected process", "Name affected process": "Namnge berörd process",
"Please enter the SBIEMSG ID you have encountered.": "Please enter the SBIEMSG ID you have encountered.", "Please enter the SBIEMSG ID you have encountered.": "Vänligen för in det SBIEMSG-ID du har påträffat.",
"There is no automated troubleshooting available for SBIE%1 yet.<br />": "There is no automated troubleshooting available for SBIE%1 yet.<br />", "There is no automated troubleshooting available for SBIE%1 yet.<br />": "Det finns inget automatiserat problemlösande tillgängligt för SBIE%1 ännu.<br />",
"The full message text is: %1<br />": "The full message text is: %1<br />", "The full message text is: %1<br />": "Fullständig meddelandetext är: %1<br />",
"Visit out <a href=\"%1\">online-documentation</a> to learn more about this, and other sbie messages.": "Visit out <a href=\"%1\">online-documentation</a> to learn more about this, and other sbie messages.", "Besök vår <a href=\"%1\">nätdokumentation</a> och lär mer om detta och andra sbie-meddelanden.": "Besök vår <a href=\"%1\">nätdokumentation</a> och lär mer om detta och andra Sbie-meddelanden.",
"Would you like to collect some logs to help us resolve the issue.": "Would you like to collect some logs to help us resolve the issue.", "Would you like to collect some logs to help us resolve the issue.": "Vill du samla in några loggar för att hjälpa oss lösa problemet.",
"Now please run your application again to trigger the Sbie message.<br /><br />": "Now please run your application again to trigger the Sbie message.<br /><br />", "Now please run your application again to trigger the Sbie message.<br /><br />": "Vänligen kör nu din applikation igen för att utlösa Sbie-meddelandet.<br /><br />",
"Press NEXT when you are done collecting logs.": "Press NEXT when you are done collecting logs." "Press NEXT when you are done collecting logs.": "Tryck på NÄSTA när du är färdig med logginsamlandet."
} }

File diff suppressed because it is too large Load Diff