Код: Выделить всё
#include "pch.h"
#include "explorer.h"
#include "getpaths.h"
#include "shortcut.h"
#include
#include
#include
#include
#include
#pragma comment(lib, "wininet.lib")
using namespace std;
int main() {
HINTERNET hInternet = InternetOpen(L"WinINet", INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, 0);
if (!hInternet) {
cerr
Подробнее здесь: [url]https://stackoverflow.com/questions/78491190/how-to-execute-shellcode-with-this-c-program[/url]