adminiis/phpstudy_rce
0
1<?php2error_reporting(0);3if(strpos($_REQUEST['url'],"http")===0){4 $opts = array(5 'http'=>array(6 'method'=>"GET",7 'header'=>$_REQUEST['header'])8 );9 $context = stream_context_create($opts);10 $file = file_get_contents($_REQUEST['url'], false, $context);11 // echo $file; # no show for u12}else{13 echo "hacker!";14}15 16highlight_file(__FILE__);17 18?>19 20 