My CodePad

Fewer words, more code!

PHP: Plesk Hosting, username and password of everything! — May 20, 2013

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

Advertisements
JSON for all (almost!) — April 25, 2013