1
0
mirror of https://github.com/CPunch/Laika.git synced 2025-09-29 13:10:08 +00:00

Bot: Added boilerplate windows API obfuscation

- Grabs the functions directly from the loaded library by walking the exported address table and comparing hashes
- For now, only ShellExecuteA has been setup, more to come
This commit is contained in:
2022-07-07 23:23:39 -05:00
parent 18a6fdd124
commit b2f8efc402
6 changed files with 166 additions and 2 deletions

17
bot/include/obf.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef LAIKA_OBF_H
#define LAIKA_OBF_H
#include "laika.h"
#ifdef _WIN32
# include <windows.h>
/* WINAPI types */
typedef HINSTANCE(WINAPI *_ShellExecuteA)(HWND, LPCSTR, LPCSTR, LPCSTR, LPCSTR, INT);
extern _ShellExecuteA oShellExecuteA;
#endif
void laikaO_init();
#endif