danhcltx

cookie

Jan 17th, 2022 (edited)
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.97 KB | None | 0 0
  1. error_reporting(0);
  2. session_start();
  3. $ress = "\033[0;32m";
  4. $res = "\033[0;33m";
  5. $red = "\033[0;31m";
  6. $green = "\033[0;37m";
  7. $yellow = "\033[0;33m";
  8. $white = "\033[0;33m";
  9. $xnhac = "\033[1;96m";
  10. $den = "\033[1;90m";
  11. $do = "\033[1;32m";
  12. $luc = "\033[1;92m";
  13. $xduong = "\033[1;94m";
  14. $hong = "\033[1;95m";
  15. $trang = "\033[1;97m";
  16. $BBlack="\033[1;30m" ;
  17. $BRed="\033[1;31m" ;
  18. $BGreen="\033[1;32m" ;
  19. $BYellow="\033[1;33m" ;
  20. $BBlue="\033[1;34m" ;
  21. $BPurple="\033[1;35m" ;
  22. $BCyan="\033[1;36m" ;
  23. $BWhite="\033[1;37m" ;
  24. $Blue="\033[0;34m";
  25. $lime="\033[1;32m";
  26. $red="\033[1;31m";
  27. $xanh="\033[1;32m";
  28. $cyan="\033[1;36m";
  29. $yellow="\033[1;33m";
  30. $turquoise="\033[1;34m";
  31. $maugi="\033[1;35m";
  32. $white= "\033[1;37m";
  33. $trang."- - - - - - - - - - - - - - - - - - - - - - - - - - - -\n";
  34. $cuongdz = $do."[".$luc."●".$do."] ".$trang."=> ";
  35. $cuongvip = $do."[".$luc."●".$do."]";
  36. date_default_timezone_set("Asia/Ho_Chi_Minh");
  37. $useragent = 'Mozilla/5.0 (Linux; Android 10; Mi 9T Pro) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/12.1 Chrome/79.0.3945.136 Mobile Safari/537.36';
  38. @system('clear');
  39. sleep(0);
  40. echo "\033[1;93m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n";
  41. echo "\033[1;93m┃ \033[1;93m┃\033[1;92m☞ Shop: \033[0;34mhttps://sellclonexu.site \033[1;93m┃
  42. \033[1;93m┃ \033[1;31m█▀▄ ▄▀█ █▄ █ █▄█ \033[1;93m┃\033[1;92m☞ zalo:\033[1;36m 0929533616 \033[1;93m┃
  43. \033[0;93m┃ \033[1;97m█▄▀ █▀█ █ ▀█ █▀█ \033[1;93m┃\033[1;92m☞ momo: \033[1;37m0336536030 \033[1;93m┃ \n\033[1;93m┃ ┃\033[1;92m☞ Facebook: \033[1;31mfb.com/100069088879543\033[1;93m┃ \n";
  44. echo "\033[1;93m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\n";
  45. $dem = 0;
  46. echo $cuongdz.$luc."Vào Web ".$trang."Traodoisub.com".$luc." Bấm Cài Đặt Trên Web\n";
  47. echo $cuongdz.$luc."Sao Chép ".$vang."Access_ToKen".$luc." Dán Vào\n";
  48. echo $thanhngang;
  49. echo $cuongdz.$luc."Nhập Access_ToKen : $BWhite";
  50. $tokenacc = trim(fgets(STDIN));
  51. do {
  52. //cookie
  53. $khocookie = [];
  54. echo $thanhngang;
  55. echo $cuongdz.$luc."Nhập Cookie Facebook.\033[1;33mMuốn Dừng Nhập Thì Bấm Enter\n";
  56. for($a = 1; $a < 999999;$a++){
  57. echo $cuongdz.$cyan."Nhập Cookie Thứ $a: $trang";
  58. $nhapck = (string)trim(fgets(STDIN));
  59. if($nhapck == ''){break;}
  60.  
  61. array_push($khocookie,$nhapck);
  62. }
  63.  
  64. $demcki=count($khocookie);
  65.  
  66. echo $white."● ".$green."Bạn Đã Nhập ".$vang.$demcki." ".$luc."Cookie Facebook\n";
  67. sleep(1);
  68. } while (count($khocookie)==0);
  69. //url
  70. $urlinfo = "https://traodoisub.com/api/?fields=profile&access_token=$tokenacc";
  71. $urllike = "https://traodoisub.com/api/?fields=like&access_token=$tokenacc";
  72. $urlsub = "https://traodoisub.com/api/?fields=follow&access_token=$tokenacc";
  73. $urlcx = "https://traodoisub.com/api/?fields=reaction&access_token=$tokenacc";
  74. $urlshare = "https://traodoisub.com/api/?fields=share&access_token=$tokenacc";
  75. $urlcmt = "https://traodoisub.com/api/?fields=comment&access_token=$tokenacc";
  76. $urlpage = "https://traodoisub.com/api/?fields=page&access_token=$tokenacc";
  77. $urllikecmt = "https://traodoisub.com/api/?fields=reactcmt&access_token=$tokenacc";
  78. //login
  79. $info = api($urlinfo);
  80. if ($info["error"]) {
  81. exit ($info["error"]);
  82. }
  83. //$thongtin
  84. $user = strtolower($info["data"]["user"]);
  85. $xuhientai = $info["data"]["xu"];
  86. system('clear');
  87. sleep(0);
  88. echo "\033[1;93m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n";
  89. echo "\033[1;93m┃ \033[1;93m┃\033[1;92m☞ Shop: \033[0;34mhttps://sellclonexu.site \033[1;93m┃
  90. \033[1;93m┃ \033[1;31m█▀▄ ▄▀█ █▄ █ █▄█ \033[1;93m┃\033[1;92m☞ zalo:\033[1;36m 0929533616 \033[1;93m┃
  91. \033[0;93m┃ \033[1;97m█▄▀ █▀█ █ ▀█ █▀█ \033[1;93m┃\033[1;92m☞ momo: \033[1;37m0336536030 \033[1;93m┃ \n\033[1;93m┃ ┃\033[1;92m☞ Facebook: \033[1;31mfb.com/100069088879543\033[1;93m┃ \n";
  92. echo "\033[1;93m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\n";
  93. echo $trang."- - - - - - - - - - - - - - - - - - - - - - - - - - - -\n";
  94. echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Tool Auto TDS: $Đa Luồng Cookie\n";
  95. echo $do."[".$luc."●".$do."] ".$trang."=> ".$do."Tài Khoản TDS: ".$vang.$user."\n";
  96. echo $do."[".$luc."●".$do."] ".$trang."=> ".$xduong."Số Xu Hiện Tại: ".$vang.$xuhientai."\n";
  97. echo $do."[".$luc."●".$do."] ".$trang."=> ".$xnhac."Đang Dùng: ".$vang.$demcki."\033[1;32m Nick Chạy\n";
  98. echo $do."[".$luc."●".$do."] ".$trang."=> \033[1;32mIP Tool Của Bạn:\033[1;34m$getip\n";
  99. echo $trang."- - - - - - - - - - - - - - - - - - - - - - - - - - - -\n";
  100. echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Nhập ".$do."[".$vang."1".$do."]".$luc." Bật Like\n";
  101. echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Nhập ".$do."[".$vang."2".$do."]".$luc." Bật Follow\n";
  102. echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Nhập ".$do."[".$vang."3".$do."]".$luc." Bật Cảm Xúc\n";
  103. echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Nhập ".$do."[".$vang."4".$do."]".$luc." Bật Comment\n";
  104. echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Nhập ".$do."[".$vang."5".$do."]".$luc." Bật Fanpage\n";
  105. echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Nhập ".$do."[".$vang."6".$do."]".$luc." Bật Share\n";
  106. echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Nhập ".$do."[".$vang."7".$do."]".$luc." Bật Cảm Xúc CMT\n";
  107. echo $trang."- - - - - - - - - - - - - - - - - - - - - - - - - - - -\n";
  108. echo "\e[1;34m┌─[\e[1;37m\e[1;90mNhập Số Để Chạy Nhiệm Vụ \e[0m\e[1;34m]
  109. └──╼ \e[1;35mV\e[1;36mT\e[1;31mD: $yellowb ";
  110. $nhiemvu = trim(fgets(STDIN)); echo $do."[".$luc."●".$do."] ".$trang."=> ".$luc."Thời Gian Làm Nhiệm Vụ ".$nendo.$trang."Min Max$end\n";
  111. echo "\e[1;34m┌─[\e[1;37m\e[1;90mNhập Thời Gian Min\e[0m\e[1;34m]
  112. └──╼ \e[1;35mV\e[1;36mT\e[1;31mD: $luc ";
  113. $thoigianmin = trim(fgets(STDIN));
  114. echo "\e[1;34m┌─[\e[1;37m\e[1;90mNhập Thời Gia Max\e[0m\e[1;34m]
  115. └──╼ \e[1;35mV\e[1;36mT\e[1;31mD: $luc ";
  116. $thoigianmax = trim(fgets(STDIN));
  117. echo "\e[1;34m┌─[\e[1;37m\e[1;90mSau Bao Nhiêu Nhiệm Vụ Thì Kích Hoạt Chống Block\e[0m\e[1;34m]
  118. └──╼ \e[1;35mV\e[1;36mT\e[1;31mD: $luc ";
  119. $xxxxx = trim(fgets(STDIN));
  120. echo "\e[1;34m┌─[\e[1;37m\e[1;90mSau $xxxxx Nhiệm Vụ Nghỉ Ngơi Bao Nhiêu Giây\e[0m\e[1;34m]
  121. └──╼ \e[1;35mV\e[1;36mT\e[1;31mD: $luc ";
  122. $delaybl = trim(fgets(STDIN));
  123. echo "\e[1;34m┌─[\e[1;37m\e[1;90mĐổi Cấu Hình Sau Bao Nhiêu Nhiệm Vụ\e[0m\e[1;34m]
  124. └──╼ \e[1;35mV\e[1;36mT\e[1;31mD: $luc ";
  125. $doinick = trim(fgets(STDIN));
  126. echo "\e[1;34m┌─[\e[1;37m\e[1;90mChạy Bao Nhiêu Nhiệm Vụ Thì Dừng Tool\e[0m\e[1;34m]
  127. └──╼ \e[1;35mV\e[1;36mT\e[1;31mD: $luc ";
  128. $dungtool = trim(fgets(STDIN));
  129. while(true){
  130. if(count($khocookie) == 0){
  131. echo $cuongdz.$luc."Nhập Cookie Facebook.\033[1;33mMuốn Dừng Nhập Thì Bấm Enter\n";
  132. for($a = 1; $a < 999999;$a++){
  133. echo $cuongdz.$cyan."Nhập Cookie Thứ $a: $trang";
  134. $nhapck = (string)trim(fgets(STDIN));
  135. if($nhapck == ''){break;}
  136.  
  137. array_push($khocookie,$nhapck);
  138. }
  139. $demcki=count($khocookie);
  140. echo $cuongdz.$cyan."Bạn Đã Nhập ".$vang.$demcki." ".$luc."Cookie Facebook\n";
  141. sleep(1);
  142. }
  143. $themtk = 0;
  144. for($xz=0;$xz<count($khocookie);$xz++){
  145. if ( $themck == 1){ break; }
  146. $cookie = $khocookie[$xz];
  147. $access_token = laytoken($cookie,$useragent);
  148. if ($access_token == 'die') {
  149. echo "\r";
  150. echo " \r";
  151. echo $white."Lỗi ".$red."Cookie Die!!!\n";
  152. array_splice($khocookie,$xz,1);
  153. continue;
  154. }
  155. $tenfb = json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))-> {'name'};
  156. $idfb = json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))-> {'id'};
  157. $urlcauhinh = "https://traodoisub.com/api/?fields=run&id=$idfb&access_token=$tokenacc";
  158. $cauhinh = api($urlcauhinh);
  159. if ($cauhinh["data"]["msg"] == "Cấu hình thành công!") {
  160. echo $trang."- - - - - - - - - - - - - - - - - - - - - - - - - - - -\n";
  161. echo "\033[1;32mĐang Dùng FB: \033[1;33m".$tenfb."\033[1;32m ID:\033[1;33m ".$idfb."\n";
  162. echo $trang."- - - - - - - - - - - - - - - - - - - - - - - - - - - -\n";
  163. }
  164. $spam = 0;
  165. while (true) {
  166. if ($spam == 1) {
  167. break;
  168. }
  169. //listlike
  170. if (strpos($nhiemvu, '1') !== false) {
  171. for ($i = 0; $i < 10; $i++) {
  172. $listlike = api($urllike);
  173. if($listlike == ''){
  174. echo $trang." • ".$do."Mạng không ổn định \r";
  175. while($listlike==''){
  176. $listlike = api($urllike);
  177. }}
  178. if (count($listlike) > 0) {
  179. break;
  180. }}
  181.  
  182. }
  183. //listfollow
  184. if (strpos($nhiemvu, '2') !== false) {
  185. for ($i = 1; $i < 10; $i++) {
  186. $listsub = api($urlsub);
  187. if($listsub == ''){
  188. echo $trang." • ".$do."Mạng không ổn định \r";
  189. while($listsub==''){
  190. $listsub = api($urlsub);
  191. }}
  192. if (count($listsub) > 0) {
  193. break;
  194. }
  195. }
  196. }
  197. //listreaction
  198. if (strpos($nhiemvu, '3') !== false) {
  199. for ($i = 1; $i < 10; $i++) {
  200. $listcx = api($urlcx);
  201. if($listcx == ''){
  202. echo $trang." • ".$do."Mạng không ổn định \r";
  203. while($listcx==''){
  204. $listcx = api($urlcx);
  205. }}
  206. if (count($listcx) > 0) {
  207. break;
  208. }}
  209. }
  210. //listcmt
  211. if (strpos($nhiemvu, '4') !== false) {
  212. for ($i = 1; $i < 10; $i++) {
  213. $listcmt = api($urlcmt);
  214. if($listcmt == ''){
  215. echo $trang." • ".$do."Mạng không ổn định \r";
  216. while($listcmt==''){
  217. $listcmt = api($urlcmt);
  218. }}
  219. if (count($listcmt) > 0) {
  220. break;
  221. }}
  222. }
  223. //listpage
  224. if (strpos($nhiemvu, '5') !== false) {
  225. for ($i = 1; $i < 10; $i++) {
  226. $listpage = api($urlpage);
  227. if($listpage == ''){
  228. echo $trang." • ".$do."Mạng không ổn định \r";
  229. while($listpage==''){
  230. $listpage = api($urlpage);
  231. }}
  232. if (count($listpage) > 0) {
  233. break;
  234. }}
  235. }
  236. //share
  237. if (strpos($nhiemvu, '6') !== false) {
  238. for ($i = 1; $i < 10; $i++) {
  239. $listshare = api($urlshare);
  240. if($listshare == ''){
  241. echo $trang." • ".$do."Mạng không ổn định \r";
  242. while($listshare==''){
  243. $listshare = api($urlshare);
  244. }}
  245. if (count($listshare) > 0) {
  246. break;
  247. }}
  248. }
  249. //listlikecmt
  250. if (strpos($nhiemvu, '7') !== false) {
  251. for ($i = 1; $i < 10; $i++) {
  252. $listlikecmt = api($urllikecmt);
  253. if($listlikecmt == ''){
  254. echo $trang." • ".$do."Mạng không ổn định \r";
  255. while($listlikecmt==''){
  256. $listlikecmt = api($urllikecmt);
  257. }}
  258. if (count($listlikecmt) > 0) {
  259. break;
  260. }}
  261. }
  262.  
  263. for ($lap = 0; $lap < 20; $lap++) {
  264. // like
  265. if ($listlike !== NULL) {
  266. $idlike = $listlike[$lap]["id"];
  267. if ($idlike !== '') {
  268. $g = like($access_token, $idlike, $cookie);
  269. if ($g -> {'error'} -> {'code'} == 190) {
  270. if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
  271. echo "\r";
  272. echo " \r";
  273. echo $white." >^_^< ".$red."Cookie Die\n";
  274. array_splice($khocookie,$xz,1);
  275. $spam = 1; break;
  276. }
  277. }
  278. if ($g->{'error'}->{'code'} == 368){
  279. echo " \r";
  280. echo $white." ● ".$red."Đã Bị Block Like\n";
  281. array_splice($khocookie,$xz,1);
  282. $spam = 1;
  283. break;
  284. }
  285. $nhanlike = nhantien('LIKE', $idlike, $tokenacc);
  286. if ($nhanlike["success"] == 200) {
  287. $xu = $nhanlike["data"]["xu"];
  288. $xujob = $nhanlike["data"]["msg"];
  289. $dem++;
  290.  
  291. hoanthanh($dem, ' LIKE ', $idlike, $xujob, $xu);
  292. if ( $dem >= $dungtool ){
  293. echo $thanhngang; echo $cuongdz.$luc."Đã làm xong \033[1;93m".$dem."\033[1;92m nhiệm vụ, Chạy tiếp không bạn (y/n): \033[1;93m";
  294. $stop = trim(fgets(STDIN));
  295. if ( $stop == "n" ){
  296. $dungtool = 999999;
  297. echo $cuongdz.$luc."Bạn Đã Chọn Dừng Tool Số Xu Của Bạn Là : ".$BWhite.$xu."\n";
  298. echo $cuongdz.$luc."Cảm Ơn Bạn Đã Sử Dụng Tool Của Tôi Tool\n";
  299. exit;}
  300. else {
  301. echo $cuongdz.$luc."Bạn Muốn Chạy Thêm Bao Nhiệm Nhiệm Vụ Nữa : $BWhite";
  302. $chaythem = trim (fgets(STDIN));
  303. $dungtool = $dungtool + $chaythem;}
  304. echo $cuongdz.$luc."Bạn Muốn Chạy Cookie Mới Không (y/n) : $BWhite";
  305. $themtk = trim (fgets(STDIN));
  306. if ( $themtk == "y" ){
  307. $spam = 1;
  308. $themtk = 1;
  309. $khocookie=[];
  310. break;
  311. } else { continue; }
  312. }
  313. if($dem % $doinick == 0){
  314. $spam = 1; break;
  315. }
  316. if($dem % $xxxxx == 0){
  317. delay2($delaybl);
  318. }
  319.  
  320. $delay = rand($thoigianmin, $thoigianmax);
  321. delay($delay);
  322. }
  323. }}
  324. //follow
  325. if ($listsub !== NULL) {
  326. $idsub = $listsub[$lap]["id"];
  327. if ($idsub !== '') {
  328. $g = follow($access_token, $idsub, $cookie);
  329. if ($g -> {'error'} -> {'code'} == 190) {
  330. if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
  331. echo "\r";
  332. echo " \r";
  333. echo $white." >^_^< ".$red."Cookie Die\n";
  334. array_splice($khocookie,$xz,1);
  335. $spam = 1; break;
  336. }
  337. }
  338. if ($g->{'error'}->{'code'} == 368){
  339. echo " \r";
  340. echo $white." ● ".$red."Đã Bị Block Follow\n";
  341. array_splice($khocookie,$xz,1);
  342. $spam = 1;
  343. break;
  344. }
  345. $nhansub = nhantien('FOLLOW', $idsub, $tokenacc);
  346. if ($nhansub["success"] == 200) {
  347. $xu = $nhansub["data"]["xu"];
  348. $xujob = $nhansub["data"]["msg"];
  349. $dem++;
  350. hoanthanh($dem, ' FOLLOW ', $idsub, $xujob, $xu);
  351. if ( $dem >= $dungtool ){
  352. echo $thanhngang; echo $cuongdz.$luc."Đã làm xong \033[1;93m".$dem."\033[1;92m nhiệm vụ, Chạy tiếp không bạn (y/n): \033[1;93m";
  353. $stop = trim(fgets(STDIN));
  354. if ( $stop == "n" ){
  355. $dungtool = 999999;
  356. echo $cuongdz.$luc."Bạn Đã Chọn Dừng Tool Số Xu Của Bạn Là : ".$BWhite.$xu."\n";
  357. echo $cuongdz.$luc."Cảm Ơn Bạn Đã Sử Dụng Tool Của Tôi\n";
  358. exit;}
  359. else {
  360. echo $cuongdz.$luc."Bạn Muốn Chạy Thêm Bao Nhiệm Nhiệm Vụ Nữa : $BWhite";
  361. $chaythem = trim (fgets(STDIN));
  362. $dungtool = $dungtool + $chaythem;}
  363. echo $cuongdz.$luc."Bạn Muốn Chạy Cookie Mới Không (y/n) : $BWhite";
  364. $themtk = trim (fgets(STDIN));
  365. if ( $themtk == "y" ){
  366. $spam = 1;
  367. $themtk = 1;
  368. $khocookie=[];
  369. break;
  370. } else { continue; }
  371. }
  372. if($dem % $doinick == 0){
  373. $spam = 1; break;
  374. }
  375. if($dem % $xxxxx == 0){
  376. delay2($delaybl);
  377. }
  378.  
  379. $delay = rand($thoigianmin, $thoigianmax);
  380. delay($delay);
  381. }
  382. }}
  383. //cảm xúc
  384. if ($listcx !== NULL) {
  385. $idcx = $listcx[$lap]["id"];
  386. $type = $listcx[$lap]["type"];
  387. if ($idcx !== '') {
  388. $g = camxuc($idcx, $type, $cookie);
  389. if ($g -> {'error'} -> {'code'} == 190) {
  390. if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
  391. echo "\r";
  392. echo " \r";
  393. echo $white." >^_^< ".$red."Cookie Die\n";
  394. array_splice($khocookie,$xz,1);
  395. $spam = 1; break;
  396. }
  397. }
  398. if ($g->{'error'}->{'code'} == 368){
  399. echo " \r";
  400. echo $white." ● ".$red."Đã Bị Block Like\n";
  401. array_splice($khocookie,$xz,1);
  402. $spam = 1;
  403. break;
  404. }
  405. $nhancx = nhantien($type, $idcx, $tokenacc);
  406. if ($nhancx["success"] == 200) {
  407. $xu = $nhancx["data"]["xu"];
  408. $xujob = $nhancx["data"]["msg"];
  409. $dem++;
  410. if ($type == 'WOW') {
  411. $type = ' WOW ';
  412. } elseif ($type == 'SAD') {
  413. $type = ' SAD ';
  414. } elseif ($type == 'ANGRY') {
  415. $type = ' ANGRY ';
  416. } elseif ($type == 'LOVE') {
  417. $type = ' LOVE ';
  418. } elseif ($type == 'HAHA') {
  419. $type = ' HAHA ';
  420. } elseif ($type == 'CARE') {
  421. $type = ' CARE ';
  422. }
  423. hoanthanh($dem, $type, $idcx, $xujob, $xu);
  424. if ( $dem >= $dungtool ){
  425. echo $thanhngang; echo $cuongdz.$luc."Đã làm xong \033[1;93m".$dem."\033[1;92m nhiệm vụ, Chạy tiếp không bạn (y/n): \033[1;93m";
  426. $stop = trim(fgets(STDIN));
  427. if ( $stop == "n" ){
  428. $dungtool = 999999;
  429. echo $cuongdz.$luc."Bạn Đã Chọn Dừng Tool Số Xu Của Bạn Là : ".$BWhite.$xu."\n";
  430. echo $cuongdz.$luc."Cảm Ơn Bạn Đã Sử Dụng Tool Của Tôi\n";
  431. exit;}
  432. else {
  433. echo $cuongdz.$luc."Bạn Muốn Chạy Thêm Bao Nhiệm Nhiệm Vụ Nữa : $BWhite";
  434. $chaythem = trim (fgets(STDIN));
  435. $dungtool = $dungtool + $chaythem;}
  436. echo $cuongdz.$luc."Bạn Muốn Chạy Cookie Mới Không (y/n) : $BWhite";
  437. $themtk = trim (fgets(STDIN));
  438. if ( $themtk == "y" ){
  439. $spam = 1;
  440. $themtk = 1;
  441. $khocookie=[];
  442. break;
  443. } else { continue; }
  444. }
  445. if($dem % $doinick == 0){
  446. $spam = 1; break;
  447. }
  448. if($dem % $xxxxx == 0){
  449. delay2($delaybl);
  450. }
  451.  
  452. $delay = rand($thoigianmin, $thoigianmax);
  453. delay($delay);
  454. }
  455. }}
  456. if ($listshare !== NULL) {
  457. $id = $listshare[$lap]["id"];
  458. $g = share($access_token, $id);
  459. if ($g -> {'error'} -> {'code'} == 190) {
  460. if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
  461. echo "\r";
  462. echo " \r";
  463. echo $white." >^_^< ".$red."Cookie Die\n";
  464. array_splice($khocookie,$xz,1);
  465. $spam = 1; break;
  466. }
  467. }
  468. if ($g -> {'error'} -> {'code'} == 368) {
  469. echo "\033[1;91m".$g-> {'error'}-> {'message'};
  470. echo "\n";
  471. array_splice($khocookie,$xz,1);
  472. $spam = 1; break;
  473. }
  474. $nhanshare = nhantien('SHARE', $id, $tokenacc);
  475. if ($nhanshare["success"] == 200) {
  476. $xu = $nhanshare["data"]["xu"];
  477. $xujob = $nhanshare["data"]["msg"];
  478. $dem++;
  479. hoanthanh($dem, ' SHARES ', $id, $xujob, $xu);
  480. if ( $dem >= $dungtool ){
  481. echo $thanhngang; echo $cuongdz.$luc."Đã làm xong \033[1;93m".$dem."\033[1;92m nhiệm vụ, Chạy tiếp không bạn (y/n): \033[1;93m";
  482. $stop = trim(fgets(STDIN));
  483. if ( $stop == "n" ){
  484. $dungtool = 999999;
  485. echo $cuongdz.$luc."Bạn Đã Chọn Dừng Tool Số Xu Của Bạn Là : ".$BWhite.$xu."\n";
  486. echo $cuongdz.$luc."Cảm Ơn Bạn Đã Sử Dụng Tool Của Tôi\n";
  487. exit;}
  488. else {
  489. echo $cuongdz.$luc."Bạn Muốn Chạy Thêm Bao Nhiệm Nhiệm Vụ Nữa : $BWhite";
  490. $chaythem = trim (fgets(STDIN));
  491. $dungtool = $dungtool + $chaythem;}
  492. echo $cuongdz.$luc."Bạn Muốn Chạy Cookie Mới Không (y/n) : $BWhite";
  493. $themtk = trim (fgets(STDIN));
  494. if ( $themtk == "y" ){
  495. $spam = 1;
  496. $themtk = 1;
  497. $khocookie=[];
  498. break;
  499. } else { continue; }
  500. }
  501. if($dem % $doinick == 0){
  502. $spam = 1; break;
  503. }
  504. if($dem % $xxxxx == 0){
  505. delay($thoigiannghi);
  506. }
  507. $delay = rand($thoigianmin, $thoigianmax);
  508. delay($delay);
  509. }}
  510. //cmt
  511. if ($listcmt !== NULL) {
  512. $idcmt = $listcmt[$lap]["id"];
  513. $msg = $listcmt[$lap]["msg"];
  514. if ($idcmt !== '') {
  515. $g = cmt($access_token, $idcmt, $cookie, $msg);
  516. if ($g -> {'error'} -> {'code'} == 190) {
  517. if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
  518. echo "\r";
  519. echo " \r";
  520. echo $white." >^_^< ".$red."Cookie Die\n";
  521. array_splice($khocookie,$xz,1);
  522. $spam = 1; break;
  523. }
  524. }
  525. if ($g->{'error'}->{'code'} == 368){
  526. echo " \r";
  527. echo $white." ● ".$red."Đã Bị Block Cmt\n";
  528. array_splice($khocookie,$xz,1);
  529. $spam = 1;
  530. break;
  531. }
  532. $nhancmt = nhantien('COMMENT', $idcmt, $tokenacc);
  533. if ($nhancmt["success"] == 200) {
  534. $xu = $nhancmt["data"]["xu"];
  535. $xujob = $nhancmt["data"]["msg"];
  536. $dem++;
  537. hoanthanh($dem, 'COMMENTS', $idcmt, $xujob, $xu);
  538. if ( $dem >= $dungtool ){
  539. echo $thanhngang; echo $cuongdz.$luc."Đã làm xong \033[1;93m".$dem."\033[1;92m nhiệm vụ, Chạy tiếp không bạn (y/n): \033[1;93m";
  540. $stop = trim(fgets(STDIN));
  541. if ( $stop == "n" ){
  542. $dungtool = 999999;
  543. echo $cuongdz.$luc."Bạn Đã Chọn Dừng Tool Số Xu Của Bạn Là : ".$BWhite.$xu."\n";
  544. echo $cuongdz.$luc."Cảm Ơn Bạn Đã Sử Dụng Tool Của Tôi\n";
  545. exit;}
  546. else {
  547. echo $cuongdz.$luc."Bạn Muốn Chạy Thêm Bao Nhiệm Nhiệm Vụ Nữa : $BWhite";
  548. $chaythem = trim (fgets(STDIN));
  549. $dungtool = $dungtool + $chaythem;}
  550. echo $cuongdz.$luc."Bạn Muốn Chạy Cookie Mới Hay Cookie Cũ (y/n) : $BWhite";
  551. $themtk = trim (fgets(STDIN));
  552. if ( $themtk == "y" ){
  553. $spam = 1;
  554. $themtk = 1;
  555. $khocookie=[];
  556. break;
  557. } else { continue; }
  558. }
  559. if($dem % $doinick == 0){
  560. $spam = 1; break;
  561. }
  562. if($dem % $xxxxx == 0){
  563. delay2($delaybl);
  564. }
  565.  
  566. $delay = rand($thoigianmin, $thoigianmax);
  567. delay($delay);
  568. }
  569. }}
  570. //page
  571. if ($listpage !== NULL) {
  572. $idpage = $listpage[$lap]["id"];
  573. if ($idpage !== '') {
  574. $g = page($idpage, $cookie);
  575. if ($g -> {'error'} -> {'code'} == 190) {
  576. echo "Cookie die !!?!\n";
  577. array_splice($khocookie,$xz,1);
  578. $spam = 1; break;
  579. }
  580. if ($g -> {'error'} -> {'code'} == 368) {
  581. echo "\033[1;91m".$g-> {'error'}-> {'message'};
  582. echo "\n";
  583. array_splice($khocookie,$xz,1);
  584. $spam = 1; break;
  585. }
  586.  
  587. $nhanpage = nhantien('PAGE', $idpage, $tokenacc);
  588. if ($nhanpage["success"] == 200) {
  589. $xu = $nhanpage["data"]["xu"];
  590. $xujob = $nhanpage["data"]["msg"];
  591. $dem++;
  592. hoanthanh($dem, ' PAGE ', $idpage, $xujob, $xu);
  593. if ( $dem >= $dungtool ){
  594. echo $thanhngang; echo $cuongdz.$luc."Đã làm xong \033[1;93m".$dem."\033[1;92m nhiệm vụ, Chạy tiếp không bạn (y/n): \033[1;93m";
  595. $stop = trim(fgets(STDIN));
  596. if ( $stop == "n" ){
  597. $dungtool = 999999;
  598. echo $cuongdz.$luc."Bạn Đã Chọn Dừng Tool Số Xu Của Bạn Là : ".$BWhite.$xu."\n";
  599. echo $cuongdz.$luc."Cảm Ơn Bạn Đã Sử Dụng Tool Của Cường Tool\n";
  600. exit;}
  601. else {
  602. echo $cuongdz.$luc."Bạn Muốn Chạy Thêm Bao Nhiệm Nhiệm Vụ Nữa : $BWhite";
  603. $chaythem = trim (fgets(STDIN));
  604. $dungtool = $dungtool + $chaythem;}
  605. echo $cuongdz.$luc."Bạn Muốn Chạy Cookie Mới Không(y/n) : $BWhite";
  606. $themtk = trim (fgets(STDIN));
  607. if ( $themtk == "y" ){
  608. $spam = 1;
  609. $themtk = 1;
  610. $khocookie=[];
  611. break;
  612. } else { continue; }
  613. }
  614. if($dem % $doinick == 0){
  615. $spam = 1; break;
  616. }
  617. if($dem % $xxxxx == 0){
  618. delay2($delaybl);
  619. }
  620.  
  621. $delay = rand($thoigianmin, $thoigianmax);
  622. delay($delay);
  623. }
  624. }
  625. }
  626. //likecmt
  627. if ($listlikecmt !== NULL) {
  628. $idlikecmt = $listlikecmt[$lap]["id"];
  629. $type = $listlikecmt[$lap]["type"];
  630. if ($idlikecmt !== '') {
  631. if ($type == 'LIKE'){
  632. like($access_token, $idlikecmt, $cookie);
  633. }else{
  634. camxuc($idlikecmt, $type, $cookie);
  635. }
  636. $nhanpage = nhantien($type.'CMT', $idlikecmt, $tokenacc);
  637. if ($nhanpage["success"] == 200) {
  638. $xu = $nhanpage["data"]["xu"];
  639. $xujob = $nhanpage["data"]["msg"];
  640. $dem++;
  641. hoanthanh($dem, $type.' CMT', $idlikecmt, $xujob, $xu);
  642. if ( $dem >= $dungtool ){
  643. echo $thanhngang; echo $cuongdz.$luc."Đã làm xong \033[1;93m".$dem."\033[1;92m nhiệm vụ, Chạy tiếp không bạn (y/n): \033[1;93m";
  644. $stop = trim(fgets(STDIN));
  645. if ( $stop == "n" ){
  646. $dungtool = 999999;
  647. echo $cuongdz.$luc."Bạn Đã Chọn Dừng Tool Số Xu Của Bạn Là : ".$BWhite.$xu."\n";
  648. echo $cuongdz.$luc."Cảm Ơn Bạn Đã Sử Dụng Tool Của Cường Tool\n";
  649. exit;}
  650. else {
  651. echo $cuongdz.$luc."Bạn Muốn Chạy Thêm Bao Nhiệm Nhiệm Vụ Nữa : $BWhite";
  652. $chaythem = trim (fgets(STDIN));
  653. $dungtool = $dungtool + $chaythem;}
  654. echo $cuongdz.$luc."Bạn Muốn Chạy Cookie Mới Không(y/n) : $BWhite";
  655. $themtk = trim (fgets(STDIN));
  656. if ( $themtk == "y" ){
  657. $spam = 1;
  658. $themtk = 1;
  659. $khocookie=[];
  660. break;
  661. } else { continue; }
  662. }
  663. if($dem % $doinick == 0){
  664. $spam = 1; break;
  665. }
  666. if($dem % $xxxxx == 0){
  667. delay2($delaybl);
  668. }
  669.  
  670. $delay = rand($thoigianmin, $thoigianmax);
  671. delay($delay);
  672. }
  673. }
  674. }
  675.  
  676. }
  677. }}}
  678.  
  679. function api($url) {
  680. $head = array(
  681. "Host: traodoisub.com",
  682. "cache-control: max-age=0",
  683. "upgrade-insecure-requests: 1",
  684. "user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/E7FBAF",
  685. "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",
  686. "sec-fetch-site: none",
  687. "sec-fetch-mode: navigate",
  688. "sec-fetch-user: ?1",
  689. "sec-fetch-dest: document",
  690. //"accept-encoding: gzip, deflate, br",
  691. "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",
  692. );
  693. $ch = curl_init();
  694. curl_setopt_array($ch, array(
  695. CURLOPT_URL => $url,
  696. CURLOPT_CUSTOMREQUEST => "GET",
  697. CURLOPT_HTTPHEADER => $head,
  698. CURLOPT_SSL_VERIFYPEER => FALSE,
  699. CURLOPT_RETURNTRANSFER => 1
  700. ));
  701. $get = curl_exec($ch);
  702. curl_close($ch);
  703. return json_decode($get, true);
  704. }
  705.  
  706.  
  707.  
  708. function nhantien($type, $id, $tokenacc) {
  709. $nhan = file_get_contents("https://traodoisub.com/api/coin/?type=$type&id=$id&access_token=$tokenacc");
  710. return json_decode($nhan, true);
  711. }
  712.  
  713.  
  714. function follow($access_token, $idtest, $cookie) {
  715. $ch = curl_init();
  716. curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$idtest.'/subscribers');
  717. $head[] = "Connection: keep-alive";
  718. $head[] = "Keep-Alive: 300";
  719. $head[] = "authority: m.facebook.com";
  720. $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
  721. $head[] = "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";
  722. $head[] = "cache-control: max-age=0";
  723. $head[] = "upgrade-insecure-requests: 1";
  724. $head[] = "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";
  725. $head[] = "sec-fetch-site: none";
  726. $head[] = "sec-fetch-mode: navigate";
  727. $head[] = "sec-fetch-user: ?1";
  728. $head[] = "sec-fetch-dest: document";
  729. curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36');
  730. curl_setopt($ch, CURLOPT_ENCODING, '');
  731. curl_setopt($ch, CURLOPT_COOKIE, $cookie);
  732. curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
  733. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  734. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  735. curl_setopt($ch, CURLOPT_TIMEOUT, 60);
  736. curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
  737. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
  738. curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
  739. $data = array('access_token' => $access_token);
  740. curl_setopt($ch, CURLOPT_POST, count($data));
  741. curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  742. $access = curl_exec($ch);
  743. curl_close($ch);
  744. return json_decode($access);
  745. }
  746. function share($access_token,$id) {
  747. $ch=curl_init();
  748. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  749. curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/v2.0/me/feed');
  750. curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36');
  751. $data = array(
  752. 'privacy' => '{"value":"EVERYONE"}',
  753. 'message' => '',
  754. 'link' => 'https://mbasic.facebook.com/'.$id.'',
  755. 'access_token' => $access_token
  756. );
  757. curl_setopt($ch, CURLOPT_POST,count($data));
  758. curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
  759. $a = json_decode(curl_exec($ch), true);
  760. curl_close($ch);
  761. return $a;
  762. }
  763. function like($access_token, $id, $cookie) {
  764. $ch = curl_init();
  765. curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$id.'/likes');
  766. $head[] = "Connection: keep-alive";
  767. $head[] = "Keep-Alive: 300";
  768. $head[] = "authority: m.facebook.com";
  769. $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
  770. $head[] = "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";
  771. $head[] = "cache-control: max-age=0";
  772. $head[] = "upgrade-insecure-requests: 1";
  773. $head[] = "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";
  774. $head[] = "sec-fetch-site: none";
  775. $head[] = "sec-fetch-mode: navigate";
  776. $head[] = "sec-fetch-user: ?1";
  777. $head[] = "sec-fetch-dest: document";
  778. curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36');
  779. curl_setopt($ch, CURLOPT_ENCODING, '');
  780. curl_setopt($ch, CURLOPT_COOKIE, $cookie);
  781. curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
  782. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  783. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  784. curl_setopt($ch, CURLOPT_TIMEOUT, 60);
  785. curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
  786. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
  787. curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
  788. $data = array('access_token' => $access_token);
  789. curl_setopt($ch, CURLOPT_POST, count($data));
  790. curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  791. $access = curl_exec($ch);
  792. curl_close($ch);
  793. return json_decode($access);
  794.  
  795. }
  796. function cmt($access_token, $idcmt, $cookie, $msg) {
  797. $ch = curl_init();
  798. curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$idcmt.'/comments');
  799. $head[] = "Connection: keep-alive";
  800. $head[] = "Keep-Alive: 300";
  801. $head[] = "authority: m.facebook.com";
  802. $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
  803. $head[] = "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";
  804. $head[] = "cache-control: max-age=0";
  805. $head[] = "upgrade-insecure-requests: 1";
  806. $head[] = "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";
  807. $head[] = "sec-fetch-site: none";
  808. $head[] = "sec-fetch-mode: navigate";
  809. $head[] = "sec-fetch-user: ?1";
  810. $head[] = "sec-fetch-dest: document";
  811. curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36');
  812. curl_setopt($ch, CURLOPT_ENCODING, '');
  813. curl_setopt($ch, CURLOPT_COOKIE, $cookie);
  814. curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
  815. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  816. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  817. curl_setopt($ch, CURLOPT_TIMEOUT, 60);
  818. curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
  819. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
  820. curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
  821. $data = array('message' => $msg, 'access_token' => $access_token);
  822. curl_setopt($ch, CURLOPT_POST, count($data));
  823. curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  824. $access = curl_exec($ch);
  825. curl_close($ch);
  826. return json_decode($access);
  827. }
  828. function page($idpage, $cookie) {
  829. $ch = curl_init();
  830. curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/'.$idpage);
  831. $head[] = "Connection: keep-alive";
  832. $head[] = "Keep-Alive: 300";
  833. $head[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
  834. $head[] = "Accept-Language: en-us,en;q=0.5";
  835. curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36');
  836. curl_setopt($ch, CURLOPT_ENCODING, '');
  837. curl_setopt($ch, CURLOPT_COOKIE, $cookie);
  838. curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
  839. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  840. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
  841. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  842. curl_setopt($ch, CURLOPT_TIMEOUT, 60);
  843. curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
  844. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
  845. curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect
  846. :'));
  847. $page = curl_exec($ch);
  848. if (explode('&amp;refid=', explode('pageSuggestionsOnLiking=1&amp;gfid=', $page)[1])[0]) {
  849. $get = explode('&amp;refid=', explode('pageSuggestionsOnLiking=1&amp;gfid=', $page)[1])[0];
  850. $link = 'https://mbasic.facebook.com/a/profile.php?fan&id='.$idpage.'&origin=page_profile&pageSuggestionsOnLiking=1&gfid='.$get.'&refid=17';
  851. curl_setopt($ch, CURLOPT_URL, $link);
  852. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  853. curl_exec($ch);
  854. }
  855. curl_close($ch);
  856.  
  857. }
  858. function camxuc($idcx, $type, $cookie) {
  859. $ch = curl_init();
  860. curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com/reactions/picker/?is_permalink=1&ft_id='.$idcx);
  861. $head[] = "Connection: keep-alive";
  862. $head[] = "Keep-Alive: 300";
  863. $head[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
  864. $head[] = "Accept-Language: en-us,en;q=0.5";
  865. curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36');
  866. curl_setopt($ch, CURLOPT_ENCODING, '');
  867. curl_setopt($ch, CURLOPT_COOKIE, $cookie);
  868. curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
  869. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  870. curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
  871. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  872. curl_setopt($ch, CURLOPT_TIMEOUT, 60);
  873. curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
  874. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
  875. curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect
  876. :'));
  877. $cx = curl_exec($ch);
  878. $haha = explode('<a href="', $cx);
  879. if ($type == 'LOVE') {
  880. $haha2 = explode('" style="display:block"', $haha[2])[0];
  881. } else if ($type == 'WOW') {
  882. $haha2 = explode('" style="display:block"', $haha[5])[0];
  883. } else if ($type == 'HAHA') {
  884. $haha2 = explode('" style="display:block"', $haha[4])[0];
  885. } else if ($type == 'SAD') {
  886. $haha2 = explode('" style="display:block"', $haha[6])[0];
  887. } else {
  888. $haha2 = explode('" style="display:block"', $haha[7])[0];
  889. }
  890. $link2 = html_entity_decode($haha2);
  891. curl_setopt($ch, CURLOPT_URL, 'https://mbasic.facebook.com'.$link2);
  892. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  893. curl_exec($ch);
  894. curl_close($ch);
  895. }
  896. function hoanthanh($dem, $type, $id, $xujob, $xu) {
  897. $maua = rand(31, 37);
  898. $maub = "\033[1;".$maua."m";
  899. $mauc = rand(31, 37);
  900. $maud = "\033[1;".$mauc."m";
  901. $maue = rand(31, 37);
  902. $mauf = "\033[1;".$maue."m";
  903. $maug = rand(31, 37);
  904. $mauh = "\033[1;".$maug."m";
  905. $mauj = rand(31, 37);
  906. $mauk = "\033[1;".$mauj."m";
  907. $maul = rand(31, 37);
  908. $maum = "\033[1;".$maul."m";
  909. $maun = rand(31, 37);
  910. $mauv = "\033[1;".$maun."m";
  911. $maun = rand(31, 37);
  912. $maut = "\033[1;".$maun."m";
  913. $maul = rand(90, 97);
  914. $maui = "\033[1;".$maul."m";
  915. $a = "".$maud."『".$maub."".$dem."".$mauf."』 \033[1;91m| ".$maut."".date("H")."".$trang.":".$mauk."".date("i")."".$trang.":".$maum."".date("s")."\033[1;91m |\033[1;96m $maui$type\033[1;91m | \033[1;90m\033[47mID Đã Được Ẩn\033[0;330m\033[1;91m | ".$mauv."".$xujob."\033[1;91m | \033[0m\e[0m\n";
  916. $len = strlen($a);
  917. for ($x = 0; $x < $len; $x++) {
  918. echo $a[$x];
  919. usleep(1000);
  920. $xuong = "\033[1;93m===============================================================\n Số Xu Hiện Tại Của Bạn Là: \033[1;92m$xu\n\033[1;93m===============================================================\n";
  921. }
  922. if ($dem % 10 == 0) {echo $xuong;}
  923. }
  924.  
  925. function delay($delay) {
  926. for ($time = $delay; $time > -1; $time--) {
  927. echo "\r\033[1;93m ⚡DANH⚡ \033[1;91m |\033[1;93m $time\033[1;91m | ";
  928. usleep(150000);
  929.  
  930. echo "\r\033[1;91m ⚡DANH⚡ \033[1;91m |\033[1;93m $time\033[1;91m | ";
  931. usleep(150000);
  932. echo "\r\033[1;92m ⚡DANH⚡ \033[1;91m |\033[1;93m $time\033[1;91m | ";
  933. usleep(150000);
  934. echo "\r\033[1;94m ⚡DANH⚡ \033[1;91m |\033[1;93m $time\033[1;91m | ";
  935. usleep(150000);
  936. echo "\r\033[1;95m ⚡DANH⚡ \033[1;91m |\033[1;93m $time\033[1;91m | ";
  937. usleep(150000);
  938. echo "\r\033[1;95m ⚡DANH⚡ \033[1;91m |\033[1;93m $time\033[1;91m | ";
  939. usleep(150000);
  940. echo "\r\033[1;95m ⚡DANH⚡ \033[1;91m |\033[1;93m $time\033[1;91m | ";
  941. usleep(100000);
  942. echo "\r \r";
  943. }}
  944. function delay2($delaybl){
  945. $green="\e[1;32m";
  946. $yellow="\e[1;33m";
  947. for($j = $delaybl;$j> 0;$j--){
  948. echo "\r";
  949. echo " \r";
  950. echo $green." 🤪 Nghỉ tránh block, sẽ chạy lại sau$yellow $j Giây";
  951. sleep(1);
  952.  
  953. }
  954. echo "\r";
  955. echo " \r";
  956. }
  957. function laytoken($cookie, $useragent) {
  958. $head= array("Connection: keep-alive","Keep-Alive: 300","authority: business.facebook.com","ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7","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","cache-control: max-age=0","upgrade-insecure-requests: 1","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","sec-fetch-site: none","sec-fetch-mode: navigate","sec-fetch-user: ?1","sec-fetch-dest: document");
  959. $ch=curl_init();
  960. curl_setopt_array($ch , array(
  961. CURLOPT_URL => "https://business.facebook.com/business_locations",
  962. CURLOPT_USERAGENT => $useragent,
  963. CURLOPT_COOKIE => $cookie,
  964. CURLOPT_HTTPHEADER => $head,
  965. CURLOPT_RETURNTRANSFER => 1,
  966. CURLOPT_SSL_VERIFYPEER => FALSE,
  967. CURLOPT_TIMEOUT => 60,
  968. CURLOPT_CONNECTTIMEOUT => 60,
  969. CURLOPT_FOLLOWLOCATION => TRUE
  970. ));
  971. $access = curl_exec($ch);
  972. curl_close($ch);
  973. $access_token = 'EAAG'.explode('","', explode('EAAG', $access)[1])[0];
  974. if(strlen($access_token) > 5){
  975. return $access_token;
  976. } else {
  977. return 'die';
  978. }
  979. }
  980. function joingr($id,$cookie){
  981. $ch = curl_init();
  982. $head_fb=array(
  983. "Host:mbasic.facebook.com",
  984. "cache-control:max-age=0",
  985. "upgrade-insecure-requests:1",
  986. "save-data:on",
  987. "user-agent:Mozilla/5.0 (Linux; Android 10; RMX1929) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Mobile Safari/537.36",
  988. "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",
  989. "sec-fetch-site:cross-site",
  990. "sec-fetch-mode:navigate",
  991. "sec-fetch-user:?1",
  992. "sec-fetch-dest:document",
  993. "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",
  994. "cookie:".$cookie);
  995. curl_setopt_array ($ch, array (
  996. CURLOPT_URL => "https://mbasic.facebook.com/groups/$id?_rdr",
  997. CURLOPT_FOLLOWLOCATION => false,
  998. CURLOPT_RETURNTRANSFER => 1,
  999. CURLOPT_POST => 1,
  1000. CURLOPT_HTTPGET => true,
  1001. CURLOPT_SSL_VERIFYPEER => 0,
  1002. CURLOPT_HTTPHEADER => $head_fb,
  1003. CURLOPT_HEADER => true,
  1004. CURLOPT_ENCODING => TRUE));
  1005. $data = curl_exec($ch);
  1006. // var_dump($data);
  1007. if (strpos($data,"xs=deleted") == true){
  1008. echo ( $red."Cookie die rồi\n");
  1009. }
  1010. $tìm =explode("/a/group/join/?",$data);
  1011. $tìm1=explode('"',$tìm[1]);
  1012. $fb=explode('name="fb_dtsg" value="',$data);
  1013. $fb=explode('"',$fb[1]);
  1014. $fbdtsg=htmlspecialchars_decode($fb[0]);
  1015. $jaz=explode('name="jazoest" value="',$data);
  1016. $jaz=explode('"',$jaz[1]);
  1017. $url="https://mbasic.facebook.com/a/group/join/?".htmlspecialchars_decode($tìm1[0]);
  1018. $data="fb_dtsg=$fbdtsg&jazoest=".$jaz[0];
  1019. curl_setopt_array ($ch, array (
  1020. CURLOPT_URL => $url,
  1021. CURLOPT_RETURNTRANSFER => 1,
  1022. CURLOPT_CUSTOMREQUEST => "POST",
  1023. CURLOPT_POSTFIELDS => $data,
  1024. CURLOPT_SSL_VERIFYPEER => 0,
  1025. CURLOPT_HTTPHEADER => $head_fb));
  1026. $xxx = curl_exec($ch);
  1027. }
Add Comment
Please, Sign In to add comment