⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 loader.dpr

📁 how you can hook functions by small size of codes
💻 DPR
字号:
program Loader;

uses Windows, MagicApiHook;

var
 Dllname:string='HookExplorer.dll';

begin
 if not IsWinNt then begin
  MessageBox(0,'Sorry...just for WinNT...','Error...',MB_ICONERROR);
  Exit;
 end;
 if not IsFileExist(DllName) then begin
  MessageBox(0,Pchar('File not found : '+DllName),'Error...',MB_ICONERROR);
  Exit;
 end;
 DebugPrivilege(True);
 if InjectDll(GetPath(ParamStr(0))+DllName,GetExplorerPID) then
   MessageBox(0,'Hook Explorer Installed...'#13#10+
                'Now try to run Calc.exe'#13#10#13#10+
                'Press OK to UnInstall Hook...','Success... Magic_h2001',MB_ICONINFORMATION)
 else
   MessageBox(0,'Hook Error...'#13#10'Maybe uses Antivirus or Firewall',
              'Error... Magic_h2001',MB_ICONERROR);
 UnInjectDll(GetPath(ParamStr(0))+DllName,GetExplorerPID);
end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -