Proxy Finder
(Input the address range below and
press the Find button)
From ...
to
(e.g. "From 192.168.1.1 to
100" this will scan all the addresses from 192.168.1.1 to
192.168.1.100)
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 ."
";
echo "Found:
";
foreach($proxiuri as $proxy) {
if(strstr($proxy,".")) {
$gasit=0;
$fp = fsockopen($proxy, 80, $errno, $errstr, 7);
if ($fp) {
echo $proxy . ":80 PROXY ";
flush();
$gasit=1;
fclose ($fp);
}
$fp = fsockopen($proxy, 3128, $errno, $errstr, 7);
if ($fp) {
echo $proxy . ":3128 PROXY ";
flush();
$gasit=1;
fclose ($fp);
}
$fp = fsockopen($proxy, 8080, $errno, $errstr, 7);
if ($fp) {
echo $proxy . ":8080 PROXY ";
flush();
$gasit=1;
fclose ($fp);
}
if ($gasit) {
$gasite++;
echo "
";
}
}
}
echo "Found Proxies: " . $gasite;
?>
');