Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- define("notfound","\e[31m");
- define("success","\e[35m");
- define("onhold","\e[32m");
- function mirror($nick,$team,$site){
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, "http://zone-hack.org/notify.php");
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, "defacer=$nick&team=$team&vulntype=0&reason=0&urlb=$site&submit=Notify");
- curl_setopt($ch, CURLOPT_POST, 1);
- $result = curl_exec($ch);
- curl_close($ch);
- return $result;
- }
- $nick = readline("Hacker Nick : ");
- $team = readline("Team : ");
- $site = file_get_contents(readline("List Site (list.txt): ")) or die ("File Not Found");
- $exp = explode("\n", $site);
- foreach ($exp as $key) {
- $mirror = mirror($nick,$team,$key);
- if (preg_match("/<div class=\"error\">(.*)<br>Mirrored onhold/", $mirror)) {
- echo onhold."Success Mirror Onhold : $key\n";
- }
- else if (preg_match("/<div class=\"error\">(.*)<br>Domain Not Active/", $mirror)) {
- echo onhold."Success Mirror Onhold : $key\n";
- }
- else if (preg_match("/<div class=\"success\">(.*)/", $mirror)) {
- echo success."Sucess Mirror : $key\n";
- }
- else {
- echo notfound."Failed Mirror : $key\n";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement