Created
November 4, 2013 14:31
-
-
Save siliconmeadow/7303307 to your computer and use it in GitHub Desktop.
To find the passwords for an SFTP user on Plesk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT accounts.id, mail.mail_name, domains.name, SUBSTRING(accounts.password, 1) AS pw | |
FROM accounts, mail, domains | |
WHERE mail.account_id = accounts.id | |
AND mail.dom_id = domains.id | |
AND mail.mail_name LIKE '%' | |
AND domains.name = '<domainName>'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment