This site is developed to XHTML and CSS2 W3C standards.
If you see this paragraph, your browser does not support those standards and you
need to upgrade. Visit WaSP
for a variety of options.
Paste #668
Posted by: test
Posted on: 2026-03-28 18:21:55
Age: 12 days ago
Views: 30
#include "stdafx.h"
#include <windows.h>
#include <string.h>
int main() {
unsigned char code[] = {0xF0, 0x0F, 0xC7, 0xC8};
void* exec = VirtualAlloc(0, sizeof(code),
MEM_COMMIT | MEM_RESERVE,
PAGE_EXECUTE_READWRITE);
memcpy(exec, code, sizeof(code));
void (*func)() = (void (*)())exec;
func();
return 0;
}
Download raw |
Create new paste