Board logo

标题: [求助] 如果使用 vbs 脚本结束隐藏服务 [打印本页]

作者: chishingchan     时间: 2008-6-23 13:45    标题: [求助] 如果使用 vbs 脚本结束隐藏服务

不知道大家有没有安装过 BeTwin 软件,里面有个 BeTwinVideo 服务启动了另一个隐藏服务 BeTwinDD,BeTwinVideo 服务可结束,但是无法结束隐藏的服务 BeTwinDD,请问使用VBS脚本如何结束这个服务呢?此服务占用 BeTwinDD.dll 文件,我的目的是修改此文件的两三个字节,除了停止服务还有其它方法可以吗?

[ Last edited by chishingchan on 2008-6-23 at 01:52 PM ]
作者: HAT     时间: 2008-6-23 13:53
能找到隐藏服务的依赖服务吗?

sc EnumDepend xxx
作者: chishingchan     时间: 2008-6-23 15:33


  Quote:
Originally posted by HAT at 2008-6-23 01:53 PM:
能找到隐藏服务的依赖服务吗?

sc EnumDepend xxx

忘了怎样知道它的依赖服务,

xxx 是代表依赖服务吗?
作者: HAT     时间: 2008-6-23 16:06
xxx代表你的隐藏服务BeTwinDD
sc EnumDepend BeTwinDD
返回结果是它的依赖服务
作者: chishingchan     时间: 2008-6-23 21:41


  Quote:
Originally posted by HAT at 2008-6-23 04:06 PM:
xxx代表你的隐藏服务BeTwinDD
sc EnumDepend BeTwinDD
返回结果是它的依赖服务



  Quote:
D:\Documents and Settings\Administrator>sc EnumDepend BeTwinDD
[SC] OpenService FAILED 1060:

看来是无效的。

  Quote:
D:\Documents and Settings\Administrator>sc EnumDepend BeTwinVideo
Enum: entriesRead  = 0

[ Last edited by chishingchan on 2008-6-23 at 09:42 PM ]
作者: chishingchan     时间: 2008-6-23 21:48

作者: HAT     时间: 2008-6-23 21:50
sc命令应该使用服务的service name,不能使用display name
你确定BeTwinDD是服务的service name吗?
作者: chishingchan     时间: 2008-6-23 21:53


  Quote:
Originally posted by HAT at 2008-6-23 09:50 PM:
sc命令应该使用服务的service name,不能使用display name
你确定BeTwinDD是服务的service name吗?

既然隐藏了,要确定服务的名称应该也有些难度。6 楼有图,帮忙看一下。

[ Last edited by chishingchan on 2008-6-24 at 12:28 AM ]