📄 callapi.dpr
字号:
program CallApi;
{$APPTYPE CONSOLE}
{$HINTS OFF}
uses Windows, ApiHooks, PrcWorks;
var
PID : LongWord;
begin
WinExec('Target.exe', SW_SHOWNORMAL);
GetDefaultRCInfo.RCFlags := RC_FL_TERMINATE;
Sleep(2000);
PID := ProcessName2PID('Target.exe');
MessageBox(0, 'You will have ~8 seconds to press OK'#10'in Target''s ''Inside CS'' message box.'#10'After this time will be remote thread terminated'#10'and CS status undefined -> Target''s behaviour undefined (in NT)', 'CallApi', MB_OK);
LoadAndCall(nil, 'Target.exe', PID, 8000, 0, 'ProtMB', 0, nil);
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -