17 lines
364 B
C++
17 lines
364 B
C++
#pragma once
|
|
#ifndef UTILS_H
|
|
#define UTILS_H
|
|
#include "Base.h"
|
|
|
|
namespace utils
|
|
{
|
|
BYTE* ReadBinaryFile(const char* filePath, DWORD* outSize);
|
|
|
|
BOOL WriteShellcodeToFile(const char* filePath, const BYTE* shellcode, SIZE_T shellcodeSize);
|
|
BOOL CreateDirectoryRecursive(const char* path);
|
|
|
|
auto GetProcessByName(CONST wchar_t* Name)->DWORD;
|
|
}
|
|
|
|
#endif // !UTILS_h
|