12 lines
431 B
C
12 lines
431 B
C
#include <windows.h>
|
|
#include <stdio.h>
|
|
#include <dsgetdc.h>
|
|
#include "badger_exports.h"
|
|
|
|
DECLSPEC_IMPORT DWORD WINAPI User32$MessageBoxA(HWND hWnd, LPCSTR lpText, LPCSTR lpCaption, UINT uType);
|
|
|
|
void coffee(char** argv, int argc, WCHAR** dispatch) {
|
|
BadgerDispatch(dispatch, "%s\n", "Executing MessageBox");
|
|
User32$MessageBoxA(NULL, "MsgBox Reflected", "Test", MB_OK);
|
|
BadgerDispatch(dispatch, "%s\n", "MessageBox Executed");
|
|
} |