File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 program_files_x86 = program_files = os .environ ["PROGRAMFILES" ]
3838
3939 PRECONFIGURED_TELNET_COMMANDS = {'Putty (normal standalone version)' : 'putty_standalone.exe -telnet {host} {port} -loghost "{name}"' ,
40- 'Putty (custom deprecated version) ' : 'putty.exe -telnet {host} {port} -wt "{name}" -gns3 5 -skin 4 ' ,
40+ 'KiTTY ' : r'kitty -title "{name}" telnet://{host} {port} ' ,
4141 'MobaXterm' : r'"{}\Mobatek\MobaXterm Personal Edition\MobaXterm.exe" -newtab "telnet {{host}} {{port}}"' .format (program_files_x86 ),
4242 'Royal TS V3' : r'{}\code4ward.net\Royal TS V3\RTS3App.exe /connectadhoc:{{host}} /adhoctype:terminal /p:IsTelnetConnection="true" /p:ConnectionType="telnet;Telnet Connection" /p:Port="{{port}}" /p:Name="{{name}}"' .format (program_files ),
4343 'Royal TS V5' : r'"{}\Royal TS V5\RoyalTS.exe" /protocol:terminal /using:adhoc /uri:"{{host}}" /property:Port="{{port}}" /property:IsTelnetConnection="true" /property:Name="{{name}}"' .format (program_files_x86 ),
4848 'Telnet' : 'telnet {host} {port}' ,
4949 'Xshell 4' : r'"{}\NetSarang\Xshell 4\xshell.exe" -url telnet://{{host}}:{{port}}' .format (program_files_x86 ),
5050 'Xshell 5' : r'"{}\NetSarang\Xshell 5\xshell.exe" -url telnet://{{host}}:{{port}} -newtab {{name}}' .format (program_files_x86 ),
51- 'Windows Terminal' : r'wt.exe -w 1 new-tab --title {name} telnet {host} {port}' ,
51+ 'Windows Terminal' : r'wt.exe -w 1 new-tab --suppressApplicationTitle -- title {name} telnet {host} {port}' ,
5252 'ZOC 6' : r'"{}\ZOC6\zoc.exe" "/TELNET:{{host}}:{{port}}" /TABBED "/TITLE:{{name}}"' .format (program_files_x86 )}
5353
5454 # default on Windows
You can’t perform that action at this time.
0 commit comments