Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting

Thread Tools Rate Thread Display Modes
Old 05-14-2012, 04:33 AM
Kroekel Kroekel is offline
Registered User
Join Date: May 2012
Posts: 2
VBE Script in secureCRT 5

I use a adminserver with SecureCRT 5
By a VS scripts I have the ability to automate certain activities regularly.
So far I'm stuck at the security problem:
In the VBS file has the login details to that particular server / routers store in plain text.
How can I encrypt the login information, so part of this actual script still works on SecureCRT?
Reply With Quote
Old 05-14-2012, 09:49 AM
miked's Avatar
miked miked is offline
Registered User
Join Date: Feb 2004
Posts: 2,040
Hello Kroekel

How can I encrypt the login information, so part of this actual script still works on SecureCRT?
You can use the Microsoft Script Encoder to encode scripts, but this is different than encripting scripts. Also, Microsoft does not support the script encoder on Windows Vista or newer. This topic has been discussed in a few different places on our forums:Currently SecureCRT does not provide a mechanism for encrypting scripts. Current versions provide a way of using a session's saved password, and the password is encrypted in the session's .ini file. However, I'm not sure this applies to your situation with AdminServer. AdminServer appears to be an Oracle database for insurance, rather than a an SSH server.

Do you logon to an SSH server first, then type commands to get to AdminServer, and you're looking for a way to automate the commands, and hide the AdminServer username and password that are in the script?
VanDyke Software
Technical Support
Reply With Quote
Old 12-18-2014, 06:20 AM
morgun morgun is offline
Registered User
Join Date: Dec 2014
Posts: 8
Hello I am facing currently similar issue.
Can you advice some hashing or encryption so these data wont be readable for other users/foreign scripts?
Reply With Quote
Old 12-18-2014, 09:06 AM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 3,425
Hello morgun,

The inquiry in your post did not seem related to the issue being discussed in the thread where you posted so I moved it to a more appropriate thread.

This is the post I think will be most useful for you.

VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 07:56 AM.