Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //header("Cache-Control: no-cache, must-revalidate");
- header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
- //header("Pragma: no-cache");
- header("Refresh: 60");
- //header("Content-Type: application/xml; charset=utf-8");
- date_default_timezone_set('Asia/Jakarta');
- $date = date('Y-m-d_H:i:s');
- $md5 = md5($date);
- $param = 'date='.$date.'&hash='.$md5;
- $current = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
- $a = ['https://www.webmanajemen.xyz/p/adrotator.html?ref=otohits&'.$param.'', 'https://www.kompiajaib.com/?'.$param.'', 'https://www.arlinadzgn.com/?'.$param.''];
- $website = $a[mt_rand(0, count($a) - 1)];
- $referer = $a[mt_rand(0, count($a) - 1)];
- $proxy = '87.98.157.190:80';
- echo http_get_contents($proxy, $_GET['u'], $referer);
- // echo http_get_contents($_GET['u']);
- function http_get_contents($proxy, $url, $referer) {
- $headers[] = 'Accept: */*';
- $headers[] = 'Connection: Keep-Alive';
- // $headers[] = 'Host: deloton.com';
- // $headers[] = 'Origin: http://deloton.com';
- $headers[] = 'Content-type: */*;charset=UTF-8';
- $useragent = 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)';
- $process = curl_init($url);
- if (isset($proxy)) {
- curl_setopt($process, CURLOPT_PROXY, $proxy);
- }
- curl_setopt($process, CURLOPT_HTTPHEADER, $headers);
- curl_setopt($process, CURLOPT_HEADER, 0);
- curl_setopt($process, CURLOPT_USERAGENT, $useragent);
- curl_setopt($process, CURLOPT_REFERER, $referer);
- curl_setopt($process, CURLOPT_TIMEOUT, 30);
- curl_setopt($process, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($process, CURLOPT_FOLLOWLOCATION, 1);
- if(FALSE === ($retval = curl_exec($process))) {
- error_log(curl_error($process));
- } else {
- return $retval;
- }
- // $return = curl_exec($process);
- // curl_close($process);
- // return $return;
- }
- ?>
- <script>
- setTimeout(function(){
- window.location.reload(1);
- }, 60000);
- </script>
- <noscript> <meta http-equiv="refresh" content="60; URL=<?php echo $current; ?>">
- </noscript>
- <center>
- <a href="<?php echo $_GET['u']; ?>" rel="nofollow" title="<?php echo $_GET['u']; ?>" class="w3-btn w3-teal btn button" id="refresh">Go To The Url</a>
- </center>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement