Get Domain passwords w/o logging into MySQL


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. echo "SELECT CONCAT_WS('@',mail.mail_name,domains.name),accounts.password
  2. FROM domains,mail,accounts
  3. WHERE domains.id=mail.dom_id AND accounts.id=mail.account_id
  4. ORDER BY domains.name ASC,mail.mail_name ASC;" | mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -t

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.