域名www.test.com解析内部多台ip
$httpHeader = array(‘Host: www.test.com‘);$url = "10.17.2.245/xxx/xxx/t.php";
$ch = curl_init();curl_setopt($ch, CURLOPT_HTTPHEADER, $httpHeader); curl_setopt($ch, CURLOPT_URL, $url); SHELL: curl --silent -H "Host: www.test.com" "192.168.0.1/xxx/xxx/t.php"
时间: 2024-11-10 20:08:44