Advertisement
dagtricksyt

Funtap v.1

Apr 9th, 2020
997
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.00 KB | None | 0 0
  1. @system("clear");
  2. echo "\n\n";
  3. echo "\033[1;34m______________________ \033[1;36m ____ \033[1;34m _______________________\n";
  4. echo "\033[1;34m\_____________________\x5c\033[1;36m| _ \x5c\033[1;34m/______________________/\n";
  5. echo "\033[1;34m \________________\033[1;36m| | | |\033[1;34m________________/ \n";
  6. echo "\033[1;34m \__________\033[1;36m| |_| |\033[1;34m__________/ \n";
  7. echo "\033[1;34m \____\033[1;36m|____/\033[1;34m_____/ \n";
  8. echo "=====================================================\n";
  9. echo "\033[1;32m Write Script \033[1;31m : \033[1;37m Mr.Đăng \033[1;31m(\033[1;32mDAG Tricks\033[1;31m)\n";
  10. echo " \033[1;32mYoutube Channel \033[1;31m: \033[1;37mDAG Tricks\n";
  11. echo " \033[1;34m- - - - - - - - - - - - - - - - - - - - - - - - - --\n";
  12. echo " \033[1;32mInbox Support \033[1;31m: \033[1;37mt.me/dagtricks \033[1;31m|| \033[1;37mt.me/termuxvietnam\n";
  13. echo " \033[1;34m- - - - - - - - - - - - - - - - - - - - - - - - - --\n";
  14. echo "\033[7m\033[1;34m Script / Tool : App Funtap V.1 ||\033[0m\n\n";
  15. $m = "\033[1;33m{\033[1;31m●\033[1;33m} ";
  16. $cb = "\033[1;33m{\033[1;31m!\033[1;33m} ";
  17. $done = "\033[1;33m[\033[1;31m✓\033[1;33m]";
  18.  
  19. if(file_exists("data.dagtricks.php")>=1){}else{echo "\033[1;31mError / You Edit My File, Not Work -_-' \n"; exit;}
  20.  
  21. include 'data.dagtricks.php';
  22.  
  23. echo "\033[1;36m Enter User Agent : ";
  24. $user = trim(fgets(STDIN));
  25. while(true){
  26.  
  27. $ch = curl_init();
  28.  
  29. $url1 = 'http://funtapgame.com:7070/api/device';
  30.  
  31. $check = '{"device_id": "'.$device.'"}';
  32.  
  33. $head2 = array (
  34. 'Content-Type: application/json; charset=utf-8',
  35. 'Host: funtapgame.com:7070',
  36. 'Connection: Keep-Alive',
  37. 'User-Agent: okhttp/4.2.1');
  38.  
  39. $url = 'http://funtapgame.com:7070/api/event/pass';
  40.  
  41. $data = 'device_id='.$device.'&game_id=9&data=%7b%22level_type%22%3a%22pass_level%22%2c%22score%22%3a0%2c%22level_index%22%3a10%2c%22is_boss%22%3afalse%7d';
  42.  
  43. $head = array (
  44. 'Expect: 100-continue',
  45. 'Content-Type: application/x-www-form-urlencoded',
  46. 'X-Unity-Version: 2018.4.8c3',
  47. 'Content-Length: 170',
  48. 'User-Agent: '.$user,
  49. 'Host: funtapgame.com:7070',
  50. 'Connection: Keep-Alive',
  51. 'Accept-Encoding: gzip');
  52.  
  53.  
  54. curl_setopt($ch, CURLOPT_URL, $url);
  55. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  56. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  57. curl_setopt($ch, CURLOPT_POST, 1);
  58. curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
  59. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  60. curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  61. curl_exec($ch);
  62.  
  63. curl_setopt($ch, CURLOPT_URL, $url1);
  64. curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  65. curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  66. curl_setopt($ch, CURLOPT_POST, 1);
  67. curl_setopt($ch, CURLOPT_HTTPHEADER, $head2);
  68. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
  69. curl_setopt($ch, CURLOPT_POSTFIELDS, $check);
  70. $r = curl_exec($ch);
  71.  
  72. $a = explode('"coin":',$r);
  73. $b = explode(',',$a[1]);
  74.  
  75. $coin = $b[0];
  76.  
  77. echo "$m \033[1;32mSuccess Earn Coin\033[1;31m || \033[1;32mTotal \033[1;31m: \033[1;33m$coin\n";
  78. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement