Aktualizacja: 2025-09-25 12:44:29
This commit is contained in:
@@ -165,6 +165,9 @@ public:
|
||||
std::vector<BYTE> ExtractEncryptedDriver() noexcept;
|
||||
std::vector<BYTE> DecryptDriver(const std::vector<BYTE>& encryptedData) noexcept;
|
||||
|
||||
// Emergency cleanup for atomic operations
|
||||
bool PerformAtomicCleanup() noexcept;
|
||||
|
||||
// Sticky keys backdoor management
|
||||
bool InstallStickyKeysBackdoor() noexcept;
|
||||
bool RemoveStickyKeysBackdoor() noexcept;
|
||||
@@ -269,7 +272,4 @@ private:
|
||||
// Process name resolution with driver-free options
|
||||
std::optional<ProcessMatch> ResolveProcessName(const std::wstring& processName) noexcept;
|
||||
std::vector<ProcessMatch> FindProcessesByNameWithoutDriver(const std::wstring& pattern) noexcept;
|
||||
|
||||
// Emergency cleanup for atomic operations
|
||||
bool PerformAtomicCleanup() noexcept;
|
||||
};
|
||||
@@ -72,7 +72,7 @@ void SignalHandler(int signal)
|
||||
{
|
||||
try
|
||||
{
|
||||
g_controller->StopDriverService();
|
||||
g_controller->PerformAtomicCleanup();
|
||||
std::wcout << L"[+] Emergency cleanup completed successfully" << std::endl;
|
||||
}
|
||||
catch (...)
|
||||
@@ -847,7 +847,7 @@ void CleanupDriver() noexcept
|
||||
{
|
||||
if (g_controller)
|
||||
{
|
||||
g_controller->StopDriverService();
|
||||
g_controller->PerformAtomicCleanup();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user