· 4 years ago · Jul 21, 2021, 05:02 PM
1error_reporting(0);
2$ktfile = file_exists("TDS.txt");
3if ($ktfile == 1){
4 unlink('TDS.txt');
5}
6$ress = "\033[0;32m";
7$res = "\033[0;33m";
8$red = "\033[0;31m";
9$green = "\033[0;37m";
10$yellow = "\033[0;33m";
11$white = "\033[0;33m";
12$xnhac = "\033[1;96m";
13$den = "\033[1;90m";
14$do = "\033[1;91m";
15$luc = "\033[1;92m";
16$vang = "\033[1;93m";
17$xduong = "\033[1;94m";
18$hong = "\033[1;95m";
19$trang = "\033[1;97m";
20$do="\033[1;91m";
21$maufulldo= "\e[1;47;31m";
22$res="\033[0m";
23$red="\e[1;31m";
24$pink="\e[1;35m";
25$green="\e[1;32m";
26$yellow="\e[1;33m";
27$y2="\033[0;33m";
28$white= "\033[0;37m";
29$cyan= "\e[1;36m";
30$blue="\e[1;34m";
31$ngreen="\033[42m";
32$ngblack="\033[40m";
33$nen="\033[1;47;1;34m";
34date_default_timezone_set("Asia/Ho_Chi_Minh");
35$key = [];
36$x = date("d");
37$y = date("m");
38$gt = 1.5;
39$key=($x+$y)*($x+$y)+3940*$x*$gt+$x*$y;
40$key=intval($key);
41//info
42$info = [];
43$info='TTT Original';
44//day
45$day = [];
46$day= date('d-m-y');
47//config
48$today = date("d-m-Y");
49$d = date("d-m");
50$_check = file_exists("keytk2$d.txt");
51@system('clear');
52banner();
53echo $white." $maufulldo Quảng Cáo $ngblack\n\n";
54echo $white." ➻❥ ".$green."Đăng Kí Tài Khoản Ngân Hàng MB Bank Nhận Ngay 30k\n";
55echo $white." ➻❥ ".$yellow."Mở Tài Khoản Ngân Hàng Dưới 18 Tuổi\n";
56echo $white." ➻❥ ".$green."Link Đăng Kí:$pink https://by.com.vn/reg-mb\n";
57for($v=0;$v<= 26;$v++){
58 echo "\033[1;37m▂";
59 echo "\033[1;36m▂";
60}
61echo "\033[1;37m▂";
62echo"\n\n";
63echo $white." ➻❥ ".$green."Đăng Kí Kênh YouTube Đi. Không Đăng Kí Dỗi Đấy\n";
64echo $white." ➻❥ ".$green."Link Tổng Hợp Tool:$pink http://tai.ezyro.com/\n";
65echo $white." ➻❥ ".$green."API Free:$yellow http://olalink.co/key-tk2\n";
66if ($_check !='1'){
67$gh = date("d-m", strtotime("yesterday"));
68$yt = "keytk2$gh.txt";
69$_check2 = file_exists("$yt");
70if($_check2==1){
71 unlink("$yt");
72}
73for($j = 3;$j> 0;$j--){
74 echo $white." ➻❥ ".$cyan."Chuyển Hướng Đến Trang Lấy Key Sau $green".$j;
75 sleep(1);
76 echo "\r";
77 echo " \r";
78}
79system("termux-open-url http://olalink.co/key-tk2");
80echo $white." ➻❥ ".$green."Nhập API Key $white";
81$keyy=trim(fgets(STDIN));
82}
83if ($_check =='1'){
84 $keyy = file_get_contents("keytk2$d.txt");
85 $vt = 1;
86 echo $white." ➻❥ ".$green."Đang Lấy Key...";
87 sleep(2);
88 echo "\r \r";
89}
90if($keyy == ''){
91 echo $white." ➻❥ ".$red."Key Không Hợp Lệ\n";
92 exit;
93}
94 if($keyy == $key)
95 {
96 echo $white." ➻❥ ".$green."Key Hợp Lệ\n";
97 $mf = fopen("keytk2$d.txt", "w");
98 fwrite($mf, $keyy);
99 fclose($mf);
100 }
101 else
102 {
103 echo $white." ➻❥ ".$red."Key Không Hợp Lệ\n";
104 exit;
105 }
106usleep(500000);
107@system('clear');
108banner();
109echo $white." $maufulldo Quảng Cáo $ngblack\n\n";
110echo $white." ➻❥ ".$green."Đăng Kí Tài Khoản Ngân Hàng MB Bank Nhận Ngay 30k\n";
111echo $white." ➻❥ ".$yellow."Mở Tài Khoản Ngân Hàng Dưới 18 Tuổi\n";
112echo $white." ➻❥ ".$green."Link Đăng Kí:$pink https://by.com.vn/reg-mb\n";
113$dem = 0;
114//@system('clear');
115for($v=0;$v<= 26;$v++){
116 echo "\033[1;37m▂";
117 echo "\033[1;36m▂";
118}
119echo "\033[1;37m▂";
120echo"\n\n";
121echo $white." ➻❥ ".$green."Tài khoản: $yellow".$info."$green - Hạn Sử Dụng: $yellow ".$day."\n\n";
122for($v=0;$v<= 26;$v++){
123 echo "\033[1;37m▂";
124 echo "\033[1;36m▂";
125}
126echo "\033[1;37m▂";
127echo"\n\n";
128$_SESSION['check'] = file_exists("log.txt");
129if ($_SESSION['check'] =='1'){
130echo $white." ➻❥ ".$green."Bạn Đã Đăng Nhập$cyan Trao Đổi Sub$green Trước Đó. Bấm$yellow Enter$green Để Tiếp Tục, Bấm $red No $green Để Đăng Nhập Tài Khoản Mới: ";
131$_SESSION['nhap'] = trim(fgets(STDIN));
132if ($_SESSION['nhap'] !='no' and $_SESSION['nhap'] != 'No' and $_SESSION['nhap'] !=''){
133echo $white." ➻❥ ".$red."Sai Định Dạng\n";
134exit;
135}
136if ($_SESSION['nhap'] =='no' or $_SESSION['nhap'] =='No'){
137$my = fopen("log.txt", "w+");
138echo $white." ➻❥ ".$green."Nhập Access Token TDS: ";
139$tokenacc =trim(fgets(STDIN));
140$arr = array("tokenacc"=> $tokenacc);
141fwrite($my,json_encode($arr));
142 $my = file("log.txt");
143$bb = file_get_contents('log.txt');
144$cc =json_decode($bb);
145}
146if ($_SESSION['nhap'] == ''){
147$bb = file_get_contents("log.txt");
148$cc =json_decode($bb);
149$tokenacc = $cc->{"tokenacc"};
150
151}
152} else {
153$my = fopen("log.txt","w+");
154echo $white." ➻❥ ".$green."Nhập Access Token TDS: ";
155$tokenacc =trim(fgets(STDIN));
156$arr = array("tokenacc"=> $tokenacc);
157fwrite($my,json_encode($arr));
158}
159$m = login($tokenacc);
160$mm = json_decode($m);
161$sss = $mm->{"success"};
162if ($sss=='200'){
163 echo $white." ➻❥ ".$green."Đăng Nhập Thành Công\n";
164 // get xu
165 $user = $mm->{"data"}->{"user"};
166 $xuhientai = $mm->{"data"}->{"xu"};
167}else{
168 echo $white." ➻❥ ".$red."Sai Access Token Trao Đổi Sub\n";
169 exit;
170}
171usleep(100000);
172do {
173@system('clear');
174banner();
175echo $white." $maufulldo Quảng Cáo $ngblack\n\n";
176echo $white." ➻❥ ".$green."Đăng Kí Tài Khoản Ngân Hàng MB Bank Nhận Ngay 30k\n";
177echo $white." ➻❥ ".$yellow."Mở Tài Khoản Ngân Hàng Dưới 18 Tuổi\n";
178echo $white." ➻❥ ".$green."Link Đăng Kí:$pink https://by.com.vn/reg-mb\n";
179for($v=0;$v<= 26;$v++){
180 echo "\033[1;37m▂";
181 echo "\033[1;36m▂";
182}
183echo "\033[1;37m▂";
184echo"\n\n";
185//cookie
186$khocookie = [];
187echo $white." ➻❥ ".$green."Link Lấy Token: https://m.facebook.com/composer/ocelot/async_loader/?publisher=feed\n";
188echo $white." ➻❥ ".$green."Nhập Token Facebook.$yellow Dừng Thì Bấm Xuống Hàng Nha\n";
189for($a = 1; $a < 999999;$a++){
190echo $white." ➻❥ ".$green."Nhập Token Thứ $a: $vang";
191$nhapck = (string)trim(fgets(STDIN));
192if($nhapck == ''){break;}
193
194array_push($khocookie,$nhapck);
195}
196
197$demcki=count($khocookie);
198
199echo $white." ➻❥ ".$green."Bạn Đã Nhập ".$vang.$demcki." ".$luc."Token Facebook\n";
200usleep(300000);
201} while (count($khocookie)==0);
202//url
203$urlinfo = "https://traodoisub.com/api/?fields=profile&access_token=$tokenacc";
204$urllike = "https://traodoisub.com/api/?fields=like&access_token=$tokenacc";
205$urlsub = "https://traodoisub.com/api/?fields=follow&access_token=$tokenacc";
206$urlshare = "https://traodoisub.com/api/?fields=share&access_token=$tokenacc";
207$urlcmt = "https://traodoisub.com/api/?fields=comment&access_token=$tokenacc";
208
209//$thongtin
210
211system('clear');
212banner();
213echo $white." $maufulldo Quảng Cáo $ngblack\n\n";
214echo $white." ➻❥ ".$green."Đăng Kí Tài Khoản Ngân Hàng MB Bank Nhận Ngay 30k\n";
215echo $white." ➻❥ ".$yellow."Mở Tài Khoản Ngân Hàng Dưới 18 Tuổi\n";
216echo $white." ➻❥ ".$green."Link Đăng Kí:$pink https://by.com.vn/reg-mb\n";
217for($v=0;$v<= 26;$v++){
218 echo "\033[1;37m▂";
219 echo "\033[1;36m▂";
220}
221echo "\033[1;37m▂";
222echo"\n\n";
223echo $white." ➻❥ ".$green."Nhập ".$do."[".$vang."1".$do."]".$luc." Để Chọn Nhiệm Vụ Like\n";
224echo $white." ➻❥ ".$green."Nhập ".$do."[".$vang."2".$do."]".$luc." Để Chọn Nhiệm Vụ Follow\n";
225
226echo $white." ➻❥ ".$green."Nhập ".$do."[".$vang."3".$do."]".$luc." Để Chọn Nhiệm Vụ Comment\n";
227
228echo $white." ➻❥ ".$green."Nhập ".$do."[".$vang."4".$do."]".$luc." Để Chọn Nhiệm Vụ Share\n";
229
230echo $white." ➻❥ ".$green."Muốn Chọn Random Thì Ghép Số Lại (Ví Dụ 1+2)\n";
231echo $white." ➻❥ ".$green."Vui Lòng Chọn Nhiệm Vụ: $vang";
232$nhiemvu = trim(fgets(STDIN));
233echo $white." ➻❥ ".$green."Nhập Thời Gian Min: $vang";
234$thoigianmin = trim(fgets(STDIN));
235echo $white." ➻❥ ".$green."Nhập Thời Gian Max: $vang";
236$thoigianmax = trim(fgets(STDIN));
237echo $white." ➻❥ ".$green."Sau Bao Nhiêu Nhiệm Vụ Thì Dừng Chống Block: $vang";
238$xxxxx = trim(fgets(STDIN));
239echo $white." ➻❥ ".$green."Sau ".$vang.$xxxxx.$luc." Nhiệm Vụ Nghỉ Ngơi Bao Nhiêu Giây: $vang";
240$delaybl = trim(fgets(STDIN));
241echo $white." ➻❥ ".$green."Chuyển Nick Sau Bao Nhiêu Nhiệm Vụ: $vang";
242$doinick = trim(fgets(STDIN));
243echo $white." ➻❥ ".$green."Chạy Bao Nhiêu Nhiệm Vụ Rồi Dừng Tool: $vang";
244$dungtool = trim(fgets(STDIN));
245sleep(1);
246system('clear');
247banner();
248echo $white." $maufulldo Quảng Cáo $ngblack\n\n";
249echo $white." ➻❥ ".$green."Đăng Kí Tài Khoản Ngân Hàng MB Bank Nhận Ngay 30k\n";
250echo $white." ➻❥ ".$yellow."Mở Tài Khoản Ngân Hàng Dưới 18 Tuổi\n";
251echo $white." ➻❥ ".$green."Link Đăng Kí:$pink https://by.com.vn/reg-mb\n";
252for($v=0;$v<= 26;$v++){
253 echo "\033[1;37m▂";
254 echo "\033[1;36m▂";
255}
256echo "\033[1;37m▂";
257echo"\n\n";
258echo $white." ➻❥ ".$green."Tài Khoản: ".$vang.$user."\n";
259echo $white." ➻❥ ".$green."Xu Hiện Tại: ".$pink.$xuhientai."\n";
260for($v=0;$v<= 26;$v++){
261 echo "\033[1;37m▂";
262 echo "\033[1;36m▂";
263}
264echo "\033[1;37m▂";
265echo"\n\n";
266while(true){
267 if(count($khocookie) == 0){
268
269 echo $white." ➻❥ ".$green."Nhập Token Facebook.$yellow Dừng Thì Bấm Xuống Hàng Nha\n";
270for($a = 1; $a < 999999;$a++){
271echo $white." ➻❥ ".$green."Nhập Token Thứ $a: $vang";
272$nhapck = (string)trim(fgets(STDIN));
273if($nhapck == ''){break;}
274array_push($khocookie,$nhapck);
275 }
276$demcki=count($khocookie);
277echo $white." ➻❥ ".$green."Bạn Đã Nhập ".$vang.$demcki." ".$luc."Token Facebook\n";
278 }
279 $themtk = 0;
280 for($xz=0;$xz<count($khocookie);$xz++){
281 if ( $themck == 1){ break; }
282 $access_token = $khocookie[$xz];
283
284if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
285 echo "\r";
286 echo " \r";
287 echo $white." ➻❥ ".$red."Token Die\n";
288 array_splice($khocookie,$xz,1);
289 continue;
290}
291$tenfb = json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))-> {'name'};
292$idfb = json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))-> {'id'};
293$urlcauhinh = "https://traodoisub.com/api/?fields=run&id=$idfb&access_token=$tokenacc";
294$cauhinh = api($urlcauhinh);
295if ($cauhinh["data"]["msg"] == "Cấu hình thành công!") {
296 echo $white." ➻❥ ".$green."Đang Cấu Hình $vang".$tenfb."".$res."\n";
297
298} else {
299 echo $white." ➻❥ ".$red."Cấu Hình Thất Bại Có Thể Do Bạn Chưa Thêm $tenfb Vào Cấu Hình\n";
300 exit;
301}
302$spam = 0;
303while (true) {
304 if ($spam == 1) {
305 break;
306 }
307 //listlike
308 if (strpos($nhiemvu, '1') !== false) {
309 $listlike = api($urllike);
310 if (count($listlike) == 0) {
311 echo $white." ➻❥ ".$green."Hết Nhiệm Vụ Like\r";
312 }
313 }
314 //listfollow
315 if (strpos($nhiemvu, '2') !== false) {
316 $listsub = api($urlsub);
317 if (count($listsub) == 0) {
318 echo $white." ➻❥ ".$green."Hết Nhiệm Vụ Follow\r";
319 }
320 }
321
322 //listcmt
323 if (strpos($nhiemvu, '3') !== false) {
324 $listcmt = api($urlcmt);
325 if (count($listcmt) == 0) {
326 echo $white." ➻❥ ".$green."Hết Nhiệm Vụ Comment\r";
327 }
328 }
329 //share
330 if (strpos($nhiemvu, '4') !== false) {
331 $listshare = api($urlshare);
332 if (count($listshare) == 0) {
333 echo $white." ➻❥ ".$green."Hết Nhiệm Vụ Share\r";
334 }
335 }
336
337 for ($lap = 0; $lap < 20; $lap++) {
338 // like
339 if ($listlike != NULL) {
340 $idlike = $listlike[$lap]["id"];
341 if ($idlike != '') {
342
343 $g = like($access_token, $idlike, $cookie);
344 if ($g -> {'error'} -> {'code'} == 190) {
345 if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
346 echo "\r";
347 echo " \r";
348 echo $white." ➻❥ ".$red."Token Die\n";
349 array_splice($khocookie,$xz,1);
350 $spam = 1; break;
351 }
352 }
353 if ($g -> {'error'} -> {'code'} == 368) {
354echo $white." ➻❥ \033[1;91mĐợi 15s Check Xem Có Block Ảo Không";
355sleep(15);
356 $tai = like($access_token,'10103832396388711', $cookie);
357 if ($tai -> {'error'} -> {'code'} == 368) {
358 echo "\r";
359 echo " \r";
360 echo $white." ➻❥ \033[1;91m".$g-> {'error'}-> {'message'};
361 echo "\n";
362 array_splice($khocookie,$xz,1);
363 $spam = 1;
364 break;
365 }}
366 $nhanlike = nhantien('LIKE', $idlike, $tokenacc);
367 if ($nhanlike["success"] == 200) {
368 $xu = $nhanlike["data"]["xu"];
369 $xujob = $nhanlike["data"]["msg"];
370 $dem++;
371
372 hoanthanh($dem, ' LIKE ', $idlike, $xujob, $xu);
373 if ( $dem >= $dungtool ){
374 $dungtool = 999999;
375 echo $white." ➻❥ ".$green."Chạy Tool Hoàn Thành Tổng Xu: ".$vang.$xu."\n";
376 exit;
377 }
378 if($dem % $doinick == 0){
379 if (count($khocookie)>1){
380 $spam = 1; break;
381 }
382 }
383 if($dem % $xxxxx == 0){
384 delay2($delaybl);
385 }
386
387 $delay = rand($thoigianmin, $thoigianmax);
388 delay($delay);
389 }
390 }}
391 //follow
392 if ($listsub != NULL) {
393 $idsub = $listsub[$lap]["id"];
394 if ($idsub != '') {
395
396 $g = follow($access_token, $idsub, $cookie);
397 if ($g -> {'error'} -> {'code'} == 190) {
398 if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
399 echo "\r";
400 echo " \r";
401 echo $white." ➻❥ ".$red."Token Die\n";
402 array_splice($khocookie,$xz,1);
403 $spam = 1; break;
404 }
405 }
406 if ($g -> {'error'} -> {'code'} == 368) {
407echo $white." ➻❥ \033[1;91mĐợi 15s Check Xem Có Block Ảo Không";
408sleep(15);
409 $tai = follow($access_token,'4', $cookie);
410 if ($tai -> {'error'} -> {'code'} == 368) {
411 echo "\r";
412 echo " \r";
413 echo $white." ➻❥ \033[1;91m".$g-> {'error'}-> {'message'};
414 echo "\n";
415 array_splice($khocookie,$xz,1);
416 $spam = 1;
417 break;
418 }}
419
420 $nhansub = nhantien('FOLLOW', $idsub, $tokenacc);
421 if ($nhansub["success"] == 200) {
422 $xu = $nhansub["data"]["xu"];
423 $xujob = $nhansub["data"]["msg"];
424 $dem++;
425 hoanthanh($dem, 'FOLLOW', $idsub, $xujob, $xu);
426 if ( $dem >= $dungtool ){
427
428 $dungtool = 999999;
429 echo $white." ➻❥ ".$green."Chạy Tool Hoàn Thành Tổng Xu: ".$vang.$xu."\n";
430 exit;
431 }
432 if($dem % $doinick == 0){
433 if (count($khocookie)>1){
434 $spam = 1; break;
435 }
436 }
437 if($dem % $xxxxx == 0){
438 delay2($delaybl);
439 }
440
441 $delay = rand($thoigianmin, $thoigianmax);
442 delay($delay);
443 }
444 }}
445
446 //share
447 if ($listshare != NULL) {
448 $id = $listshare[$lap]["id"];
449 if ($id != '') {
450
451 $g = share($access_token, $id);
452 if ($g -> {'error'} -> {'code'} == 190) {
453 if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
454 echo "\r";
455 echo " \r";
456 echo $white." ➻❥ ".$red."Token Die\n";
457 array_splice($khocookie,$xz,1);
458 $spam = 1; break;
459 }
460 }
461 if ($g -> {'error'} -> {'code'} == 368) {
462echo $white." ➻❥ \033[1;91mĐợi 15s Check Xem Có Block Ảo Không";
463sleep(15);
464 $tai = share($access_token,'10103832396388711');
465 if ($tai -> {'error'} -> {'code'} == 368) {
466 echo "\r";
467 echo " \r";
468 echo $white." ➻❥ \033[1;91m".$g-> {'error'}-> {'message'};
469 echo "\n";
470 array_splice($khocookie,$xz,1);
471 $spam = 1;
472 break;
473 }}
474
475 $nhanshare = nhantien('SHARE', $id, $tokenacc);
476 if ($nhanshare["success"] == 200) {
477 $xu = $nhanshare["data"]["xu"];
478 $xujob = $nhanshare["data"]["msg"];
479 $dem++;
480 hoanthanh($dem, 'SHARE', $id, $xujob, $xu);
481 if ( $dem >= $dungtool ){
482 $dungtool = 999999;
483 echo $white." ➻❥ ".$green."Chạy Tool Hoàn Thành Tổng Xu: ".$vang.$xu."\n";
484 exit;
485 }
486 if($dem % $doinick == 0){
487 if (count($khocookie)>1){
488 $spam = 1; break;
489 }
490 }
491 if($dem % $xxxxx == 0){
492 delay2($delaybl);
493 }
494 $delay = rand($thoigianmin, $thoigianmax);
495 delay($delay);
496 }
497 }}
498 //cmt
499 if ($listcmt != NULL) {
500 $idcmt = $listcmt[$lap]["id"];
501 $msg = $listcmt[$lap]["msg"];
502 if ($idcmt != '') {
503
504 $g = cmt($access_token, $idcmt, $cookie, $msg);
505 if ($g -> {'error'} -> {'code'} == 190) {
506 if(json_decode(file_get_contents('https://graph.facebook.com/me/?access_token='.$access_token))->{'id'}){}else{
507 echo "\r";
508 echo " \r";
509 echo $white." ➻❥ ".$red."Token Die\n";
510 array_splice($khocookie,$xz,1);
511 $spam = 1; break;
512 }
513 }
514 if ($g -> {'error'} -> {'code'} == 368) {
515echo $white." ➻❥ \033[1;91mĐợi 15s Check Xem Có Block Ảo Không";
516sleep(15);
517 $tai = cmt($access_token,'10103832396388711', $cookie,'ttt original');
518 if ($tai -> {'error'} -> {'code'} == 368) {
519 echo "\r";
520 echo " \r";
521 echo $white." ➻❥ \033[1;91m".$g-> {'error'}-> {'message'};
522 echo "\n";
523 array_splice($khocookie,$xz,1);
524 $spam = 1;
525 break;
526 }}
527
528 $nhancmt = nhantien('COMMENT', $idcmt, $tokenacc);
529 if ($nhancmt["success"] == 200) {
530 $xu = $nhancmt["data"]["xu"];
531 $xujob = $nhancmt["data"]["msg"];
532 $dem++;
533 hoanthanh($dem, ' CMT ', $idcmt, $xujob, $xu);
534 if ( $dem >= $dungtool ){
535 $dungtool = 999999;
536 echo $white." ➻❥ ".$green."Chạy Tool Hoàn Thành Tổng Xu: ".$vang.$xu."\n";
537 exit;
538 }
539 if($dem % $doinick == 0){
540 if (count($khocookie)>1){
541 $spam = 1; break;
542 }
543 }
544 if($dem % $xxxxx == 0){
545 delay2($delaybl);
546 }
547
548 $delay = rand($thoigianmin, $thoigianmax);
549 delay($delay);
550 }
551 }}
552
553
554
555 }
556}}}
557function api($url) {
558 $head = array(
559 "Host: traodoisub.com",
560 "cache-control: max-age=0",
561 "upgrade-insecure-requests: 1",
562 "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",
563 "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",
564 "sec-fetch-site: none",
565 "sec-fetch-mode: navigate",
566 "sec-fetch-user: ?1",
567 "sec-fetch-dest: document",
568 //"accept-encoding: gzip, deflate, br",
569 "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",
570 );
571 $ch = curl_init();
572 curl_setopt_array($ch, array(
573 CURLOPT_URL => $url,
574 CURLOPT_CUSTOMREQUEST => "GET",
575 CURLOPT_HTTPHEADER => $head,
576 CURLOPT_SSL_VERIFYPEER => FALSE,
577 CURLOPT_RETURNTRANSFER => 1
578 ));
579 $get = curl_exec($ch);
580 curl_close($ch);
581 return json_decode($get, true);
582}
583function nhantien($type, $id, $tokenacc) {
584 $nhan = file_get_contents("https://traodoisub.com/api/coin/?type=$type&id=$id&access_token=$tokenacc");
585 return json_decode($nhan, true);
586}
587function follow($access_token,$id,$cookie){
588 $ch=curl_init();
589 curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$id.'/subscribers');
590 $head[] = "Connection: keep-alive";
591 $head[] = "Keep-Alive: 300";
592 $head[] = "authority: m.facebook.com";
593 $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
594 $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";
595 $head[] = "cache-control: max-age=0";
596 $head[] = "upgrade-insecure-requests: 1";
597 $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";
598 $head[] = "sec-fetch-site: none";
599 $head[] = "sec-fetch-mode: navigate";
600 $head[] = "sec-fetch-user: ?1";
601 $head[] = "sec-fetch-dest: document";
602 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');
603 curl_setopt($ch, CURLOPT_ENCODING, '');
604 curl_setopt($ch, CURLOPT_COOKIE, $cookie);
605 curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
606 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
607 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
608 curl_setopt($ch, CURLOPT_TIMEOUT, 60);
609 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
610 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
611 curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
612 $data = array('access_token' => $access_token);
613 curl_setopt($ch, CURLOPT_POST,count($data));
614 curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
615 $access = curl_exec($ch);
616 curl_close($ch);
617 return json_decode($access);
618}
619
620
621function share($access_token,$id) {
622 $ch=curl_init();
623curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
624curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/v2.0/me/feed');
625curl_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');
626$data = array(
627'privacy' => '{"value":"EVERYONE"}',
628'message' => '',
629'link' => 'https://mbasic.facebook.com/'.$id.'',
630'access_token' => $access_token
631);
632curl_setopt($ch, CURLOPT_POST,count($data));
633curl_setopt($ch, CURLOPT_POSTFIELDS,$data);
634$a = json_decode(curl_exec($ch), true);
635curl_close($ch);
636 return $a;
637}
638function like($access_token, $id, $cookie) {
639 $ch = curl_init();
640 curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$id.'/likes');
641 $head[] = "Connection: keep-alive";
642 $head[] = "Keep-Alive: 300";
643 $head[] = "authority: m.facebook.com";
644 $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
645 $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";
646 $head[] = "cache-control: max-age=0";
647 $head[] = "upgrade-insecure-requests: 1";
648 $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";
649 $head[] = "sec-fetch-site: none";
650 $head[] = "sec-fetch-mode: navigate";
651 $head[] = "sec-fetch-user: ?1";
652 $head[] = "sec-fetch-dest: document";
653 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');
654 curl_setopt($ch, CURLOPT_ENCODING, '');
655 curl_setopt($ch, CURLOPT_COOKIE, $cookie);
656 curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
657 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
658 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
659 curl_setopt($ch, CURLOPT_TIMEOUT, 60);
660 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
661 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
662 curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
663 $data = array('access_token' => $access_token);
664 curl_setopt($ch, CURLOPT_POST, count($data));
665 curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
666 $access = curl_exec($ch);
667 curl_close($ch);
668 return json_decode($access);
669
670}
671function cmt($access_token, $idcmt, $cookie, $msg) {
672 $ch = curl_init();
673 curl_setopt($ch, CURLOPT_URL, 'https://graph.facebook.com/'.$idcmt.'/comments');
674 $head[] = "Connection: keep-alive";
675 $head[] = "Keep-Alive: 300";
676 $head[] = "authority: m.facebook.com";
677 $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
678 $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";
679 $head[] = "cache-control: max-age=0";
680 $head[] = "upgrade-insecure-requests: 1";
681 $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";
682 $head[] = "sec-fetch-site: none";
683 $head[] = "sec-fetch-mode: navigate";
684 $head[] = "sec-fetch-user: ?1";
685 $head[] = "sec-fetch-dest: document";
686 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');
687 curl_setopt($ch, CURLOPT_ENCODING, '');
688 curl_setopt($ch, CURLOPT_COOKIE, $cookie);
689 curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
690 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
691 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
692 curl_setopt($ch, CURLOPT_TIMEOUT, 60);
693 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
694 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
695 curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
696 $data = array('message' => $msg, 'access_token' => $access_token);
697 curl_setopt($ch, CURLOPT_POST, count($data));
698 curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
699 $access = curl_exec($ch);
700 curl_close($ch);
701 return json_decode($access);
702}
703function hoanthanh($dem, $type, $id, $xujob, $xu) {
704 echo "\r";
705 echo " \r";
706 $a = "\033[1;93m[\033[1;93m".$dem."\033[1;93m]\033[1;91m ● \033[1;96m".date("H:i")."\033[1;91m ●\033[1;93m $type\033[1;91m ● \033[1;97m".$id." \033[1;91m● \033[1;93m".$xu." xu\e[0m\n";
707 $len = strlen($a);
708 for ($x = 0; $x < $len; $x++) {
709 echo $a[$x];
710 usleep(6000);
711 }
712}
713function delay($delay) {
714 $time = $delay;
715 for ( $x = $time; $x--; $x ) {
716 echo " \r";
717 echo "\e[1;32m● Vui lòng chờ <~> TTT Original\e[1;37m〘\e[1;31m▉\e[1;32m■\e[1;33m■\e[1;34m■\e[1;35m■\e[1;37m〙".$x." \e[1;33mgiây";
718 usleep(185000);
719 echo "\r";
720 echo " \r";
721 echo "\e[1;36m● Vui lòng chờ <~> TTT Original\e[1;37m〘\e[1;33m■\e[1;34m▉\e[1;35m■\e[1;36m■\e[1;31m■\e[1;37m〙".$x."\e[1;34m giây";
722 usleep(185000);
723 echo "\r";
724 echo " \r";
725 echo "\e[1;34m● Vui lòng chờ <~> TTT Original\e[1;37m〘\e[1;34m■\e[1;35m■\e[1;36m▉\e[1;31m■\e[1;33m■\e[1;37m〙".$x."\e[1;31m giây";
726 usleep(185000);
727 echo "\r";
728 echo " \r";
729 echo "\e[1;33m● Vui lòng chờ <~> TTT Original\e[1;37m〘\e[1;35m■\e[1;36m■\e[1;31m■\e[1;33m▉\e[1;34m■\e[1;37m〙".$x."\e[1;32m giây";
730 usleep(185000);
731 echo "\r";
732 echo " \r";
733 echo "\e[1;31m● Vui lòng chờ <~> TTT Original\e[1;37m〘\e[1;33m■\e[1;32m■\e[1;31m■\e[1;35m■\e[1;36m▉\e[1;37m〙".$x."\e[1;36m giây";
734 usleep(185000);
735 echo "\r";
736
737}}
738function laytoken($cookie) {
739 $ch = curl_init();
740 curl_setopt($ch, CURLOPT_URL, 'https://m.facebook.com/composer/ocelot/async_loader/?publisher=feed');
741 $head[] = "Connection: keep-alive";
742 $head[] = "Keep-Alive: 300";
743 $head[] = "authority: m.facebook.com";
744 $head[] = "ccept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
745 $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";
746 $head[] = "cache-control: max-age=0";
747 $head[] = "upgrade-insecure-requests: 1";
748 $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";
749 $head[] = "sec-fetch-site: none";
750 $head[] = "sec-fetch-mode: navigate";
751 $head[] = "sec-fetch-user: ?1";
752 $head[] = "sec-fetch-dest: document";
753 curl_setopt($ch, CURLOPT_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');
754 curl_setopt($ch, CURLOPT_ENCODING, '');
755 curl_setopt($ch, CURLOPT_COOKIE, $cookie);
756 curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
757 curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
758 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
759 curl_setopt($ch, CURLOPT_TIMEOUT, 60);
760 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
761 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
762 curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:'));
763 $access = curl_exec($ch);
764 curl_close($ch);
765 if (explode('\",\"useLocalFilePreview', explode('accessToken\":\"', $access)[1])[0]) {
766 $access_token = explode('\",\"useLocalFilePreview', explode('accessToken\":\"', $access)[1])[0];
767 }
768 return $access_token;
769}
770function login($tokentds){
771 $login = file_get_contents("https://traodoisub.com/api/?fields=profile&access_token=".$tokentds);
772 return $login;
773}
774function banner(){
775$t = "
776║ \033[1;92m____ __ __ \033[1;91mBản Quyền: Tài Handsome \e[1;33m║
777\e[1;33m║ \033[1;92m(_ _)/ _\ ( ) \033[1;96mYouTube: TTT Original ♪ \e[1;33m║
778\e[1;33m║ \033[1;92m)( / \ )( \033[1;97mWebsite: http://tai.ezyro.com/ \e[1;33m║
779\e[1;33m║ \033[1;92m(__)\_/\_/(__) \033[1;94mVersion:\033[1;97m Token V2 \e[1;33m║
780";
781echo "\e[1;33m╔═════════════════════════════════════════════════════╗\n";
782echo "║ ║";
783echo $t;
784echo "║ ║\n";
785echo "\e[1;33m╚═════════════════════════════════════════════════════╝\n";
786}
787function delay2($time){
788 $green="\e[1;32m";
789 $yellow="\e[1;33m";
790 for($j = $time;$j> 0;$j--){
791 echo "\r";
792 echo " \r";
793 echo $green."Đang Chờ Delay Tránh Block$yellow $j Giây";
794 sleep(1);
795
796 }
797 echo "\r";
798 echo " \r";
799}