1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

FTP passwords

Discussion in 'Plesk for Windows - 8.x and Older' started by bartdaniels, Oct 12, 2009.

  1. bartdaniels

    bartdaniels Guest

    0
     
    Hi Guys,

    I know its possible within windows to get the Plesk Admin password. But is it possible to obtain FTP Passwords?

    I can do this within linux not an issue, but windows being windows...

    Any help would be appreciated.

    Cheers
     
  2. Nataliya Zagr

    Nataliya Zagr Regular Pleskian

    21
    87%
    Joined:
    Apr 14, 2009
    Messages:
    242
    Likes Received:
    0
    Hello,

    The FTP passwords can be found in Parallels Plesk Panel (PP) database with the help of the following queries:

    1) Find the FTP login account id:

    mysql> select login,account_id from sys_users where login like '%testftp%';
    +---------+------------+
    | login | account_id |
    +---------+------------+
    | testftp | 13 |
    +---------+------------+
    1 row in set (0.00 sec)

    2) Find the password for the account:

    mysql> select id,password from accounts where id=13;
    +----+----------+
    | id | password |
    +----+----------+
    | 13 | 123qwe |
    +----+----------+
    1 row in set (0.00 sec)

    Thank you
     
  3. bartdaniels

    bartdaniels Guest

    0
     
    Hi Nataliya,

    Thank-you for that, however what is the username/password within Windows VPS to access the MySQL locally?
    I have tried admin and the Plesk Password, as it is that for the Linux versions.

    Any suggestions?

    Thanks
    Bart
     
  4. Satoriya

    Satoriya Guest

    0
     
    You can access Plesk 's MySQL in this way:
    > cd %plesk_dir%\mysql\bin
    > mysql -uadmin -p'plesk_admin_password' -P8306
     
  5. bartdaniels

    bartdaniels Guest

    0
     
    Hi Satoriya,

    It seems that within Plesk 8.x the usernames and passwords are kept in an Access Database, not MySQL.

    I have attached a simple VB program i made to get Plesk Username/passwords and FTP username/passwords from the database.

    Seems to work well.

    It will require .Net 3.5 to be installed on the VPS, as it was created with VB 2008.

    Thanks
    Bart
     

    Attached Files:

Loading...