DLL注入

演示工程下载:http://down.bccn.net/472.html {总体流程:利用CreateToolhelp32Snapshot函数创建一个进程快照,然后利用Process32First函数和Process32Next函数遍历出所有进程ID等信息,保存到ListView控件中。当获取到进程ID后交给OpenProcess函数使用打开一个进程,从而获取一个进程句柄,当获取进程句柄后则交给VirtualAllocEx和WriteProcessMemory函数使用,从而进行虚拟内存分配和写入。然后则利用GetProcAddress函数和GetModuleHandle函数获取定的...
2010-10-05 18:15 | 阅读 2681 次 | 评论 0 条

API备忘录之模拟键盘动作

演示工程下载 unit My_KeyBD_Event;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class(TForm) Button1: TButton; Button2: TButton; procedure Button1Click(Sender: TObject); procedure Button2Click(Sender: TObject); ...
2010-08-01 10:04 | 阅读 1798 次 | 评论 0 条

API备忘录之模拟鼠标动作

演示工程下载 unit Mouse_Event_Demo;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Menus;type TForm1 = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; PopupMenu1: TPopupMenu; N1: TMenuItem; ioriliao1:...
2010-08-01 09:12 | 阅读 1664 次 | 评论 0 条

枚举所有进程

unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls,TLHelp32,PSAPI, ComCtrls;type TForm1 = class(TForm) Panel1: TPanel; Panel2: TPanel; Button1: TButton; ListView1: TListView; procedure Button1Click(Se...
2010-07-31 19:04 | 阅读 1480 次 | 评论 0 条
浏览29174次