Spam Message Sender

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Spam Message Sender

    Hi,
    Use this script if you want to send spam...

    Database structure:

    CREATE TABLE `emails` (
    `id` int(255) NOT NULL auto_increment COMMENT 'id on table',
    `email` varchar(255) NOT NULL COMMENT 'email adress (email id''s)',
    `status` enum('no','yes') NOT NULL default 'no' COMMENT 'status with default value ''no''',
    PRIMARY KEY (`id`)
    )


    insert in this database the email adress....like:

    INSERT INTO `emails` VALUES (1, 'xxx@etc.com', 'no');
    INSERT INTO `emails` VALUES (2, 'xxxx@your.com', 'no');
    INSERT INTO `emails` VALUES (3, 'xxxxx@email.com', 'no');



    upload and edit this script:


    1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    3. <html xmlns="http://www.w3.org/1999/xhtml" >
    4. <head><title>Spam Message Sender</title>
    5. <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    6. <meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
    7. <meta http-equiv="Pragma" content="no-cache" />
    8. <?php
    9. // send interval in second
    10. $ref = "2";
    11. // how many mails i send in this interval:p
    12. $l = "2";
    13. // webmaster
    14. $webmaster = "your@adress.com";
    15. // webmaster nume - site name
    16. $webmaster_name = "ngeo Mobile Portal";
    17. // refresh
    18. echo "<meta http-equiv=\"refresh\" content=\"$ref;url=index.php\" /> ";
    19. ?>
    20. </head>
    21. <body>
    22. <?php
    23. // conect
    24. $link = mysql_connect("localhost","root","");
    25. if(!$link){
    26. die('<p>'.mysql_error() . '</p>');
    27. }
    28. $e = mysql_select_db("email", $link);
    29. if(!$e) {die('<p>'.mysql_error() . '</p>');
    30. }
    31. // select emails
    32. $query = "SELECT email,status FROM emails WHERE status='no' ORDER BY `id` ASC LIMIT $l";
    33. $result = mysql_query($query)or die('<p>'.mysql_error() . '</p>');
    34. if (!$result)
    35. {
    36. die('<p>'.mysql_error() . '</p>');
    37. }else{
    38. while ($row = mysql_fetch_assoc($result))
    39. {
    40. if (empty ($mail))
    41. {
    42. $mail=$row['email'];
    43. }
    44. else
    45. {
    46. $mail.=",".$row['email'];
    47. }
    48. }
    49. // show mails
    50. if ($mail == ''){
    51. echo "<div style=\"color:red\"><br />all spam was sent!<br /><br />
    52. <a href = \"index.php?action=yes\">start spam!</a>
    53. </div>";
    54. }else{
    55. echo "<div style=\"color:green\"><br />$l message spam sent on each $ref sec!<br /></div>to:<br />";
    56. }
    57. echo"<div style=\"color:red\"><br />$mail<br /></div>";
    58. // email in HTML - edit foreign text - subject, message
    59. $subject = "Invitatie - ngeo Mobile Portal - Comunica rapid si eficint cu prietenii tai!";
    60. $message = "Salutare, Portalul Mobil ngeo te invita sa-l vizitezi si sa faci parte din comunitatea sa virtuala.
    61. Totodata toate functiile sale iti sunt la dispozitie incepand cu serviciul
    62. mms2mail, alerta instant, notificarile email, chat-ul mobil, trivia si nu numai.
    63. Caracteristica sa principala - servicul de alerta - permite comunicarea instant intre doi sau mai multi membri simultan,
    64. direct din browserul telefonului mobil.
    65. Poti socializa nelimitat pe camerele speciale de chat, testa cunostintele in zona trivia multiplayer cu chat activat, aduna puncte,
    66. fabrica o lista de prieteni, atasa si expedia mesaje prietenilor din lista si nu numai;
    67. iar daca esti interesat cu adevarat acesta este disponibil pentru telefonul tau 24/7!
    68. Adresa la care il gasesti este: http://ngeo.ro -
    69. Adauga in browserul telefonului tau mobil acest portal si poti ramane in legatura cu prietenii tai!
    70. ";
    71. $message .= "<br />";
    72. // upload one screenshot or image with your site and edit adress
    73. $message .= "<a href=\"http://www.ngeo.ro\"><img src=\"ngeo.ro.gif\" border =\"0\" alt =\"http://ngeo.ro\"/></a>";
    74. $message .= "<br />";
    75. $to = $webmaster;
    76. $message .= "<br />";
    77. $message .= "<br />";
    78. $message .= "Click <a href = \"http://ngeo.ro\">aici</a> pentru acces direct!";
    79. $message .= "<br />";
    80. $message .= "<br />";
    81. $message .= "Acest mesaj este transmis in scop informativ deoarece adresa ta de email se regaseste in baza de date
    82. a site-ului ca urmare a inscrierii facute.
    83. In cazul in care doresti sa nu mai fii utilizator al acestui site este
    84. necesar sa te conectezi si sa alegi optiunea 'delete account' localizata in 'cpanel'.";
    85. $headers = 'MIME-Version: 1.0' . "\r\n";
    86. $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
    87. $eol="\r\n";
    88. $headers .= "From: ".$webmaster_name ."<".$webmaster.">".$eol;
    89. $headers .= "Reply-To: ".$webmaster_name ."<".$webmaster.">".$eol;
    90. $headers .= "Return-Path: ".$webmaster_name ."<".$webmaster.">".$eol;
    91. $headers .= 'Bcc:'.$mail . "\r\n";
    92. $headers .= "Message-ID: <".time()."-".$webmaster.">".$eol;
    93. $headers .= "X-Mailer: PHP v".phpversion().$eol;
    94. mail($to, $subject, $message, $headers);
    95. }
    96. $update = "UPDATE emails SET status='yes' WHERE status='no' ORDER BY `id` ASC LIMIT $l";
    97. mysql_query($update)or die('<p>'.mysql_error() . '</p>');
    98. if ($_GET['action'] == 'yes')
    99. {
    100. $action = "UPDATE `emails` SET `status` = 'no'";
    101. mysql_query($action);
    102. echo "<div style=\"color:green\"><br />wait to start...<br /></div>";
    103. }
    104. ?>
    105. </body>
    106. </html>


    you will receive as webmaster one message for each row from database.
    Attached Files
    Last edited by blackhowk; 13.06.09, 11:27. Reason: adding data
    http://ngeo.ro

    #2
    Can you upload in zip? Please

    Comment


      #3
      i tried using this but its showing response unknow . Dont know what i am doing .

      Comment


        #4
        Nice script...Useful

        Comment

        Working...
        X