PHP: Plesk Hosting, username and password of everything!

I have a VPS (CentOS) with a few domains (about 15), mainly for personal use. The problem I always had was remembering or storing all possible username and password for all services. After searching for a while the psa db, I noticed that every password was stored as cleartext! Following this, I wrote this simple PHP script to have a report with all passwords.

Telling you that you need to be extra careful not to expose this script to the public is of course not necessary!

Continue reading