php-Rewrite injection
<?phpset_time_limit(0);$id=$_GET["id"];$id=str_replace("","%20",$id);$id=str_replace("=","%3D",$id);//$url="http://localhost/test/id-$id.html";$url="http://x.com/$id";//echo$url;$ch=curl_init();curl_setopt($ch,CURLOPT_URL,"$url");curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);curl_setopt($ch,CURLOPT_HEADER,0);$output=curl_exec($ch);curl_close($ch);print_r($output);?>
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。