如何隐藏进程(50分)

  • 主题发起人 主题发起人 jyh_jack
  • 开始时间 开始时间
J

jyh_jack

Unregistered / Unconfirmed
GUEST, unregistred user!
如何隐藏进程(最好写出例子)
 
老有人问这种问题 :(<br>检索一下“隐藏”肯定有答案,你也一定会对答案不怎么满意。
 
既然你懒得找,我就贴出来给你看看吧,不过只能在win98下用<br>implementation<br>function RegisterServiceProcess(dwProcessID, dwType: Integer): Integer; stdcall; external 'KERNEL32.DLL';<br>{$R *.DFM}<br>procedure TForm1.FormCreate(Sender: TObject);<br>begin<br>&nbsp; RegisterServiceProcess(GetCurrentProcessID, 1);<br>end;<br>要不这样也行<br>type<br>&nbsp; TRegisterServiceProcess = function (dwProcessID, dwType:DWord) : DWORD; stdcall;<br><br>{$R *.DFM}<br><br>procedure TForm1.FormCreate(Sender: TObject);<br>var<br>&nbsp; H :THandle;<br>&nbsp; RegisterServiceProcess: TRegisterServiceProcess;<br>begin<br>&nbsp; H:=LoadLibrary('KERNEL32.DLL');<br>&nbsp; RegisterServiceProcess:=GetProcAddress(H, 'RegisterServiceProcess');<br>&nbsp; RegisterServiceProcess (GetCurrentProcessID, 1);<br>&nbsp; FreeLibrary(H);<br>end;<br><br>
 
&nbsp;这也叫隐藏进程<br>&nbsp; &nbsp;用findfirstprocess之类的api还是能看见啊<br>&nbsp;能不能来一点高级的,这些都是老掉牙了
 
接受答案了.
 
后退
顶部