<?php
    header
("content-type:text/html;charset=utf-8");
    
highlight_file(__FILE__);
    
$url $_GET['url'];
    
preg_match('/(localhost|127\.0\.0|192\.168\.)/is'$url,$match);
    if (
$match) {
        exit(
"不允许包含本地路径");
    } 
    echo 
file_get_contents($url);
?>

Warning: file_get_contents(./submit/ssrf10_test.php): failed to open stream: No such file or directory in /home/wwwroot/www.nanhack.com/payload/ssrf/submit/ssrf10.php on line 9