Zone-H Poster - Coded by Miyachung || Janissaries.Org'; if($_POST) { $sites = $_POST['sites']; $defacer = $_POST['defacer']; $thread = $_POST['thread']; $post = new poster(); $post->defacer = $defacer; $post->thread = $thread; $post->execution($sites); } else { echo '
Defacer ;

Num.Thread ;

Sites ;

'; } class poster { public $defacer; public $thread; private $hackmode = 5; private $reason = 1; public function execution($sites) { $time1 = time(); $sites = explode("\n",$sites); $sites = array_chunk($sites,$this->thread); $this->post($sites); $time2 = time(); echo "
Elapsed time : ".($time2-$time1)." second"; } private function post($sites) { $multi = curl_multi_init(); $totalerror = 0; $totalok = 0; foreach($sites as $site) { for($i=0;$i<=count($site)-1;$i++) { if(!preg_match('/http/',$site[$i])) $post_site = "http://".$site[$i]; $post_site = urlencode($post_site); $curl[$i] = curl_init(); curl_setopt($curl[$i],CURLOPT_RETURNTRANSFER,1); curl_setopt($curl[$i],CURLOPT_URL,"http://zone-h.org/notify/single"); curl_setopt($curl[$i],CURLOPT_POST,1); # defacer=DEFACER&domain1=SİTE&hackmode=5&reason=1 curl_setopt($curl[$i],CURLOPT_POSTFIELDS,"defacer=".$this->defacer."&domain1=".$post_site."&hackmode=".$this->hackmode."&reason=".$this->reason.""); curl_multi_add_handle($multi,$curl[$i]); } do { curl_multi_exec($multi,$active); usleep(11); } while( $active > 0 ); foreach($curl as $cid => $cson) { $data[$cid] = curl_multi_getcontent($cson); preg_match('/color="red">(.*?)<\/font>/',$data[$cid],$cevap); if($cevap[1] != "OK") { echo "$site[$cid]"." ==>$cevap[1]
\n"; $totalerror++; } else { echo "$site[$cid]"." ==>$cevap[1]
\n"; $totalok++; } curl_multi_remove_handle($multi,$cson); } } echo "
Total OK: $totalok
Total ERROR: $totalerror\n"; echo "
Posting finish Coded by Miyachung || Janissaries.Org\n"; } } ?>