fadhiilrachman

ig likes

Feb 14th, 2017
511
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. error_reporting(0);
  3. if($_GET['link']||$_GET['server']):
  4. header("Refresh:".$_GET['refresh']."");
  5. $url = $_GET['link'];
  6. $type = $_GET['type'];
  7.  
  8. // FUCNTION BUAT CURL WEB LIKES
  9. function EnaEna($link, $post=null){
  10.     $c = curl_init();
  11.     curl_setopt($c, CURLOPT_URL, $link);
  12.     if($post != null){
  13.         curl_setopt($c, CURLOPT_POST, true);
  14.         curl_setopt($c, CURLOPT_POSTFIELDS, $post);
  15.     }
  16.     curl_setopt($c, CURLOPT_FOLLOWLOCATION, true);
  17.     curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
  18.     curl_setopt($c, CURLOPT_SSL_VERIFYPEER, false);
  19.     $x = curl_exec($c);
  20.     curl_close($c);
  21.     return $x;
  22. }
  23.  
  24. // GET MID
  25.     $ch=curl_init('https://api.instagram.com/oembed/?url='.$url);
  26.     curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
  27.     curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,0);
  28.     curl_setopt($ch,CURLOPT_USERAGENT,'Mozilla/5.0 (Windows NT 6.1; rv:21.0) Gecko/20100101 Firefox/21.0');
  29.     $xx=curl_exec($ch);$mama=curl_getinfo($ch);curl_close($ch);
  30.     if($mama['http_code']<>200) die(json_encode(array('result' => 0, 'content' => 'Photo tidak tersedia')));
  31.     $xx=json_decode($xx);
  32.     $mid = $xx->media_id;
  33.  
  34. // EXECUTION WITH CALL FUNCTION
  35. if($_GET['server']==194){
  36.    $server = 'http://194.58.115.48/';
  37. }else
  38. if($_GET['server']==75){
  39.    $server = 'http://75.102.21.228/';
  40. }
  41.  
  42. $angka = 9;
  43. $rand = rand(1,$angka);
  44. if($type=='ga'){
  45. $hasil = EnaEna($server.'add?id='.$mid);
  46. }else
  47. if($type=='ya'){
  48. $hasil = EnaEna($server.'add?id='.$mid.$rand);
  49. }
  50. // $hasil = str_replace(0, 'Sukses/Gak-nya Cek Sendiri', $hasil);
  51. echo '
  52. <center>
  53. <br>
  54. '.$hasil.$rand.'
  55. <br>
  56. <a href="index.php">Back</a>
  57. </center>
  58. ';
  59. else:
  60. print "
  61. <html>
  62. <head>
  63. <title>GET LIKES WORLDWIDE</title>
  64.    <script type='text/javascript'>
  65.     var uid = '126095';
  66.     var wid = '270599';
  67.    </script>
  68. <script type='text/javascript' src='//cdn.popcash.net/pop.js'></script>
  69. </head>
  70. <body>
  71. <center>
  72.     <h2>GET LIKES BY SGBTEAM</h2>
  73.     <form method='get' action=''>
  74.         <select name='type'>
  75.             <option value='ga'>Tidak Banned</option>
  76.             <option value='ya'>Banned</option>
  77.         </select>
  78.         <select name='server'>
  79.             <option value='75'>Server 75</option>
  80.             <option value='194'>Server 194</option>
  81.         </select><br><br>
  82.         Refresh:
  83.         <select name='refresh'>
  84.             <option value='0'>0</option>
  85.             <option value='1'>1</option>
  86.             <option value='2'>2</option>
  87.             <option value='3'>3</option>
  88.             <option value='4'>4</option>
  89.             <option value='5'>5</option>
  90.             <option value='6'>6</option>
  91.             <option value='7'>7</option>
  92.             <option value='8'>8</option>
  93.             <option value='9'>9</option>
  94.             <option value='10'>10</option>
  95.         </select><br><br>
  96.         <input type='url' name='link' placeholder='https://www.instagram.com/p/BOkMQHsBSn-/?taken-by=siputra12' required>
  97.         <input type='submit' value='GET NOW!'>
  98.     </form>
  99. </body>
  100. </html>
  101. ";
  102. endif; ?>
Add Comment
Please, Sign In to add comment