Need a handy way to list all the email accounts and their passwords?
select CONCAT(mail_name,"@",name) as email_address,accounts.password from mail left join domains on domains.id=mail.dom_id left join accounts on accounts.id=mail.account_id;
Need a handy way to list all the email accounts and their passwords?
select CONCAT(mail_name,"@",name) as email_address,accounts.password from mail left join domains on domains.id=mail.dom_id left join accounts on accounts.id=mail.account_id;
RSS feed for comments on this post
Copyright 2012 Major Hayden / Theme: R755 / This request brought to you by .
but.... how to show password in plain text? thanks a lot....
Just stumbled across this article and thought I'd share my own quick fix to display the mailbox password. Modify the SQL query to the following:
select CONCAT(mail_name,"@",name) as email_address, substring(accounts.password, '1') from mail left join domains on domains.id=mail.dom_id left join accounts on accounts.id=mail.account_id;
There's probably a more elegant solution but this seems to work
Beautiful major & Joel
Very Handy, Thanks.
Hello;
Thanks for tip. I want ask question about email passwords. I need see password with md5 on mysql database this is possible ?
Thanks Muharrem
Muharrem would this help:
select CONCAT(mail_name,"@",name) as email_address, md5(substring(accounts.password, '1')) from mail left join domains on domains.id=mail.dom_id left join accounts on accounts.id=mail.account_id;