Questions tagged [secure-crt]

SecureCRT for Windows, Mac, and Linux is proprietary software that provides terminal emulation for computing professionals. It provides advanced session management, secure remote access, file transfer, and data tunneling.

65 questions
1
vote
0 answers

how would i need to write a java script on keypress for Alt+2 and Alt+1?

I am using secureCRT for my test execution, I would need to automate some functionalities such as to recognize keypress actions thru bash script. But i couldn;t make it possible. If there any way to create bash script for keypress please provide me…
Alfred Hitchkock
  • 357
  • 2
  • 14
1
vote
0 answers

Create log files with CRT vbs script

I want to run a script that sends some command taking input from an array. For each element of the array I want the print goes to a different log file. The script I made so far is below but doesn't work. It seems that only stores the print of last…
Ger Cas
  • 2,188
  • 2
  • 18
  • 45
1
vote
0 answers

SecureCRT: vim not using maximum terminal window size

No matter what the size of the SecureCRT window, vim's screen area remains constant. If I maximize SecureCRT, vim continues to only occupy a portion of the terminal. I have fiddled with the obvious setting choices but have been unable to get vim to…
Larry Eitel
  • 1,397
  • 5
  • 19
  • 37
0
votes
0 answers

How to map "tilde + m" on SecureCRT to terminate OpenGear terminal server session

Trying to map "tilde + m" on SecureCRT to terminate an Open Gear terminal server session. I've tried the instructions on their site to no avail.
0
votes
0 answers

Macro streamline command error , does not identify " " as string

I am trying to write a macro that writes a script, i wanted some specific commands to be written on their own but it seems the command stream.WriteLine "" is not able to identify any "" inside it's "" as text and failing to execute and gives a…
0
votes
1 answer

Basic use of strcpy_s , strcat_s

Code char* CreateString(char* string1, char* string2) { int length = strlen(string1) + strlen(string2); // Allocate memory for the resulting string char* result = malloc((length) * sizeof(char)); // Concatenate the two…
0
votes
0 answers

SecureFX file transfer from SSIS not working

Below command from command file(.cmd) works without any issues. File has been sent to destination through SecureFX without any issues. "C:\Program Files\VanDyke Software\Clients\sfxcl.exe" /Log "D:\Applications\SecureFX\sfxcl_direct2.log"…
krishna
  • 1,069
  • 2
  • 10
  • 19
0
votes
1 answer

How do I set Dynamic File Paths in VBScript Specifically for FilesystemObject

I have spent several hours trying to get this to work. For some reason, my file paths register just fine in command prompt, but if I try to reference the file path using a FileSystemObject it doesn't work and tells me the file can't be found. Dim…
0
votes
1 answer

how decrypt password from SecureCRT Session ini file

Although official said it can't Recover Password from .ini file, some Chinese guy said it could. But I can't make it work. 7.X, remove the first "u" in the head of password: # python3 SecureCRTCipher.py dec hash 8.X, remove the three character…
Victor Lee
  • 2,467
  • 3
  • 19
  • 37
0
votes
1 answer

Issue with variable set to variable in VBS

In a VBS I have which I use in conjunction with SecureCRT to automate some processes on Cisco devices, I have (very much pared down) the following code: Sub prConnectToHost(strConnectHost) 'If no host is passed into subroutine then we need to…
Tom Bell
  • 23
  • 1
  • 2
  • 4
0
votes
0 answers

How can a remote server deploy a project without entering a password?

The company is deploying it using the secure CRT(ssh) tool on a remote server. The deploy procedure is as follows. depoly.sh ↓ Move to tomcat directory. ↓ shutdown.sh ↓ startup.Sh When using depoly.sh, the first of these, there is a…
ingan25
  • 35
  • 1
  • 1
  • 7
0
votes
1 answer

Return a recordset stored locally through a function

I have a functional script in VB6 that I need to migrate to VBScript. As part of the reorganization of the code, I decided I was interested in utilizing a function to return a record set. Want to dispose of the connection to the database so the…
0
votes
1 answer

VBScript set focus on "No" button on UI window

I'm writing a VBScript script for use with VanDyke's CRT. Is there a way to set the focus on the "No" button on a MsgBox automatically, instead of the default "Yes"? val = MsgBox("Do you want to remove specials?",VBYesNo, "Purchasing…
jjclarkson
  • 5,890
  • 6
  • 40
  • 62
0
votes
1 answer

how to map alt+hjkl in insert mode in vim with secureCRT?

os: ubuntu16.04 tools: secureCRT 8.x i tried many ways but failed, press alt+h/j/k/l will exit insert model to normal model. like select session-option/terminal/emulation/emacs/use-alt-as-meta-key also dose not work.
Kevin He
  • 21
  • 3
0
votes
0 answers

.GetSaveAsFilename dialog opens in background

I did a script which saves an excel-file where the user wants to save it. I am using ExcelApplication.GetSaveAsFilname for this. Now my problem is: This "Save-Dialog" opens behind all other windows (main-problem is that it opens behind SecureCRT…
AutMai
  • 187
  • 4
  • 18