daily pastebin goal
36%
SHARE
TWEET

Untitled

a guest Jan 23rd, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ?>true,
  2.    CURLOPT_URL=> "https://api.ydnews.top/api/content/article",
  3.    CURLOPT_TIMEOUT=>30,
  4.    CURLOPT_POST=>true,
  5.    CURLOPT_POSTFIELDS=> "OSVersion=25&deviceCode=&imei=".$config["imei"][$x]."&isemu=2&lang=in-ID&market=qwkj&max_id=250089&page=".$page."&phoneBrand=Xiaomi&pushType=xiaomi&refresh=1&sign=".$config["sign"][$x]."&time=1543174222731&tk=&token=".$config["token"][$x]."&type=0&uuid=".$config["uuid"][$x]."&version=3&versionName=1.0.3&wifi=4G",
  6.    CURLOPT_HTTPHEADER=>["Accept-Language: in-ID,in;q=0.8","User-Agent: Mozilla/5.0 (Linux; U; Android 7.1.2; in-id; Redmi 4X Build/N2G47H) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30","Content-Type: application/x-www-form-urlencoded","Accept-Encoding: gzip"],
  7.    CURLOPT_SSL_VERIFYPEER=>0,));$result=curl_exec($curl);
  8. curl_close($curl);
  9. return$result;
  10. }
  11. function watch($id,$config,$x){
  12.   $curl=curl_init();
  13. curl_setopt_array($curl,array(
  14.   CURLOPT_RETURNTRANSFER=>true,
  15.   CURLOPT_URL=> "https://api.ydnews.top/api/reward/watch",
  16.   CURLOPT_TIMEOUT=>30,
  17.   CURLOPT_POST=>true,
  18.   CURLOPT_POSTFIELDS=> "OSVersion=25&content_id=".$id."&deviceCode=&imei=".$config["imei"][$x]."&isemu=2&lang=in-ID&market=qwkj&phoneBrand=Xiaomi&pushType=xiaomi&sign=".$config["sign"][$x]."&time=1543173011342&tk=&token=".$config["token"][$x]."&uuid=".$config["uuid"][$x]."&version=3&versionName=1.0.3&wifi=4G",CURLOPT_HTTPHEADER=>["Accept-Language: in-ID,in;q=0.8","User-Agent: Mozilla/5.0 (Linux; U; Android 7.1.2; in-id; Redmi 4X Build/N2G47H) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30","Content-Type: application/x-www-form-urlencoded","Accept-Encoding: gzip"],CURLOPT_SSL_VERIFYPEER=>0,));$result=curl_exec($curl);
  19. curl_close($curl);
  20. return$result;
  21. }
  22. function invite($config,$x){
  23.   $curl=curl_init();
  24. curl_setopt_array($curl,array(
  25.    CURLOPT_RETURNTRANSFER=>true,
  26.    CURLOPT_URL=> "https://api.ydnews.top/api/mission/inviteCode",
  27.    CURLOPT_TIMEOUT=>30,
  28.    CURLOPT_POST=>true,
  29.    CURLOPT_POSTFIELDS=> "invite_code=17281120583&OSVersion=25&content_id=".$id."&deviceCode=&imei=".$config["imei"][$x]."&isemu=2&lang=in-ID&market=qwkj&phoneBrand=Xiaomi&pushType=xiaomi&sign=".$config["sign"][$x]."&time=1543173011342&tk=&token=".$config["token"][$x]."&uuid=".$config["uuid"][$x]."&version=3&versionName=1.0.3&wifi=4G",
  30.    CURLOPT_HTTPHEADER=>["Accept-Language"=>"in-ID,in;q=0.8","User-Agent"=>"Mozilla/5.0 (Linux; U; Android 7.1.2; in-id; Redmi 4X Build/N2G47H) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30","Content-Type"=>"application/x-www-form-urlencoded","Accept-Encoding"=>"gzip"],
  31.    CURLOPT_SSL_VERIFYPEER=>0,));
  32. $result=curl_exec($curl);
  33. curl_close($curl);
  34. return$result;
  35. }
  36. echo$red." v.1.2 $kuning   __
  37. .--.--.--|  |.-----.-----.--.--.--.-----.
  38. |  |  |  _  ||     |  -__|  |  |  |__ --|
  39. |___  |_____||__|__|_____|________|_____|
  40. |____/ ";
  41. echo$putih."Creator$red:$putih Cocentz | Kode$red:$putih 17281118566".$r;
  42. error_reporting(0);
  43. require __DIR__."/user/user.php";
  44. echo$msgyd.$t;
  45. sleep(2);
  46. echo$msgads.$t;
  47. sleep(3);
  48. $akun=count($config["token"]);
  49. echo$putih."[".$ijo."-".$putih."] ".$ijo."Bot multi account".$putih." [".$ijo."-".$putih."]".$t;
  50. echo$kuning."[$red?$kuning]$putih Cek akun dulu ";
  51. sleep(2);
  52. if($akun>60){
  53. echo$kuning."[$red!$kuning] This bot can only be used with 60 accounts!!".$t;
  54. exit;
  55. }
  56. $bot=0;
  57. while($bot<$akun){
  58. $bot++;$misi=json_decode(invite($config,$x),true);
  59. if($misi["code"]=="0"){
  60. echo$red."•";
  61. }
  62. else{
  63. echo$ijo."•";
  64. }
  65. sleep(1);
  66. }
  67. echo$t.$putih."[".$turkis."?".$putih."] Total akun";sleep(2);echo$putih." [".$turkis.$akun.$putih."]".$r;
  68. sleep(2);
  69. echo$kuning."[$red?$kuning]$putih Sedang Login";sleep(1);echo ".";sleep(1); echo ".";sleep(1); echo ".".$t;
  70.  for($x=0;$x<$akun;$x++){
  71.   $ch=curl_init(); curl_setopt($ch,CURLOPT_URL,"https://api.ydnews.top/api/member/index"); curl_setopt($ch,CURLOPT_FOLLOWLOCATION,0);
  72. curl_setopt($ch,CURLOPT_COOKIEJAR,0);
  73. curl_setopt($ch,CURLOPT_COOKIEFILE,0);
  74. curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
  75. curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,0);
  76. curl_setopt($ch,CURLOPT_SSL_VERIFYHOST,0);
  77. curl_setopt($ch,CURLOPT_USERAGENT,0);
  78. curl_setopt($ch,CURLOPT_REFERER,0);
  79. curl_setopt($ch,CURLOPT_HTTPHEADER,array("Accept-Language: in-ID,in;q=0.8","User-Agent: Mozilla/5.0 (Linux; U; Android 7.0; in-id; Mi-4c Build/NRD90M) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30","Content-Type: application/x-www-form-urlencoded"));
  80. curl_setopt($ch,CURLOPT_POST,true);
  81. curl_setopt($ch,CURLOPT_POSTFIELDS,"OSVersion=24&deviceCode=&imei=".$config["imei"][$x]."&isemu=2&lang=in-ID&market=qwkj&phoneBrand=Xiaomi&pushType=xiaomi&sign=".$config["sign"][$x]."&time=1543025667487&tk=&token=".$config["token"][$x]."&uuid=".$config["uuid"][$x]."&version=3&versionName=1.0.3&wifi=1");
  82. $result=curl_exec($ch);$info=curl_getinfo($ch);
  83. curl_close($ch);$js=json_decode($result,true);$code=$js["code"];
  84. $msg=$js["message"];
  85. $user=$js["data"]["user_info"];$nik=$user["nickname"];$bal=$user["total_balance"];$coin=$user["coin"];
  86. if($nik==""){
  87. echo$kuning."[$red!$kuning] null$red masalah jaringan ".$t;
  88. echo$kuning."[".$red."!".$kuing."]$putih format$red salah".$t;
  89. @system("rm -rf user");
  90. exit;
  91. }
  92. if($code=="0"){
  93. $validasi=true;if($validasi){
  94. $error=true;
  95. foreach($ydnews as$user){
  96.   if($nik==$user OR$user=="premium"){
  97. echo$putih."[".$ijo."•".$putih."] Login ";sleep(2);echo$ijo.$msg." !!$putih | user$red : ".$turkis.$nik.$putih." coin$red : ".$turkis.$coin.$putih.$t;
  98. $error=false;
  99.  }
  100. }
  101. if($error){
  102. echo$kuning."[$red!$kuning] Login ";sleep(2);echo$ijo.$msg.$putih." | user$red : ".$red.$nik.$putih." coin$red : ".$kuning.$coin.$putih.$t;
  103. echo$kuning."[$red!$kuning] ".$kuning.$nik." Permission denied".$t;$err=true;
  104.  }
  105. }
  106. @system("rm -rf user");
  107. sleep(1);
  108. }
  109. else{
  110. echo$kuning."[$red!$kuning] ".$red."Faileds !!".$t;
  111. echo$kuning."[$red!$kuning] ".$red.$msg." !!".$t;
  112. @system("rm -rf user");
  113. exit;
  114. }
  115. sleep(1);
  116. }
  117.  if($err){
  118. exit;
  119. }
  120.   for($i=0;$i<1;$i++){
  121. $x=0;
  122. echo$putih."[$kuning>$putih]".$kuning." Proses mendownload Id ".$putih.$t;
  123. sleep(2);
  124. echo$kuning."[$red!$kuning]$putih Loading";sleep(1);echo ".";sleep(1); echo ".";sleep(1); echo ".".$t;
  125. echo$putih."[".$ijo."-".$putih."[ ";
  126. sleep(2);
  127. for($page=0;$page<30;$page++){
  128. $conten=counid($page,$config,$x);$coun=json_decode($conten,true);$data=$coun["data"]["list"];
  129.   for($vid=0;$vid<10;$vid++){
  130.  foreach($data as$key=>$value){
  131. $video[]=$value["vid"];
  132.  }
  133. }
  134. $video=array_unique($video);
  135. echo$putih."#";
  136.  }
  137. }
  138. sleep(2);
  139. echo$putih." ]".$ijo."-".$putih."]".$t;
  140. sleep(3);
  141. echo$putih."[$kuning>$putih]$kuning Proses mendownload selesai".$t;
  142. sleep(2);$id=count(array_unique($video));
  143. echo$putih."[".$turkis."?".$putih."] Total id$red : ";sleep(2);echo$turkis.$id.$t;
  144. sleep(1);
  145. $sleep=60/$akun;
  146. echo$putih."[$red!$putih] The mission is to read today's article".$t;
  147. echo$putih."[$red!$putih] Waiting time [ ".$turkis.$sleep.$putih." sec ]".$t.$t;
  148. sleep(1);
  149. $i=0;
  150. while($i<$id){
  151. $time=$i+60/60;
  152. $i++;
  153. $m=" minute";
  154. if($time>=60){
  155. $time=$time/60;
  156. $m=" hour";
  157. $time=substr($time,0,4);
  158. }
  159.   for($x=0;$x<$akun;$x++){
  160. $run=$x*$sleep;
  161. $rnd=array_rand($video);
  162.        $id=$video[$rnd];
  163. $e=1;
  164. $acc=$x+$e;
  165. $read=watch($id,$config,$x);$read1=json_decode($read,true);
  166.   if($read1["code"]!="0"){
  167. echo$putih."[".$ijo."+".$putih."] Akun ke$red : ".$turkis.$acc.$putih." |$red Faileds !!$putih |$kuning limited reward coins ".$t;
  168. sleep(1);
  169. }
  170. else{
  171. echo$putih."[".$ijo."+".$putih."] Akun ke$red : ".$turkis.$acc.$putih." | ".$ijo.$msg." !!".$putih." | ";
  172. echo$putih.$read1["data"]["trigger"]["alert_type"]."$red :$putih + ";
  173. echo$turkis.$read1["data"]["trigger"]["alert_amount"].$t;
  174. sleep(1);
  175. }
  176. sleep($sleep);
  177. }
  178. $q=0;
  179. echo$kuning."[".$red."!".$kuning."]$putih Waiting$red : ".$turkis.$time.$putih.$m.$t;
  180. sleep(1);
  181. echo$kuning."[".$red."!".$kuning."] ".$putih."Rolling ".$ijo;
  182. while($q<6){
  183. $q++;
  184. echo$ijo."•".$putih;
  185. sleep(1);
  186. }
  187. echo$t;
  188. }
  189. echo "
  190. ";
  191. echo$msgads.$t;
  192.  
  193. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top