Advertisement
Bacot21

Untitled

Oct 15th, 2018
578
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.34 KB | None | 0 0
  1. <?php
  2.  
  3. //include(readline("config: "));
  4. //link
  5. $link = "https://www.veeuapp.com/v1.0/incentive/tasks?access_token=".$access_token;
  6. $link2 = "https://www.veeuapp.com/v1.0/incentive/tasks?access_token=".$access_token;
  7. $link3 = "https://www.veeuapp.com/v1.0/incentive/tasks?access_token=".$access_token;
  8. //body
  9. $jbody = array(
  10. 'locale' => 'in_ID',
  11. 'task_extra_info' => '',
  12. 'task_name' => 'daily_checkin_01',
  13. 'timezone' => 'GMT+07:00');
  14. $milstone = array(
  15. 'latitude' => '-6.885519',
  16. 'locale' => 'in_ID',
  17. 'longitude' => '107.6228',
  18. 'task_extra_info' => '',
  19. 'task_name' => 'vip_reward_01',
  20. 'timezone' => 'GMT+07:00');
  21. $box = array(
  22. 'latitude' => '-6.885519',
  23. 'locale' => 'in_ID',
  24. 'longitude' => '107.6228',
  25. 'task_extra_info' => '',
  26. 'task_name' => 'treasure_box_01',
  27. 'timezone' => 'GMT+07:00');
  28. //json_encode
  29. $body = json_encode($jbody,true);
  30. $body2 = json_encode($milstone,true);
  31. $body3 = json_encode($box,true);
  32. //header
  33. $header = array();
  34. $header[] = "Content-Type: application/json";
  35. "charset=UTF-8";
  36. "Content-Length: 96";
  37. "Host: www.veeuapp.com";
  38. "Connection: Keep-Alive";
  39. "Accept-Encoding: gzip";
  40. "User-Agent: okhttp/3.10.0";
  41.  
  42. //absen
  43. while (true) :
  44. $curl = curl_init();
  45. curl_setopt_array($curl, array(
  46. CURLOPT_RETURNTRANSFER => 1,
  47. CURLOPT_URL => $link,
  48. CURLOPT_TIMEOUT => 30,
  49. CURLOPT_POST => true,
  50. CURLOPT_POSTFIELDS => $body,
  51. CURLOPT_HTTPHEADER => $header,
  52. CURLOPT_SSL_VERIFYPEER => 0,
  53. ));
  54. $resp = curl_exec($curl); curl_close($curl);
  55. $json = json_decode($resp,true);
  56. if($json['code'] == '4040') {
  57. echo "$red.[!] $putih absen harian: $red".$json['message']."\n";
  58. sleep(1);
  59. break;
  60. }
  61. else
  62. {
  63. print "$turkis.[>] $putih".$json['task']['task_type']." $turkis| reward_point: $putih".$json['task']['reward_point']."\n";
  64. }
  65. sleep(1);
  66. endwhile;
  67. //milstone
  68. while (true) :
  69. $curl = curl_init();
  70. curl_setopt_array($curl, array(
  71. CURLOPT_RETURNTRANSFER => 1,
  72. CURLOPT_URL => $link2,
  73. CURLOPT_TIMEOUT => 30,
  74. CURLOPT_POST => true,
  75. CURLOPT_POSTFIELDS => $body2,
  76. CURLOPT_HTTPHEADER => $header,
  77. CURLOPT_SSL_VERIFYPEER => 0,
  78. ));
  79. $result = curl_exec($curl); curl_close($curl);
  80. $js = json_decode($result,true);
  81. if($js['code'] == '4040') {
  82. echo "$red.[!] $putih milstone: $red".$js['message']."\n";
  83. sleep(1);
  84. break;
  85. }
  86. else
  87. {
  88. print "$turkis.[>] $putih".$js['task']['display_name']." $turkis| reward_point: $putih".$js['task']['reward_point']."\n";
  89. }
  90. sleep(1);
  91. endwhile;
  92. //box
  93. while (true) :
  94. $curl = curl_init();
  95. curl_setopt_array($curl, array(
  96. CURLOPT_RETURNTRANSFER => 1,
  97. CURLOPT_URL => $link3,
  98. CURLOPT_TIMEOUT => 30,
  99. CURLOPT_POST => true,
  100. CURLOPT_POSTFIELDS => $body3,
  101. CURLOPT_HTTPHEADER => $header,
  102. CURLOPT_SSL_VERIFYPEER => 0,
  103. ));
  104. $result_box = curl_exec($curl); curl_close($curl);
  105. $jbox = json_decode($result_box,true);
  106. if($jbox['code'] == '4040')
  107. {
  108. echo "$red.[!] $putih box: $red".$jbox['message']."\n";
  109. sleep(1);
  110. break;
  111. }
  112. else
  113. {
  114. echo "$turkis.[>] $putih".$jbox['task']['task_type']." $turkis| reward_point: $putih".$jbox['task']['reward_point']."\n";
  115. sleep(1);
  116. }
  117. endwhile;
  118. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement