cedrozor / myrtille

A native HTML4 / HTML5 Remote Desktop Protocol and SSH client
https://www.myrtille.io
Apache License 2.0
1.78k stars 372 forks source link

Security Protocol in URL link #358

Open aidar666 opened 1 year ago

aidar666 commented 1 year ago

Hey, Myrtille is an amazing thing, realy thankful for it. Im testing it right now and didnt found how to set security protocol value in URL link. When I use the login page and set only server name and security protocol = RDP it works and I see the OS login page. But I cant use this security option by using URL link. Im trying to do web admin tool for like 200+servers across whole country with no ability to use domain or set same login\password on all of them, so I need an option when I can use URL with server and port already known but without login and password so I will input it on OS login page. Sorry for bothering but can you tell how to set security option via URL or make it = RDP by default?

aidar666 commented 1 year ago

I just made .exe to redirect commandline with hardcore adding /sec:rdp key to Myrtille.RDP.exe so my URL links work, but will be happy if security key in URL links will come out some day, thanks again =)

cedrozor commented 12 months ago

Hi, you can set "&securityProtocol=" into URL with one of the following values (0..4):

                    <select runat="server" id="securityProtocol" title="NLA = safest, RDP = backward compatibility (if the server doesn't enforce NLA) and interactive logon (leave user and password empty); AUTO for Hyper-V VM or if not sure">
                        <option value="0" selected="selected">AUTO</option>
                        <option value="1">RDP</option>
                        <option value="2">TLS</option>
                        <option value="3">NLA</option>
                        <option value="4">NLA-EXT</option>
                    </select>

So, "&securityProtocol=1" for RDP.