HTTP Proxy Finder

<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; ?> <script type="text/javascript">document.write('
');</script>
發佈了17 篇原創文章 · 獲贊 0 · 訪問量 3萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章