Start a new topic

Royal TS and EVE-NG

Has anyone successfully integrated Royal TS with EVE-NG?


Basically, the idea is setting Royal TS as the default TELNET app for WINDOWS so, when one opens a console on any given device in EVE-NG, it opens a new tab in Royal TS thus centralizing access to all lab devices.


For that matter I created the attached registry file but nothing really happens when invoking RoyalTS.


Any thoughts on how to achieve this are much appreciated.


Thanks and regards,

Pedro



reg
(1010 Bytes)

Hi Pedro,


I suggest you check out the command line topic in our docs here: https://docs.royalapps.com/r2021/royalts/advanced/cli.html

Then try to manually invoke the rtscli.exe with the arguments until you successfully connected to an instance.

Then adjust the registry accordingly.


Let me know if you need further assistance.


Regards,

Stefan

Hi Stefan,

I'm also interested as I'm working on a eve-ng lab currently. 

Do you have an example ? 


Here is the Registry script provided by eve-ng for SecureCRT could you help us to build the corresponding one for RoyalTS ? :

 

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Classes\SecureCRT.telnet]
@="telnet"

[HKEY_CURRENT_USER\SOFTWARE\Classes\SecureCRT.telnet\DefaultIcon]
@="C:\\Program Files\\VanDyke Software\\SecureCRT\\SecureCRT.exe,0"

[HKEY_CURRENT_USER\SOFTWARE\Classes\SecureCRT.telnet\shell]

[HKEY_CURRENT_USER\SOFTWARE\Classes\SecureCRT.telnet\shell\open]

[HKEY_CURRENT_USER\SOFTWARE\Classes\SecureCRT.telnet\shell\open\command]
@="\"C:\\Program Files\\VanDyke Software\\SecureCRT\\SecureCRT.exe\" /T %1"

[HKEY_CURRENT_USER\SOFTWARE\SecureCRT]

[HKEY_CURRENT_USER\SOFTWARE\SecureCRT\Capabilities]

[HKEY_CURRENT_USER\SOFTWARE\SecureCRT\Capabilities\URLAssociations]
"telnet"="SecureCRT.telnet"

[HKEY_CURRENT_USER\SOFTWARE\RegisteredApplications]
"SecureCRT"="Software\\SecureCRT\\Capabilities"

[HKEY_CURRENT_USER\SOFTWARE\Classes\telnet\shell]

[HKEY_CURRENT_USER\SOFTWARE\Classes\telnet\shell\open]

[HKEY_CURRENT_USER\SOFTWARE\Classes\telnet\shell\open\command]
@="\"C:\\Program Files\\VanDyke Software\\SecureCRT\\SecureCRT.exe\" /T %1"

 

is this could work ?


 

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Classes\RoyalTS.telnet]
@="telnet"

[HKEY_CURRENT_USER\SOFTWARE\Classes\RoyalTS.telnet\DefaultIcon]
@="C:\\Program Files\\Royal TS V7\\rtscli.exe,0"

[HKEY_CURRENT_USER\SOFTWARE\Classes\RoyalTS.telnet\shell]

[HKEY_CURRENT_USER\SOFTWARE\Classes\RoyalTS.telnet\shell\open]

[HKEY_CURRENT_USER\SOFTWARE\Classes\RoyalTS.telnet\shell\open\command]
@="\"C:\\Program Files\\Royal TS V7\\rtscli.exe\" action connect-adhoc --scheme telnet --uri %1"

[HKEY_CURRENT_USER\SOFTWARE\RoyalTS]

[HKEY_CURRENT_USER\SOFTWARE\RoyalTS\Capabilities]

[HKEY_CURRENT_USER\SOFTWARE\RoyalTS\Capabilities\URLAssociations]
"telnet"="RoyalTS.telnet"

[HKEY_CURRENT_USER\SOFTWARE\RegisteredApplications]
"RoyalTS"="Software\\RoyalTS\\Capabilities"

[HKEY_CURRENT_USER\SOFTWARE\Classes\telnet\shell]

[HKEY_CURRENT_USER\SOFTWARE\Classes\telnet\shell\open]

[HKEY_CURRENT_USER\SOFTWARE\Classes\telnet\shell\open\command]
@="\"C:\\Program Files\\Royal TS V7\\rtscli.exe\" action connect-adhoc --scheme telnet --uri %1"

 

The regedit script shared before is close to work but a minor issue make it not working. 

I'm able to reproduce it CLI.


This is Working : 

"c:\Program Files\Royal TS V7\rtscli.exe" action connect-adhoc --scheme telnet --uri telnet://eve-ng:51809


This is not Working and get the error : Disconnected: "Could not connect to telnet endpoint: Hostname is invalid. (Parameter 'serverName')"

 


"c:\Program Files\Royal TS V7\rtscli.exe" action connect-adhoc --scheme telnet --uri telnet://eve-ng:51809/


Note that at the end of the URL a "/" is added in the eve-ng url. 


Also RoyalTS doesn't get the right name of the session. The tab is named telnet://eve-ng:51809 instead of the devicename

 

 

 

 

 

 

Hi Cyriel,


thanks for sharing your solution.


Regarding the tab name: If no name is specified in the CLI, Royal TS will use the URI as the tab name. You can also provide a custom Name / Tab Name for the connection via CLI by simply adding the following argument:

--propert=Name:"eve-ng"


Let me know if this helps.


Regards,
Stefan

Login or Signup to post a comment