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:
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <head><title>Spam Message Sender</title>
- <meta http-equiv="content-type" content="text/html;charset=utf-8" />
- <meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
- <meta http-equiv="Pragma" content="no-cache" />
- <?php
- // send interval in second
- $ref = "2";
- // how many mails i send in this interval:p
- $l = "2";
- // webmaster
- $webmaster = "your@adress.com";
- // webmaster nume - site name
- $webmaster_name = "ngeo Mobile Portal";
- // refresh
- echo "<meta http-equiv="refresh" content="$ref;url=index.php" /> ";
- ?>
- </head>
- <body>
- <?php
- // conect
- $link = mysql_connect("localhost","root","");
- if(!$link){
- die(' '.mysql_error() . ' ');
- }
- $e = mysql_select_db("email", $link);
- if(!$e) {die(' '.mysql_error() . ' ');
- }
- // select emails
- $query = "SELECT email,status FROM emails WHERE status='no' ORDER BY
idASC LIMIT $l"; - $result = mysql_query($query)or die(' '.mysql_error() . ' ');
- if (!$result)
- {
- die(' '.mysql_error() . ' ');
- }else{
- while ($row = mysql_fetch_assoc($result))
- {
- if (empty ($mail))
- {
- $mail=$row['email'];
- }
- else
- {
- $mail.=",".$row['email'];
- }
- }
- // show mails
- if ($mail == ''){
- echo " all spam was sent!
- <a href = "index.php?action=yes">start spam!</a>
- ";
- }else{
- echo " $l message spam sent on each $ref sec! to: ";
- }
- echo" $mail ";
- // email in HTML - edit foreign text - subject, message
- $subject = "Invitatie - ngeo Mobile Portal - Comunica rapid si eficint cu prietenii tai!";
- $message = "Salutare, Portalul Mobil ngeo te invita sa-l vizitezi si sa faci parte din comunitatea sa virtuala.
- Totodata toate functiile sale iti sunt la dispozitie incepand cu serviciul
- mms2mail, alerta instant, notificarile email, chat-ul mobil, trivia si nu numai.
- Caracteristica sa principala - servicul de alerta - permite comunicarea instant intre doi sau mai multi membri simultan,
- direct din browserul telefonului mobil.
- Poti socializa nelimitat pe camerele speciale de chat, testa cunostintele in zona trivia multiplayer cu chat activat, aduna puncte,
- fabrica o lista de prieteni, atasa si expedia mesaje prietenilor din lista si nu numai;
- iar daca esti interesat cu adevarat acesta este disponibil pentru telefonul tau 24/7!
- Adresa la care il gasesti este: http://ngeo.ro -
- Adauga in browserul telefonului tau mobil acest portal si poti ramane in legatura cu prietenii tai!
- ";
- $message .= " ";
- // upload one screenshot or image with your site and edit adress
- $message .= "<a href="http://www.ngeo.ro"><img src="ngeo.ro.gif" border ="0" alt ="http://ngeo.ro"/></a>";
- $message .= " ";
- $to = $webmaster;
- $message .= " ";
- $message .= " ";
- $message .= "Click <a href = "http://ngeo.ro">aici</a> pentru acces direct!";
- $message .= " ";
- $message .= " ";
- $message .= "Acest mesaj este transmis in scop informativ deoarece adresa ta de email se regaseste in baza de date
- a site-ului ca urmare a inscrierii facute.
- In cazul in care doresti sa nu mai fii utilizator al acestui site este
- necesar sa te conectezi si sa alegi optiunea 'delete account' localizata in 'cpanel'.";
- $headers = 'MIME-Version: 1.0' . "\r\n";
- $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
- $eol="\r\n";
- $headers .= "From: ".$webmaster_name ."<".$webmaster.">".$eol;
- $headers .= "Reply-To: ".$webmaster_name ."<".$webmaster.">".$eol;
- $headers .= "Return-Path: ".$webmaster_name ."<".$webmaster.">".$eol;
- $headers .= 'Bcc:'.$mail . "\r\n";
- $headers .= "Message-ID: <".time()."-".$webmaster.">".$eol;
- $headers .= "X-Mailer: PHP v".phpversion().$eol;
- mail($to, $subject, $message, $headers);
- }
- $update = "UPDATE emails SET status='yes' WHERE status='no' ORDER BY
idASC LIMIT $l"; - mysql_query($update)or die(' '.mysql_error() . ' ');
- if ($_GET['action'] == 'yes')
- {
- $action = "UPDATE
emailsSETstatus= 'no'"; - mysql_query($action);
- echo " wait to start... ";
- }
- ?>
- </body>
- </html>
you will receive as webmaster one message for each row from database.