Get the App
SLTechnology News&Howtos  ›  Development  › 

How to decrypt imail password with vbs

Shulou Source: shulou.com Published: 2022-06-03 06:02:34 10月03日 Update

This article mainly introduces vbs how to achieve imail password decryption, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.

The code is as follows:

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

StrKeyPath3 = strKeyPath& "\" & subkey& "\ Users"

OReg.EnumKey HKEY_LOCAL_MACHINE, strKeyPath3, arrSubKeys2

For Each subkey2 In arrSubKeys2

StrKeyPath4=strKeyPath3& "\" & subkey2

StrValueName = "Password"

OReg.GetStringValue HKEY_LOCAL_MACHINE,strKeyPath4,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)

Tags: Articles passwords code value interests at the same time more friends knowledge editing industry information information channels channels reference learning help support Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Xiaomi Docker Shulou Technology Huawei