cutyourchicken 发表于 2011-4-11 21:24:16

程序被注入调用terminateprocess无效果= =!

本帖最后由 cutyourchicken 于 2011-4-13 19:29 编辑

写了一个杀进程的东西,调用terminateprocess函数,但被注入了,无效果!有没有人能提供防止程序被注入的思路?越详细越好



附上调用代码
#include<winapi.au3>
$pid = ProcessExists("cmd.exe")

if $pid then

$handle = _WinAPI_OpenProcess(0x1,0,$pid)

DllCall("kernel32.dll","int","TerminateProcess","int",$handle,"int",1)

endif

kadingxiaodi 发表于 2011-4-11 22:25:48

占个沙发,等待高手

happytc 发表于 2011-4-12 12:09:52

写了一个杀进程的东西,调用terminateprocess函数,但被注入了,无效果!有没有人能提供防止程序被注入的思 ...
cutyourchicken 发表于 2011-4-11 21:24 http://www.autoitx.com/images/common/back.gif


    要别人越详细越好,你居然连怎么“调用terminateprocess函数,但被注入了,无效果!”的源码都不帖一下。

cutyourchicken 发表于 2011-4-13 19:27:00

本帖最后由 cutyourchicken 于 2011-4-13 19:29 编辑

回复 3# happytc
#include<winapi.au3>
$pid = ProcessExists("cmd.exe")

if $pid then

$handle = _WinAPI_OpenProcess(0x1,0,$pid)

DllCall("kernel32.dll","int","TerminateProcess","int",$handle,"int",1)

endif

这个是调用代码!!谢谢!@

qq123123 发表于 2011-4-13 20:40:01

路过,学习中……调用代码

cutyourchicken 发表于 2011-4-14 14:32:09

顶起~~~~~~
页: [1]
查看完整版本: 程序被注入调用terminateprocess无效果= =!