mirror of
https://github.com/T3nb3w/ComDotNetExploit
synced 2026-06-06 16:54:26 +00:00
14 lines
432 B
C++
14 lines
432 B
C++
// registry_utils.h
|
|
#pragma once
|
|
#include <Windows.h>
|
|
#include <string>
|
|
|
|
class RegistryUtils {
|
|
public:
|
|
static bool SetDcomReflectionEnabled(bool enable);
|
|
static bool SetTreatAs(const CLSID& originalClsid, const CLSID& newClsid);
|
|
static void CleanupClsid(const CLSID& clsid);
|
|
static bool SetOnlyUseLatestCLR(bool enable);
|
|
static bool CleanDcomReflection();
|
|
static bool CleanOnlyUseLatestCLR();
|
|
}; |