Kocenggg

Update insta

Jul 30th, 2021
790
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /*echo 'Cookie: ';
  3. $cookie = trim(fgets(STDIN));
  4. echo 'Auth Token: ';
  5. $auth = trim(fgets(STDIN)); /*/
  6. //panggil
  7.  
  8. if(!empty($_GET['x'])){
  9. $status = $_GET['x'];
  10. } else {
  11.  
  12. $kata = file("uname.txt");
  13. $isine = $kata[array_rand($kata)];
  14. $statuse= $isine;
  15.  
  16. }
  17.  
  18. //id ke 2
  19.  
  20.  
  21. if(!empty($_GET['x'])){
  22. $status = $_GET['x'];
  23. } else {
  24.  
  25. $kata = file("uname.txt");
  26. $isine = $kata[array_rand($kata)];
  27. $statuse1= $isine;
  28.  
  29. }
  30. if(!empty($_GET['x'])){
  31. $status = $_GET['x'];
  32. } else {
  33.  
  34. $kata = file("uname.txt");
  35. $isine = $kata[array_rand($kata)];
  36. $statuse2= $isine;
  37.  
  38. }
  39.  
  40. //selesai
  41.  
  42.  
  43. while(true)
  44. {
  45.     //emot
  46.     $emoj = array("😀","😁","😂","😃","😄","😅","😆","😉","?","😋","😎","😍","😘","😗","😙","😚","☺","🙂","🤔","😐","😑","😶","🙄","😏","😣","😥","😮","😛","😴","😫","😪","😯","🤐","😝","😜","😒","😓","😔","😕","🙃","🤑","😢","😰","😱","😭","😲","🙁","😦","😳","😖","😧","😵","😞","😨","😡","😟","😩"," 😀 ", "😁", "😂", " 😃 "," 😄 "," 😅"," 😆"," 😗"," 😘"," 😍 "," 😎"," 😋"," 😊","  😉"," 😙"," 😚"," ☺"," 🙂"," 🤗"," 🤔"," 😐"," 😑"," 🤐"," 😜"," 😝"," 😯"," 😶"," 🙄"," 😪"," 😒"," 😓"," 😫"," 😏"," 😣"," 😴"," 😔"," 😕"," 😌"," 😥"," 😮"," 😛"," 🙃"," 😷"," 😠"," 😩"," 😬"," 😤"," 😟"," 😞"," 😨"," 😡"," 😵"," 😧"," 😖"," 🙁"," 😦"," 😳"," 😱"," 😭"," 😲"," 🤑"," 😢"," 😰"," 🤒"," 👺"," 💩"," 😺"," 💀"," 🤕"," 😇"," ☠"," 😸"," 😹"," 👻"," 🤓"," 😈"," 👽"," 😻"," 👿"," 👾"," 😼"," 👹"," 🤖"," 😽"," 👶"," 🙊"," 🙉"," 🙈"," 😾"," 😿"," 🙀"," 👦"," 👧"," 👨"," 👩"," 👴"," 👵"," 👮"," 👱"," 👲"," 👳"," 👸"," 👷"," 💂"," 🕵"," 👰"," 💁"," 💃"," 👯"," 🙋"," 👼"," 🎅"," 🙇"," 🛀"," 🛌"," 💆"," 🙍"," 🙎"," 💇"," 🙅"," 🚶"," 🗣"," 🕴"," 👤"," 🏃"," 🙆"," 👥"," 🏊"," 👫"," 👬"," 🏇"," 🏇"," ⛷"," 🏋"," 👭"," 🏂"," 🚴"," 💏"," 🏌"," 🚵",
  47. " 👨",
  48. " ❤","
  49. 💋",
  50. " 👨",
  51. " 🏄",
  52. " 🏎",
  53. " 👩",
  54. " ❤","
  55. 💋",
  56. " 👩",
  57. " 💑",
  58. " 🏍",
  59. " 🚣",
  60. " 👨❤","
  61. 💪"," 👨"," 👧"," 👧"," 👈"," 👉"," ☝"," 🖐"," 🤘"," 👊"," 👋"," 👂"," 💅"," 🙏"," ✊"," 🖖"," ✌"," 👎"," 🙌"," 👐"," 👍"," 👇"," 🖕"," 👌"," 👏"," ✋"," 👆"," ✍"," 👃"," 💋💗"," 💙"," 💘"," 👣"," ❤"," 👁"," 💓"," 💛"," 💚"," 💜"," 💔"," 👁"," 👅"," 💕"," 💝"," 💞"," 💖"," 👄"," 💥"," 💣"," 💢"," 💤"," 💌"," 💟"," 💦"," 💨"," 🕳"," 👓"," 🕶"," 🐵","
  62. 🐈"," 🐒"," 🦁"," 🐮"," 🦄"," 🐂"," 🐯"," 🐶"," 🐕"," 🐅"," 🐃"," 🐄"," 🐆"," 🐩"," 🐺"," 🐴"," 🐷"," 🐖"," 🐎"," 🐱"," 🐗",
  63. " 🐽"," 🐏"," 🐑"," 🐐"," 🐪"," 🐫"," 🐇"," 🐰"," 🐹"," 🐼"," 🐀"," 🐁"," 🐭"," 🐘"," 🐿"," 🐻"," 🐨"," 🐔"," 🐚"," 🐙"," 🐡"," 🐳"," 🐧"," 🐦"," 🐥"," 🐤"," 🐣"," 🐓"," 🐌"," ⛅"," 💧"," 🎈",);
  64. // PAnggil EMOT
  65. //1
  66. $motica = $emoj[rand(0,count($emoj)-1)];
  67. $emoji5=($motica);
  68. #BersamaCORSAIR
  69.    //pesannya APA?
  70.     $Messages = ' '.$emoji5.' Dear @spreihawaii  Jawabannya: HAWAII #spreihawaii #gameofthemonth
  71.  
  72. ikutan yukk
  73.    
  74. @takut.ulat @aliefatiaa @kurniawan.steiio'; //@'.$statuse.' @'.$statuse1.' @'.$statuse2.'
  75.     $target = '2629151035212828527';
  76.     $LinkID = 'CQQsFajB1A4';
  77.    
  78. $headers = array();
  79. $headers[] = "authority: www.instagram.com";
  80. $headers[] = "method: POST";
  81. $headers[] = "path: /web/comments/2629151035212828527/add/";
  82. $headers[] = "scheme: https";
  83. $headers[] = "accept: */*";
  84. $headers[] = "accept-encoding: gzip, deflate, br";
  85. $headers[] = "accept-language: en-US,en;q=0.9";
  86. //$headers[] = "content-length: 56";
  87. $headers[] = "content-type: application/x-www-form-urlencoded";
  88. $headers[] = 'cookie: '; //Cookie
  89. $headers[] = "origin: https://www.instagram.com";
  90. $headers[] = "referer: https://www.instagram.com/p/CR8nu_Ktg9v/";
  91. $headers[] = "sec-fetch-dest: empty";
  92. $headers[] = "sec-fetch-mode: cors";
  93. $headers[] = "sec-fetch-site: same-origin";
  94. $headers[] = "user-agent: Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.106 Mobile Safari/537.36";
  95. $headers[] = "x-asbd-id: 437806";
  96. $headers[] = "x-csrftoken: EmU2HMn4nIkRrmMx0BdXww8VvuRnVxLE"; //csrftoken
  97. $headers[] = "x-ig-app-id: 936619743392459";
  98. $headers[] = "x-ig-www-claim: hmac.AR3IVhLVec5nNs2nFWWvasnRjopisvfQICgyUrev-YBxb65w";
  99. $headers[] = "x-instagram-ajax: 478bcfd40589";
  100. $headers[] = "x-requested-with: XMLHttpRequest";
  101. $url = 'https://www.instagram.com/web/comments/'.$target.'/add/';
  102. $post = 'comment_text='.$Messages.'&replied_to_comment_id=';
  103.  
  104. $post = json_decode(yarzCurl($url, $post, false, $headers, true));
  105. if(isset($post->id))
  106. {
  107.     echo "ID : ".$post->id."\n";
  108.  
  109. } else {
  110.     die(print_r($post->id));
  111. }
  112. }
  113.  
  114. function yarzCurl($url, $fields=false, $cookie=false, $httpheader=false, $encoding=false)
  115. {
  116.     $ch = curl_init();
  117.     curl_setopt($ch, CURLOPT_URL, $url);
  118.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  119.     curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  120.     curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  121.     if($fields !== false)
  122.     {
  123.         curl_setopt($ch, CURLOPT_POST, true);
  124.         curl_setopt($ch, CURLOPT_POSTFIELDS, $fields);
  125.     }
  126.     if($encoding !== false)
  127.     {
  128.         curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
  129.     }
  130.     if($cookie !== false)
  131.     {
  132.         curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie);
  133.         curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
  134.     }
  135.     if($httpheader !== false)
  136.     {
  137.         curl_setopt($ch, CURLOPT_HTTPHEADER, $httpheader);
  138.     }
  139.     $response = curl_exec($ch);
  140.     curl_close($ch);
  141.     return $response;
  142. }
RAW Paste Data