About Terminal Server, Citrix, Delphi and other stuff
A while ago I published a tool to Encode and Decode Citrix passwords. Today I am publishing a small update to this tool that makes it scriptable by adding a COM interface.
If you start the tool without parameters you will get the GUI, just like before:
![]()
To use the COM interface you first need to register the executable with the /regserver switch:
After the registration you can call it using any language that supports COM. To get you started I wrote a few examples
1 2 3 4 5 6 7 8 | # Create Citrix.Password COM Object $CtxPassword = New-Object -ComObject "Citrix.Password" # Get Hash for Clear Text Password $cleartext = 'password' $hash = $CtxPassword.Encode("1", $cleartext) "Citrix Password for {0} is: {1}" -f $cleartext, $hash |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ' Declare Variables Dim objCitrixPassword Dim strClearText Dim strHash ' The password in ClearText strClearText = "password" ' Create Citrix.Password COM Object Set objCitrixPassword = CreateObject("Citrix.Password") ' Get Hash for Clear Text Password strHash = objCitrixPassword.Encode("1", strClearText) WScript.Echo("Citrix Password for " & strClearText & " is: " & strHash) |
Please note that for security reasons I have chosen to only allow Encoding via the scripting interface.
CtxPassCom.zip (41).NET .NET FrameWork Active Directory Altiris Automation Manager bug Citrix datastore Dell Delphi Excel Exchange Exchange2003 Exchange2010 Hack HP iOS Java LinkedIn Linux Lync Office Office 2010 Outlook Passat Password PowerPoint PowerShell RES RNS510 SasLibEx Security Terminal Server ThinApp TSAdminEx Unattended VBS VCDS Vista Visual Basic VMWare Volkswagen Windows PE Wordpress XenApp
WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.
Leave a reply