View file index.php

File size: 3.48Kb
<form method="POST" action="">
  <h3 align="center">&#x418;&#x441;&#x43A;&#x430;&#x442;&#x435;&#x43B;&#x44C; &#x43F;&#x440;&#x43E;&#x43A;&#x441;&#x435;&#x439; &#x43E;&#x442; Trez0</h3>
  <p align="center"><font color="#999999">(&#x412;&#x432;&#x435;&#x434;&#x438; &#x434;&#x438;&#x430;&#x43F;&#x43E;&#x437;&#x438;&#x43E;&#x43D; &#x430;&#x434;&#x440;&#x435;&#x441;&#x43E;&#x432; &#x438; &#x43D;&#x430;&#x436;&#x43C;&#x438; &#x43F;&#x43E;&#x438;&#x441;&#x43A;)</font></p>
  <p align="center">&nbsp;</p>

  <h3 align="center">&#x41E;&#x442; <!--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;
  &#x434;&#x43E;&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">(&#x41D;&#x430;&#x43F;&#x440;&#x438;&#x43C;&#x435;&#x440; &quot;&#x41E;&#x442; <i>192.168.1.1</i> &#x434;&#x43E;
  <i>100</i>&quot; &#x44D;&#x442;&#x43E; &#x43F;&#x440;&#x43E;&#x441;&#x43A;&#x430;&#x43D;&#x438;&#x440;&#x443;&#x435;&#x442; &#x432;&#x441;&#x435; &#x430;&#x434;&#x440;&#x435;&#x441;&#x430; &#x41E;&#x442; 192.168.1.1 &#x434;&#x43E;
  192.168.1.100)</font></p>
  <h3 align="center"><input type="submit" value="&#x41F;&#x43E;&#x438;&#x441;&#x43A;"></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 "&#x41A;&#x43E;&#x43B;&#x438;&#x447;&#x435;&#x441;&#x442;&#x432;&#x43E; &#x434;&#x43B;&#x44F; &#x441;&#x43A;&#x430;&#x43D;&#x438;&#x440;&#x43E;&#x432;&#x430;&#x43D;&#x438;&#x44F;: " . $total ."<br><br>";
echo "&#x41D;&#x430;&#x439;&#x434;&#x435;&#x43D;&#x43E;: <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 "&#x41D;&#x430;&#x439;&#x434;&#x435;&#x43D;&#x43E; Proxies: " . $gasite;

?>