- <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"> </p>
- <p align="center"> </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">
- to <!--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. "From <i>192.168.1.1</i> to
- <i>100</i>" 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('
HTTP Proxy Finder
最新推荐文章于 2024-06-02 11:40:05 发布