Размер файла: 3.48Kb
<form method="POST" action="">
<h3 align="center">Искатель проксей от Trez0</h3>
<p align="center"><font color="#999999">(Введи диапозион адресов и нажми поиск)</font></p>
<p align="center"> </p>
<h3 align="center">От <!--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">
до <!--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">(Например "От <i>192.168.1.1</i> до
<i>100</i>" это просканирует все адреса От 192.168.1.1 до
192.168.1.100)</font></p>
<h3 align="center"><input type="submit" value="Поиск"></h3>
</form>
<br><br>
<p><font face="Times New Roman"><a href="http://underhack.net">© Underhack.net</a></font></p>
<?
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;
}
}
//[email protected]
echo "Количество для сканирования: " . $total ."<br><br>";
echo "Найдено: <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 "Найдено Proxies: " . $gasite;
?>