Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <br /><br />
- <div align="center">
- <img src="http://front1.monsterup.com/upload/1353955158632.jpg" width="200" height="150">
- <h3>On en a marre de vos conneries !</h3>
- Ce script permet de fausser le vote mit en place par Nathalie Kosciusko-Morizetsur le site <a href="http://jeveuxrevoter.fr" target="_BLANK">jeveuxrevoter.fr</a><br/>
- Il permet de generer de faux nom/prenom + mail et les envoie en boucle au nombre de requete demander =)
- <h4>#OPfuckump</h4>
- <?php
- /////////////////////////////
- //
- // OPfuckump.php
- // #OPfuckump
- // 26/11/2012
- //
- /////////////////////////////
- function fakeMailGenerator() {
- $tlds = array("com", "net", "gov", "org", "edu", "biz", "info");
- $char = "0123456789abcdefghijklmnopqrstuvwxyz";
- $ulen = mt_rand(5, 6);
- $dlen = mt_rand(1, 6);
- $a = "";
- for ($i = 1; $i <= $ulen; $i++) {
- $a .= substr($char, mt_rand(0, strlen($char)), 1);
- }
- $a .= "@";
- for ($i = 1; $i <= $dlen; $i++) {
- $a .= substr($char, mt_rand(0, strlen($char)), 1);
- }
- $a .= ".";
- $a .= $tlds[mt_rand(0, (sizeof($tlds)-1))];
- return $a;
- }
- function fakeNameGenerator($max=6) {
- $i = 0; //Reset the counter.
- $possible_keys = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
- $keys_length = strlen($possible_keys);
- $str = ""; //Let's declare the string, to add later.
- while($i<$max) {
- $rand = mt_rand(1,$keys_length-1);
- $str.= $possible_keys[$rand];
- $i++;
- }
- return $str;
- }
- function fuckUMP() {
- $name = urlencode(fakeNameGenerator());
- $subname = urlencode(fakeNameGenerator());
- $mail = fakeMailGenerator();
- $useragent = 'Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1';
- $header = array(
- "Accept: text/xml,application/xml,application/xhtml+xml, text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5",
- "Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3",
- "Accept-Charset: ISO-8859-1;q=0.7,*;q=0.7",
- "Keep-Alive: 300"
- );
- $str = "action=dk_speakup_sendmail&id=1&first_name=".$name."&last_name=".$subname."&email=".urlencode($mail)."&optin=&lang=";
- $ch=curl_init();
- curl_setopt($ch,CURLOPT_URL,'http://lafrancedroite.fr/wp-admin/admin-ajax.php');
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $str);
- curl_setopt($ch, CURLOPT_USERAGENT, $useragent );
- curl_setopt($ch, CURLOPT_HTTPHEADER, $header );
- curl_exec($ch);
- curl_close($ch);
- $arr['name'] = $name;
- $arr['subname'] = $subname;
- $arr['mail'] = $mail;
- return $arr;
- }
- if ((isset($_POST['nb']))) {
- if (isset($_POST['nb']) && (is_numeric($_POST['nb'])) && ($_POST['nb'] != ''))
- $requetes = strip_tags($_POST['nb']);
- else
- $requetes = 5;
- $boucle = 0;
- while($boucle < $requetes) {
- $res = fuckUMP();
- echo 'Nom (fake): '.$res['name'].'<br />';
- echo 'Prenom (fake): '.$res['subname'].'<br />';
- echo 'Mail (fake): '.$res['mail'].'<br /><br />';
- $boucle++;
- }
- }
- ?>
- <form method="POST">
- Nombre votes à envoyées<br />
- <input type="text" name="nb" value="20" size="10"><br /><br />
- <input type="submit" value="SPAM">
- </form>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement