SecureCRT integration doesn't work
horseinthesky opened this issue · 2 comments
Hello.
I'm trying to change /usr/bin/eve-ng-integration
script to be able to open new telnet sessions in SecureCRT tabs.
The correct shell command for this looks like this:
SecureCRT /T /telnet <host> <port>
So I've changed line 35 of the script to this:
elif self._is_command('x-terminal-emulator'):
return ['SecureCRT', '/T', '/telnet']
and line 90 to this:
cmd = '{host} {port}'.format(**data)
So data for Popen
on line 59 looks like this [' SecureCRT', '/T', '/telnet', '192.168.0.11 32769']
But it doesn't work though. It opens a new tab in SecureCRT with the name 192.168.0.11 32769
and Connection refused
message.
But if I run it in the shell it works perfectly fine:
SecureCRT /T /telnet 192.168.0.11 32760
it opens new SecureCRT tab with R1
router from the lab.
Could you help me with this?
@horseinthesky thanks...! You give the missing tips for work:
you should edit "eve-ng-integration" script, in my case it is located in
/usr/bin/eve-ng-integration
elif self._is_command('x-terminal-emulator'):
return ['SecureCRT', '/T', '/telnet']
cmd = '{host}:{port}'.format(**data)
The : is necesary to work.
Thanks to you and all.