我想卷曲免费的托管网站,但无法得到任何回应

时间:2019-06-17 12:19:03

标签: php curl

我想卷曲我的一个托管用户访问权的网站,并完全失去我的访问权,现在我想通过cURL获取数据,但无法通过cURL获得任何响应

这是我的代码

<?php
$ch = curl_init();
//$val = $_POST['search'];
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
curl_setopt($ch, CURLOPT_TIMEOUT, 40);
curl_setopt($ch, CURLOPT_COOKIEFILE, "cookie.txt");
curl_setopt($ch, CURLOPT_URL, "http://hackingseller.ihostfull.com/home.php");

echo $html = curl_exec ($ch);

include 'simple_html_dom.php';
$dom = new simple_html_dom();
echo $dom->load($html);

foreach($dom->find('div.panel-body') as $e)
    echo $msg = '<span style="font-family:helvetica;">'.$e.'</span><br><br>';

?>

//卷曲详细日志

*   Trying 185.27.134.144...
* TCP_NODELAY set
* Connected to hackingseller.ihostfull.com (185.27.134.144) port 80 (#0)
> GET /home.php HTTP/1.1
Host: hackingseller.ihostfull.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36
Accept: */*

< HTTP/1.1 200 OK
< Server: nginx
< Date: Mon, 17 Jun 2019 12:58:00 GMT
< Content-Type: text/html
< Content-Length: 846
< Connection: keep-alive
< Vary: Accept-Encoding
< Expires: Thu, 01 Jan 1970 00:00:01 GMT
< Cache-Control: no-cache
< 
* Connection #0 to host hackingseller.ihostfull.com left intact

0 个答案:

没有答案