Advertisement
snip3r_ir

Zone-h Poster

May 17th, 2014
622
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.14 KB | None | 0 0
  1. <html>
  2. <head><title>Zone-h poster</title></head>
  3. <body bgcolor="#34282C">
  4. <center>
  5. <form method="post" action="">
  6. <label style="font-family:calibri; color:red;font-size:20px;">Notifier:</label><p><p>
  7. <input type="text" name="hacker"><br/><br/>
  8. <lable style="font-family:calibri; color:red;font-size:20px;">Webs:</lable><p><p>
  9. <textarea rows="40" cols="50" style="height:50%;" name="domain" value=""></textarea>
  10. <p><p>
  11. <input type="submit" name="submit" value="send">
  12. </form>
  13. <label style="font-family:calibri; color:red;font-size:20px;">coded by ali ahmady</label>
  14. </center>
  15. </body>
  16. </html>
  17. <?php
  18. error_reporting(0);
  19. ini_set(max_exeution_time, '300');
  20. if(isset($_POST['submit']))
  21. {
  22.     $hacker = $_POST['hacker'];
  23.     $domain = explode("\n",$_POST['domain']);
  24.     $sites=array();
  25.     foreach($domain as $site)
  26.     {
  27.         if(substr(trim($site) , 0,7) == "http://")
  28.         {
  29.             $site = str_replace("http://", "", $site);         
  30.         }
  31.         array_push($sites, $site);
  32.     }
  33.     $domain_count = count($sites);
  34.     $less  = $domain_count % 10 ;
  35.     $dec = bcdiv($domain_count, '10', 0);
  36.     if($dec == 0)
  37.     {
  38.         for($i=0; $i<$domain_count; $i++)
  39.         {
  40.     $zh = "http://zone-h.com/notify/single";
  41.     $data = "defacer=".trim($hacker)."&domain1=http%3A%2F%2F".trim($sites[$i])."&hackmode=30&reason=1";
  42.     $ch = curl_init();
  43.     curl_setopt($ch, CURLOPT_URL, $zh);
  44.     curl_setopt($ch, CURLOPT_POST, true);
  45.     curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0');
  46.     curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  47.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  48.     curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  49.     curl_setopt($ch, CURLOPT_ENCODING, true);
  50.     curl_setopt($ch, CURLOPT_HEADER, false);
  51.     $send = curl_exec($ch);
  52.     echo "<center><font face='calibri' color='red' size='3'>" . $sites[$i] . " ~~~ </font><font face='calibri' color='green' size='3'>Done!</font><br/></center>";
  53.     flush();ob_flush();
  54.     curl_close($ch);
  55. }
  56.     }
  57. else
  58. {
  59.     $i = 0;
  60.     while($i <= $dec)
  61.     {
  62.         $j = $i*10;
  63.     $zh = "http://zone-h.com/notify/mass";
  64.     $data = "defacer=".$hacker . "&domain1= http%3A%2F%2F" . $sites[$j] ."&domain2=http%3A%2F%2F".$sites[$j+1] . "&domain3=http%3A%2F%2F" . $sites[$j+2] . "&domain4=http%3A%2F%2F".$sites[$j+3] . "&domain5=http%3A%2F%2F". $sites[$j+4] . "&domain6=http%3A%2F%2F".$sites[$j+5] . "&domain7=http%3A%2F%2F".$sites[$j+6] . "&domain8=http%3A%2F%2F".$sites[$j+7]. "&domain9=http%3A%2F%2F".$sites[$j+8] . "&domain10=http%3A%2F%2F" . $sites[$j+9] ."&hackmode=30&reason=1";
  65.     $ch = curl_init();
  66.     curl_setopt($ch, CURLOPT_URL, $zh);
  67.     curl_setopt($ch, CURLOPT_POST, true);
  68.     curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0');
  69.     curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  70.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  71.     curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  72.     curl_setopt($ch, CURLOPT_ENCODING, true);
  73.     curl_setopt($ch, CURLOPT_HEADER, false);
  74.     $send = curl_exec($ch);
  75.     echo "<center><font face='calibri' color='red' size='3'>" . $site[$j] . " ~~~ </font><font face='calibri' color='green' size='3'>Done!</font><br/></center>";
  76.     flush();ob_flush();
  77.     curl_close($ch);
  78.     $i++;
  79. }
  80. }
  81.     }
  82. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement