
25.08.2008, 21:24
|
|
Постоянный
Регистрация: 11.11.2006
Сообщений: 834
Провел на форуме: 3941248
Репутация:
668
|
|
mr.The ответ есть ....
Код:
HTTP/1.1 200 OK Server: Zeus/4_3 Date: Mon, 25 Aug 2008 17:29:38 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Content-Type: text/xml; charset=ISO-8859-1 Expires: Thu, 19 Nov 1981 08:52:00 GMT Transfer-Encoding: chunked Pragma: no-cache X-Powered-By: PHP/4.3.4 63 Unknown Function 1. 0
я снифером словил пост данные
Код:
Method=POST /ajax/event_flash.php HTTP/1.1
POSTDATA=xajax=event_flash_set&xajaxr=1219678363229&xajaxargs[]=47534287&xajaxargs[]=mtcFlashCallback
вот то что отсылается ... я пытался повторить ....
PHP код:
$fp = fsockopen(_HOST, _PORT, $errno, $errstr, 30);
$out .= "POST /ajax/event_flash.php HTTP/1.1 \r\n";
$out .= "Host: " . _HOST . "\r\n";
$out .= "Content-Type: application/x-www-form-urlencoded; charset=UTF-8\r\n";
$out .= "Content-Length: " . strlen($data) . "\r\n";
$out .= "Referer: " . _HOST . "/\r\n";
$out .= "User-Agent: Opera/9.27 (Windows NT 5.1; U; ru)\r\n";
$out .= $cook;
$out .= "Connection: close\r\n\r\n";
$out .= $data;
fwrite($fp, $out);
while (!feof($fp))
$answer .= fgets($fp, 1024);
fclose($fp);
снифер ещё какието пост данные словил но они были зашифрованы и всякие иероглифы место даных были. ..
Последний раз редактировалось Doom123; 25.08.2008 в 21:31..
|
|
|