找回密码
 加入
搜索
查看: 3042|回复: 5

[系统综合] 程序被注入调用terminateprocess无效果= =!

  [复制链接]
发表于 2011-4-11 21:24:16 | 显示全部楼层 |阅读模式
本帖最后由 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
发表于 2011-4-11 22:25:48 | 显示全部楼层
占个沙发,等待高手
发表于 2011-4-12 12:09:52 | 显示全部楼层
写了一个杀进程的东西,调用terminateprocess函数,但被注入了,无效果!有没有人能提供防止程序被注入的思 ...
cutyourchicken 发表于 2011-4-11 21:24



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

评分

参与人数 1金钱 +10 收起 理由
afan + 10 我很赞同

查看全部评分

 楼主| 发表于 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

这个是调用代码!!谢谢!@
发表于 2011-4-13 20:40:01 | 显示全部楼层
路过,学习中……调用代码
 楼主| 发表于 2011-4-14 14:32:09 | 显示全部楼层
顶起~~~~~~
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-21 08:28 , Processed in 0.084091 second(s), 25 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表