(.*)<\/a>'; if (preg_match_all("/$regexp/siU", $file, $matches)) { foreach($matches[2] as $item) { array_push($result,$item); } if (is_integer(strpos($file,"&start="))) { // От 0 до 100 $file=file_get_contents("//www.google.ru/ie?q=site:$domen&num=100&hl=ru&start=100&sa=N"); if (preg_match_all("/$regexp/siU", $file, $matches)) {foreach($matches[2] as $item) { array_push($result,$item);}}} if (is_integer(strpos($file,"&start="))) { // От 100 до 200 $file=file_get_contents("//www.google.ru/ie?q=site:$domen&num=200&hl=ru&start=100&sa=N"); if (preg_match_all("/$regexp/siU", $file, $matches)) {foreach($matches[2] as $item) { array_push($result,$item);}}} if (is_integer(strpos($file,"&start="))) { // От 200 до 300 $file=file_get_contents("//www.google.ru/ie?q=site:$domen&num=300&hl=ru&start=100&sa=N"); if (preg_match_all("/$regexp/siU", $file, $matches)) {foreach($matches[2] as $item) { array_push($result,$item);}}} if (is_integer(strpos($file,"&start="))) { // От 300 до 400 $file=file_get_contents("//www.google.ru/ie?q=site:$domen&num=400&hl=ru&start=100&sa=N"); if (preg_match_all("/$regexp/siU", $file, $matches)) {foreach($matches[2] as $item) { array_push($result,$item);}}} if (is_integer(strpos($file,"&start="))) { // От 400 до 500 $file=file_get_contents("//www.google.ru/ie?q=site:$domen&num=500&hl=ru&start=100&sa=N"); if (preg_match_all("/$regexp/siU", $file, $matches)) {foreach($matches[2] as $item) { array_push($result,$item);}}} if (is_integer(strpos($file,"&start="))) { // От 500 до 600 $file=file_get_contents("//www.google.ru/ie?q=site:$domen&num=600&hl=ru&start=100&sa=N"); if (preg_match_all("/$regexp/siU", $file, $matches)) {foreach($matches[2] as $item) { array_push($result,$item);}}} if (is_integer(strpos($file,"&start="))) { // От 600 до 700 $file=file_get_contents("//www.google.ru/ie?q=site:$domen&num=700&hl=ru&start=100&sa=N"); if (preg_match_all("/$regexp/siU", $file, $matches)) {foreach($matches[2] as $item) { array_push($result,$item);}}} if (is_integer(strpos($file,"&start="))) { // От 700 до 800 $file=file_get_contents("//www.google.ru/ie?q=site:$domen&num=800&hl=ru&start=100&sa=N"); if (preg_match_all("/$regexp/siU", $file, $matches)) {foreach($matches[2] as $item) { array_push($result,$item);}}} if (is_integer(strpos($file,"&start="))) { // От 800 до 900 $file=file_get_contents("//www.google.ru/ie?q=site:$domen&num=900&hl=ru&start=100&sa=N"); if (preg_match_all("/$regexp/siU", $file, $matches)) {foreach($matches[2] as $item) { array_push($result,$item);}}} if (is_integer(strpos($file,"&start="))) { // От 800 до 900 $file=file_get_contents("//www.google.ru/ie?q=site:$domen&num=1000&hl=ru&start=100&sa=N"); if (preg_match_all("/$regexp/siU", $file, $matches)) {foreach($matches[2] as $item) { array_push($result,$item);}}} for ($i = 0; $i <= count($result)-1; $i++) { if (is_integer(strpos($result[$i],"="))) { $s=$result[$i]; $s=str_replace("&","'&",$s); $s = $s."'"; $rx=file_get_contents($s); if (is_integer(strpos($rx,"SQL syntax"))){ flush(); echo "$s
";} }} if(count($ex)==0) array_push($ex,"
Not found
"); return $ex; } else return "
Not found
"; } ?> Создать бесплатный сайт с uCoz