Created
November 4, 2013 14:37
-
-
Save siliconmeadow/7303391 to your computer and use it in GitHub Desktop.
To find details about protected directories in 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 domains.name, protected_dirs.path, protected_dirs.realm, pd_users.login, SUBSTRING(accounts.password, 1), `protected_dirs`.`ssl`, protected_dirs.non_ssl | |
FROM protected_dirs, pd_users, domains, accounts | |
WHERE domains.name LIKE '%<domain.dom>%' | |
AND protected_dirs.dom_id = domains.id | |
AND pd_users.pd_id = protected_dirs.id | |
AND pd_users.account_id = accounts.id; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment