Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $ips = array(
- '104.144.225.91:3128',
- '192.3.205.131:3128',
- '104.227.61.189:3128',
- '104.144.148.157:3128',
- '75.127.7.84:3128',
- '107.173.252.98:3128',
- '192.241.110.4:3128',
- '23.95.103.10:3128',
- '107.152.189.158:3128',
- '104.227.92.183:3128',
- '138.128.51.194:3128',
- '138.128.67.91:3128',
- '192.241.65.152:3128',
- '138.128.108.49:3128',
- '192.186.168.200:3128',
- '107.152.131.148:3128',
- '104.168.4.222:3128',
- '23.254.48.126:3128',
- '104.144.116.182:3128',
- '192.241.84.99:3128'
- );
- $url = 'http://idle-empire.com';
- $proxy = $ips[rand(0, count($ips) - 1)];
- echo "curl request from ".$_SERVER['SERVER_ADDR']." with ".$proxy." to ".$url."...<br><br>";
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL,$url);
- curl_setopt($ch, CURLOPT_PROXY, $proxy);
- curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_HEADER, 1);
- $curl_scraped_page = curl_exec($ch);
- curl_close($ch);
- var_dump($curl_scraped_page);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement