Показать сообщение отдельно
Старый 05.10.2005, 13:56   #30
Участник заблокирован
 
Аватар для uf0
 
Регистрация: 16.06.2005
Сообщений: 45

ICQ: 332334

Репутация: 1
По умолчанию

Цитата:
- скрипт выпадающего вниз (горизонтального) меню
http://x-scripts.byethost15.com/1/menu.zip
Всё просто. Есть детальный хэлп. Разберёшься ;)

Added at 05.10.2005, 16:56
Цитата:
Сообщение от ph0enix
Naikon, сэнкс

но он сканит тока сокс-прокси а мне надо обыные прокси (80,8080,3128 итд). Есть такое?
Принимай! Скрипт от DGT.

PHP код:
<form method="POST" action="">
  <h3 align="center">Proxy Finder</h3>
  <p align="center"><font color="#999999">(Input the address range below and
  press the Find button)</font></p>
  <p align="center">&nbsp;</p>
  <p align="center">&nbsp;</p>
  <h3 align="center">From <!--webbot bot="Validation" S-Data-Type="Integer"
  S-Number-Separators="." B-Value-Required="TRUE" I-Minimum-Length="1"
  I-Maximum-Length="3" --> <input type="text" name="A1" size="3" maxlength="3">.<!--webbot
  bot="Validation" S-Data-Type="Integer" S-Number-Separators="."
  B-Value-Required="TRUE" I-Minimum-Length="1" I-Maximum-Length="3" --><input type="text" name="A2" size="3" maxlength="3">.<!--webbot
  bot="Validation" S-Data-Type="Integer" S-Number-Separators="."
  B-Value-Required="TRUE" I-Minimum-Length="1" I-Maximum-Length="3" --><input type="text" name="A3" size="3" maxlength="3">.<!--webbot
  bot="Validation" S-Data-Type="Integer" S-Number-Separators="."
  B-Value-Required="TRUE" I-Minimum-Length="1" I-Maximum-Length="3" --><input type="text" name="A4" size="3" maxlength="3">&nbsp;
  to&nbsp; <!--webbot bot="Validation" S-Data-Type="Integer"
  S-Number-Separators="." B-Value-Required="TRUE" I-Minimum-Length="1"
  I-Maximum-Length="3" --><input type="text" name="B1" size="3" maxlength="3"></h3>
  <p align="center"><font color="#999999">(e.g. &quot;From <i>192.168.1.1</i> to
  <i>100</i>&quot; this will scan all the addresses from 192.168.1.1 to
  192.168.1.100)</font></p>
  <h3 align="center"><input type="submit" value="Find"></h3>
</form>
<br><br>
<?
set_time_limit
(0);
if ((!
$A1) || (!$A2) || (!$A3) || (!$A4) || (!$B1)) {
exit;
}
$proxiuri[]="";
$proxiuri=array();
for(
$i=$A4;$i<$B1;$i++) {
   
$proxiuri[] = ($A1 . "." . $A2 . "." . $A3 . "." . $i);
   }
$total=0;
$gasite=0;
foreach(
$proxiuri as $proxy) {
        if(
strstr($proxy,".")) {
                
$total=$total+1;
        }
}
echo 
"Number of IPs to scan: " . $total ."<br><br>";
echo 
"Found: <br>";
foreach(
$proxiuri as $proxy) {
        if(
strstr($proxy,".")) {
        
$gasit=0;
        
$fp = fsockopen($proxy, 80, $errno, $errstr, 7);
    if (
$fp) {
        echo 
$proxy . "<b>:80</b> PROXY ";
                
flush();
                
$gasit=1;
                  
fclose ($fp);
        }
   
$fp = fsockopen($proxy, 3128, $errno, $errstr, 7);
   if (
$fp) {
      echo 
$proxy . "<b>:3128</b> PROXY ";
      
flush();
      
$gasit=1;
      
fclose ($fp);
      }
   
$fp = fsockopen($proxy, 8080, $errno, $errstr, 7);
   if (
$fp) {
      echo 
$proxy . "<b>:8080</b> PROXY ";
      
flush();
      
$gasit=1;
      
fclose ($fp);
      }
   if (
$gasit) {
        
$gasite++;
        echo 
"<br>";
      }
}
}
echo 
"Found Proxies: " . $gasite;
?>
uf0 вне форума