Advertisement
Hoang030720055

Untitled

Apr 4th, 2021
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.60 KB | None | 0 0
  1. <?php
  2. error_reporting(0);
  3.  
  4.  
  5. @system('clear');
  6. if (file_exists('luutokengomlua.txt' ) != true ) {
  7. } else {
  8. echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Bạn Có Muốn Tiếp Tục Đăng Nhập Token Gom Lúa Cũ Không \n";
  9. echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Nhấn ".$do."[".$vang."1".$do."]".$luc." Để Đăng Nhập Bằng Token Gom Lúa Cũ\n";
  10. echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Nhấn ".$do."[".$vang."2".$do."]".$luc." Để Xoá Token Gom Lúa Cũ\n";
  11. echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Vui Lòng Chọn: $vang";
  12. $phanxu = trim( fgets( STDIN ) );
  13. if ( $phanxu == "2" ) {
  14. system( "rm luutokengomlua.txt" );
  15. echo "";
  16. } elseif ( $phanxu == "1" ) {
  17. echo "";
  18. } else {
  19. @system('clear');
  20. echo "\033[1;37m~ \033[1;91mLựa chọn không xác định !!!\n";
  21. exit;}}
  22. if(file_exists("luutokengomlua.txt") != true){
  23. @system('clear');
  24. echo $greenb."Nhập Token App Gom Lúa : $vang";
  25. $token = trim(fgets(STDIN));
  26. $file = fopen( "luutokengomlua.txt", "a+" );
  27. fwrite($k, "token = '$token';
  28. $");
  29. fclose($k);
  30. }
  31. echo $greenb."Nhập Cookie Facebook : $vang";
  32. $cookie = trim(fgets(STDIN));
  33.  
  34. while(true){
  35. for($i=$time=20;$i>-1;$i--){
  36. }
  37. @system('clear');
  38. echo $hong."LÀM XONG NHIỆM VỤ TỰ ẨN NHIỆM VỤ TRƯỚC \n ";
  39. echo"NÊN NHỚ LÀ ẨN NHIỆM VỤ TRƯỚC \n";
  40. //lấy job
  41. $urljob = "http://gomlua.com:1337/cpi/listCampaignFacebook?os=android&type=like_post_fanpage";
  42.  
  43. $curljob = curl_init();
  44. curl_setopt_array($curljob, array(
  45. // CURLOPT_PORT => "1337",
  46. CURLOPT_URL => "$urljob",
  47. CURLOPT_ENCODING => "",
  48. CURLOPT_RETURNTRANSFER => true,
  49. CURLOPT_SSL_VERIFYPEER => false,
  50. CURLOPT_TIMEOUT => 30,
  51. CURLOPT_CUSTOMREQUEST => "GET",
  52. CURLOPT_HTTPHEADER => array(
  53. 'If-None-Match: W/"e8e-XfCVF7JyRjnhGExuviLm+jNHot8"',
  54. "app_token: $token",
  55. "User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.0.2; SM-A300H Build/LRX22G)",
  56. "Connection: Keep-Alive",
  57. "Accept-Encoding: gzip"
  58. )));
  59. $curljob1 = curl_exec($curljob); curl_close($curljob);
  60. $json = json_decode($curljob1,true);
  61. $uid = $json["data"]["list"]["0"]["campaign_id"];
  62. $type = $json["data"]["list"]["0"]["react_type"];
  63. $link_id = $json["data"]["list"]["0"]["link_id"];
  64. $amount = $json["data"]["list"]["0"]["amount"];
  65. echo $nau."Nhiệm Vụ $reg$type$green";sleep(15);
  66. echo $trang."● Link Id ●$reg$link_id";sleep(14);
  67. sleep(5);
  68. //checkjob
  69.  
  70. $urlcheckjob = "http://gomlua.com:1337/cpi/checkLinkLike?link_id=".$link_id;
  71.  
  72. $curlcheckjob = curl_init();
  73. curl_setopt_array($curlcheckjob, array(
  74. // CURLOPT_PORT => "1337",
  75. CURLOPT_URL => "$urlcheckjob",
  76. CURLOPT_ENCODING => "",
  77. CURLOPT_RETURNTRANSFER => true,
  78. CURLOPT_SSL_VERIFYPEER => false,
  79. CURLOPT_TIMEOUT => 30,
  80. CURLOPT_CUSTOMREQUEST => "GET",
  81. CURLOPT_HTTPHEADER => array(
  82. "app_token: $token",
  83. "User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.0.2; SM-A300H Build/LRX22G)",
  84. "Connection: Keep-Alive",
  85. "Accept-Encoding: gzip"
  86. )));
  87. $curlcheckjob1 = curl_exec($curlcheckjob); curl_close($curlcheckjob);
  88. $json1 = json_decode($curlcheckjob1,true);
  89. $like_count = $json1["data"]["like_count"];
  90. echo "$vang Tổng ".$type."$blue Còn Lại ".$reg.$like_count."\n";sleep(15);
  91. //like
  92. if($type == "LIKE"){
  93.  
  94. $url = "https://mbasic.facebook.com/".$uid;
  95. $head = array (
  96. "Host: mbasic.facebook.com",
  97. "upgrade-insecure-requests: 1",
  98. "save-data: on",
  99. "user-agent: Mozilla/5.0 (Linux; Android 5.1.1; SM-J320G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36",
  100. "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*"."/"."*;q=0.8,application/signed-exchange;v=b3;q=0.9",
  101. "sec-fetch-site: same-origin",
  102. "sec-fetch-mode: navigate",
  103. "sec-fetch-user: ?1",
  104. "sec-fetch-dest: document",
  105. "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5",
  106. "cookie: $cookie",
  107. );
  108. $ch = curl_init();
  109. curl_setopt_array ($ch, array (
  110. CURLOPT_URL => $url,
  111. CURLOPT_FOLLOWLOCATION => false,
  112. CURLOPT_RETURNTRANSFER => 1,
  113. CURLOPT_POST => 1,
  114. CURLOPT_HTTPGET => true,
  115. CURLOPT_SSL_VERIFYPEER => 0,
  116. CURLOPT_HTTPHEADER => $head,
  117. CURLOPT_HEADER => true,
  118. CURLOPT_ENCODING => TRUE));
  119. $data = curl_exec($ch);
  120. if (strpos($data,"xs=deleted") == true){
  121.  
  122. } else {
  123. $one = explode("location: ",$data);
  124. $two = explode("rdr",$one[1]);
  125.  
  126. $url = $two[0]."rdr";
  127. curl_setopt_array ($ch, array (
  128. CURLOPT_URL => $url,
  129. CURLOPT_FOLLOWLOCATION => false,
  130. CURLOPT_RETURNTRANSFER => 1,
  131. CURLOPT_POST => 1,
  132. CURLOPT_HTTPGET => true,
  133. CURLOPT_SSL_VERIFYPEER => 0,
  134. CURLOPT_HTTPHEADER => $head,
  135. CURLOPT_HEADER => true,
  136. CURLOPT_ENCODING => TRUE));
  137. $data = curl_exec($ch);
  138. $one = explode("/a/like.php?",$data);
  139. $two = explode('"',$one[1]);
  140.  
  141. $url = "https://mbasic.facebook.com/a/like.php?".htmlspecialchars_decode($two[0]);
  142. curl_setopt_array ($ch, array (
  143. CURLOPT_URL => $url,
  144. CURLOPT_FOLLOWLOCATION => false,
  145. CURLOPT_RETURN,
  146. TRANSFER => 1,
  147. CURLOPT_POST => 1,
  148. CURLOPT_HTTPGET => true,
  149. CURLOPT_SSL_VERIFYPEER => 0,
  150. CURLOPT_HTTPHEADER => $head,
  151. CURLOPT_HEADER => true,
  152. CURLOPT_ENCODING => TRUE,));
  153. $data = curl_exec($ch);
  154. }
  155. }
  156. //phần love
  157.  
  158. if($type == "LOVE" or $type == "WOW" ){
  159. if($type == "LOVE"){
  160. $cx = 2;
  161. }
  162. if($type == "WOW"){
  163. $cx = 5;
  164. }
  165. $head = array(
  166. "Host: mbasic.facebook.com",
  167. "upgrade-insecure-requests: 1",
  168. "save-data: on",
  169. "user-agent: Mozilla/5.0 (Linux; Android 5.1.1; SM-J320G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Mobile Safari/537.36",
  170. "accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*"."/"."*;q=0.8,application/signed-exchange;v=b3;q=0.9",
  171. "sec-fetch-site: same-origin",
  172. "sec-fetch-mode: navigate",
  173. "sec-fetch-user: ?1",
  174. "sec-fetch-dest: document",
  175. "accept-language: vi-VN,vi;q=0.9,fr-FR;q=0.8,fr;q=0.7,en-US;q=0.6,en;q=0.5",
  176. "cookie: $cookie",
  177. );
  178. $url = "https://mbasic.facebook.com/".$uid;
  179.  
  180. $mr = curl_init();
  181. curl_setopt_array($mr, array(
  182. CURLOPT_URL => $url,
  183. CURLOPT_FOLLOWLOCATION => false,
  184. CURLOPT_RETURNTRANSFER => 1,
  185. CURLOPT_POST => 1,
  186. CURLOPT_HTTPGET => true,
  187. CURLOPT_SSL_VERIFYPEER => 0,
  188. CURLOPT_HEADER => true,
  189. CURLOPT_ENCODING => TRUE,
  190. CURLOPT_HTTPHEADER => $head));
  191. $mr2 = curl_exec($mr); curl_close($mr);
  192. $link2 = explode("location: ", $mr2);
  193. $link1 = explode("rdr", $link2[1]);
  194. $link = htmlspecialchars_decode($link1[0]);
  195.  
  196. $url = $link."rdr";
  197. $mr = curl_init();
  198. curl_setopt_array($mr, array(
  199. CURLOPT_URL => $url,
  200. CURLOPT_FOLLOWLOCATION => false,
  201. CURLOPT_RETURNTRANSFER => 1,
  202. CURLOPT_POST => 1,
  203. CURLOPT_HTTPGET => true,
  204. CURLOPT_SSL_VERIFYPEER => 0,
  205. CURLOPT_HEADER => true,
  206. CURLOPT_ENCODING => TRUE,
  207. CURLOPT_HTTPHEADER => $head));
  208. $mr2 = curl_exec($mr); curl_close($mr);
  209. $a2 = explode("/reactions/picker/", $mr2);
  210. $a1 = explode('"', $a2[1]);
  211. $a = htmlspecialchars_decode($a1[0]);
  212. $url = "https://mbasic.facebook.com/reactions/picker/".$a;
  213.  
  214. $mr = curl_init();
  215. curl_setopt_array($mr, array(
  216. CURLOPT_URL => $url,
  217. CURLOPT_FOLLOWLOCATION => false,
  218. CURLOPT_RETURNTRANSFER => 1,
  219. CURLOPT_POST => 1,
  220. CURLOPT_HTTPGET => true,
  221. CURLOPT_SSL_VERIFYPEER => 0,
  222. CURLOPT_HEADER => true,
  223. CURLOPT_ENCODING => TRUE,
  224. CURLOPT_HTTPHEADER => $head));
  225. $mr2 = curl_exec($mr); curl_close($mr);
  226. $love2 = explode("/ufi/reaction/", $mr2);
  227. $love1 = explode('"', $love2[$cx]);
  228. $love = htmlspecialchars_decode($love1[0]);
  229. $url = "https://mbasic.facebook.com/ufi/reaction/".$love;
  230. $mr = curl_init();
  231. curl_setopt_array($mr, array(
  232. CURLOPT_URL => $url,
  233. CURLOPT_FOLLOWLOCATION => false,
  234. CURLOPT_RETURNTRANSFER => 1,
  235. CURLOPT_POST => 1,
  236. CURLOPT_HTTPGET => true,
  237. CURLOPT_SSL_VERIFYPEER => 0,
  238. CURLOPT_HEADER => true,
  239. CURLOPT_ENCODING => TRUE,
  240. CURLOPT_HTTPHEADER => $head));
  241. $mr2 = curl_exec($mr); curl_close($mr);
  242. }
  243. sleep(2);
  244. $urlsuccess = "http://gomlua.com:1337/cpi/likeSuccess?link_id=".$link_id."&like_old=".$like_count;
  245.  
  246. $curlsuccess = curl_init();
  247. curl_setopt_array($curlsuccess, array(
  248. // CURLOPT_PORT => "1337",
  249. CURLOPT_URL => "$urlsuccess",
  250. CURLOPT_ENCODING => "",
  251. CURLOPT_RETURNTRANSFER => true,
  252. CURLOPT_SSL_VERIFYPEER => false,
  253. CURLOPT_TIMEOUT => 30,
  254. CURLOPT_CUSTOMREQUEST => "GET",
  255. CURLOPT_HTTPHEADER => array(
  256. "app_token: $token",
  257. "User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.0.2; SM-A300H Build/LRX22G)",
  258. "Connection: Keep-Alive",
  259. "Accept-Encoding: gzip"
  260. )));
  261. $curlsuccess1 = curl_exec($curlsuccess); curl_close($curlsuccess);
  262. $json2 = json_decode($curlsuccess1,true);
  263. $message = $json2["message"];
  264. if($message == 'Quá Thời Gian Làm Job, Đã Báo Cường Làm Lại \r'){
  265. echo $redb."[".$message."]"."\n"; sleep(15);
  266. }else{
  267. echo $luc."Nhận Được ".$amount."";sleep(30);
  268. for($time=$r;$time>-1;$time--){
  269. echo $tim."Đang Load Job $time giây "."\r";
  270. }
  271. }
  272. }}
  273.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement