Plesk Protected Directory Username, Password and Path

Had a website that had been copied from one Plesk server to another but no one knew the usernames and passwords for the protected directories. Plesk with it's passwords in plain text in the database to the rescue!

SELECT domains.name, protected_dirs.path, pd_users.login, accounts.password FROM domains
RIGHT JOIN protected_dirs ON domains.id = protected_dirs.dom_id
LEFT JOIN pd_users ON protected_dirs.id = pd_users.pd_id
LEFT JOIN accounts ON pd_users.account_id = accounts.id;

Comments

Popular posts from this blog

YumRepo Error: All mirror URLs are not using ftp, http[s] or file

Linux: Permanent CIFS/SMB mount

Plesk - Decrypt FTP Passwords