DLL注入的常用方式之一远程线程注入,实现代码如下
CreateRemoteThread注入DLL// CreateRemoteThread.cpp : Defines the entry point for the application.
CreateRemoteThread注入DLL
//
CreateRemoteThread注入DLL

CreateRemoteThread注入DLL#include 
"stdafx.h"
CreateRemoteThread注入DLL#include 
<stdio.h>
CreateRemoteThread注入DLL#include 
<tlhelp32.h>
CreateRemoteThread注入DLL
CreateRemoteThread注入DLL
#pragma comment(lib,"th32.lib")
CreateRemoteThread注入DLL
CreateRemoteThread注入DLLDWORD GetProcessId()

相关文章: