Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- #$url = 'http://hidemyass.com/proxy-list/search-231484';
- $url = 'http://hidemyass.com/proxy-list';
- $b=preg_replace('/display:none">[0-9\s]+<\//', 'display:none"></', file_get_contents($url));
- $b=preg_replace('/[\r\n\t]+/', '', $b);
- preg_match_all('/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}[\s\r\t\n]+[0-9]+/', strip_tags($b), $o);
- foreach($o[0] as $ip){ $ip=preg_replace('/[\s]+/', ':', $ip); echo $ip."\n"; }
- $q=2;
- while($q<10){
- $b=preg_replace('/display:none">[0-9\s]+<\//', 'display:none"></', file_get_contents($url.'/'.$q));
- $b=preg_replace('/[\r\n\t]+/', '', $b);
- preg_match_all('/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}[\s\r\t\n]+[0-9]+/', strip_tags($b), $o);
- foreach($o[0] as $ip){ $ip=preg_replace('/[\s]+/', ':', $ip); echo $ip."\n"; }
- $q++;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement