Advertisement
CYBERSERKERS

Simple Mini PHProxy Khusus Opera Browser

Feb 14th, 2016
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.50 KB | None | 0 0
  1. <?php
  2.  
  3. $opmin = 'http://mini5.opera-mini.net';
  4.  
  5. function salah(){
  6.     echo "<title>AZZATSSINS CYBERSERKERS</title><body bgcolor=black><center><img src=http://azzat.wap.mu/files/1049320/assassin_s_creed_iv_black_flag.png><br><br><i><b><h1><font color=red>HELLCOME</font></h1><br><br><font color=lime>Contact: </font><a href=mailto:[email protected]>AZZATSSINS CYBERSERKERS</a></b></i></center>";
  7. }
  8. function opminsrv($srv){
  9.     $curlInterface = curl_init();
  10.     $headers[] = 'Connection: Keep-Alive';
  11.     $headers[] = 'content-type: application/xml';
  12.     $headers[] = 'User-Agent: Java0';
  13.     curl_setopt_array($curlInterface, array(
  14.         CURLOPT_URL => $srv,
  15.         CURLOPT_HTTPHEADER => $headers,
  16.         CURLOPT_POST => 1,
  17.         CURLOPT_POSTFIELDS => @file_get_contents('php://input'))
  18.     );
  19.     $result = curl_exec($curlInterface);
  20.     curl_close($curlInterface);
  21.     header('Content-Type: application/octet-stream');
  22.     header('Cache-Control: private, no-cache');
  23.     echo $result;
  24. }
  25.  
  26. if ($_GET['AZZATSSINS']){
  27.     $opm = $_GET['AZZATSSINS'];
  28.     if ($_SERVER["REQUEST_METHOD"] == "GET"){
  29.         if (function_exists(curl_init)){
  30.             if ($_GET["test"] == null){
  31.                 header( "HTTP/1.1 Moved Permanently" );
  32.                 header( "Location: http://www.google.com/ncr" );
  33.             } else{
  34.             salah();
  35.             }
  36.         } else{
  37.         echo "curl is not enabled!.";
  38.         }
  39.     } else{
  40.         opminsrv('http://'.$opm);
  41.     }
  42. } else{
  43.     salah();
  44. }
  45. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement