Benjamin-Loison / rustdesk

An open-source remote desktop, and alternative to TeamViewer.
https://rustdesk.com
GNU Affero General Public License v3.0
0 stars 0 forks source link

[Task]: Retrieve saved password to remote machine #26

Open Benjamin-Loison opened 7 months ago

Benjamin-Loison commented 7 months ago

Or something to copy access to another computer.

Currently have /root/.config/rustdesk/RustDesk.toml:

enc_id = 'CENSORED'
password = 'CENSORED'
salt = 'CENSORED'
key_pair = [
    [
    202,
    77,
    CENSORED
],
    [
    254,
    215,
    CENSORED
],
]
key_confirmed = true

[keys_confirmed]
rs-ny = true

Source: https://github.com/rustdesk/rustdesk/issues/69#issuecomment-1220015247

RustDesk > Settings > Security > Password > Use permanent password > Set permanent password shows a given length (possibly correct length) * password matching digit, uppercase, lowercase, length>=8 but ctrl + c does not actually copy the password to the clipboard.

I finally reset the password as a workaround.

Are you our team member?

SubTasks

No response

Benjamin-Loison commented 3 months ago

Related to #40.

Benjamin-Loison commented 3 months ago
sudo rustdesk --config enc_id
sudo rustdesk --config `tomlq -r .enc_id ~/.config/rustdesk/RustDesk.toml`

and

sudo rustdesk --config 'CENSORED'

do not return anything.

Benjamin-Loison commented 3 months ago

https://www.reddit.com/r/rustdesk/comments/15w6yx1/transferring_connections_and_saved_passwords_to_a/

Benjamin-Loison commented 3 months ago

https://rustdesk.com/docs/en/self-host/client-configuration/#3-setup-using-import-or-export

https://rustdesk.com/docs/en/self-host/client-deployment/

Benjamin-Loison commented 3 months ago

My password notebook and password manager do not seem to have working passwords.

Benjamin-Loison commented 3 months ago

https://www.reddit.com/r/rustdesk/comments/11dw1tu/transferring_connections_other_pcs/

Benjamin-Loison commented 3 months ago

rustdesk/discussions/4979

https://rustdesk.com/docs/en/self-host/client-configuration/advanced-settings/

Otherwise first page results of RustDesk retrieve saved password do not help.

Benjamin-Loison commented 3 months ago
man rustdesk
No manual entry for rustdesk
Benjamin-Loison commented 3 months ago
rustdesk --password

Source: https://rustdesk.com/docs/en/client/#command-line-parameters

and

 echo -n 'CENSORED' | rustdesk --password

do not return anything but:

 rustdesk --password 'CENSORED'
Installation and administrative privileges required!
 sudo rustdesk --password 'CENSORED'
Done!

So saving and using a new password is not too hard.