Spam Message Sender

Started on the old forum in June 2009 · view the original in the archive · old links redirect here

3 replies · 1,078 views · started 17 years ago · 1 min read

4 participants
blackhowk Senior · 411 posts #1

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(' '.mysql_error() . ' ');
  27. }
  28. $e = mysql_select_db("email", $link);
  29. if(!$e) {die(' '.mysql_error() . ' ');
  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(' '.mysql_error() . ' ');
  34. if (!$result)
  35. {
  36. die(' '.mysql_error() . ' ');
  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 " all spam was sent!
  52. <a href = "index.php?action=yes">start spam!</a>
  53. ";
  54. }else{
  55. echo " $l message spam sent on each $ref sec! to: ";
  56. }
  57. echo" $mail ";
  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 .= " ";
  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 .= " ";
  75. $to = $webmaster;
  76. $message .= " ";
  77. $message .= " ";
  78. $message .= "Click <a href = "http://ngeo.ro">aici</a> pentru acces direct!";
  79. $message .= " ";
  80. $message .= " ";
  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(' '.mysql_error() . ' ');
  98. if ($_GET['action'] == 'yes')
  99. {
  100. $action = "UPDATE emails SET status = 'no'";
  101. mysql_query($action);
  102. echo " wait to start... ";
  103. }
  104. ?>
  105. </body>
  106. </html>

you will receive as webmaster one message for each row from database.

Attachments: file.zip
Hadian Developer · 92 posts #2

Can you upload in zip? Please

You never see who i am... But you must know i am not noob...!!!

Dhruva7 Junior · 33 posts #3

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

serady Newbie · 3 posts #4

Nice script...Useful

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close