Files
HackBrowserData/internal/abe/native/com_iid.h
T
Roger eca1f058c6 refactor: move the ABE unit into internal/abe (#670)
crypto/windows and utils/injector were the last public packages, against the no-library-API rule, and
utils/ named nothing. They move as one unit; only import paths and Makefile variables change, and the
built payload is byte-identical.
2026-10-29 16:48:46 +08:00

28 lines
671 B
C

#ifndef HBD_ABE_COM_IID_H
#define HBD_ABE_COM_IID_H
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
typedef enum BrowserKind {
BROWSER_UNKNOWN = 0,
BROWSER_CHROME_BASE, // DecryptData at vtable slot 5
BROWSER_EDGE, // DecryptData at vtable slot 8
BROWSER_AVAST, // DecryptData at vtable slot 13
} BrowserKind;
typedef struct BrowserComIds {
const char *exe_basename;
BrowserKind kind;
GUID clsid;
GUID iid_v1;
BOOL has_iid_v2;
GUID iid_v2;
} BrowserComIds;
const BrowserComIds *LookupBrowserByExe(const char *exe_basename);
unsigned int DecryptDataVtblIndex(BrowserKind kind);
#endif // HBD_ABE_COM_IID_H