!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/home/mnnews/public_html/images/   drwxr-xr-x
Free 4.32 GB of 27.03 GB (15.97%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     image_viewer.php3 (2.24 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<HTML>
<BODY>
<?
/*
Simple Image Viewer PHP 1.01
Copyright 2000 KMR Enterprises
Scripted by TDavid @ http://www.tdscripts.com/

Created: 2/1/2000
Last Modified: 7/31/2000

By using this script you agree to indemnify KMR Enterprises,
its owners, programmers, and subsidiaries from any and all
liability that might arise from its use or misuse. This copyright
notice MUST remain in tact in order to legally use this script.
Removal and/or modification of the copyright notice voids registration.              
                                                                       *
This script is freeware and you are free to modify it, but you do
*NOT* have permission to redistribute or sell the code for     
this program, nor claim it is your own. If you do use it, I would
sure appreciate a linkback to http://www.tdscripts.com/

INSTRUCTIONS:
1. Simply FTP this file to any image directory.
2. Call the file with your browser and it will cycle through all
images in that same directory.
*/

$img_directory = opendir(".");
while(
$img = readdir($img_directory))
{
$images[] = $img;
}
closedir($img_directory);
$size = count($images);
if (
$sp > 0)
{
   
$image = $images[$sp];
   if (
$image == "")
   {
   print(
"You have reached the end of the images in this directory.");
   print(
"</BODY></HTML>");
   exit;
   }
   elseif (
$image == "..") {
    
$sp++;
    
$image = $images[$sp];
   }
   elseif (
$image == "image_viewer.php3") {
    
$sp++;
    
$image = $images[$sp];
     if (
$image == "")
    {
     print(
"You have reached the end of the images in this directory.");
     print(
"</BODY></HTML>");
     exit;
    }
   }
} else {
   
$break = explode(".", $image);
     if((
$break[1] == "gif") OR ($break[1] == "jpg") OR ($break[1] == "png"))
     {
       
$image = $images[0];
       if (
$image == ".") { $image = $images[1]; $sp=1; }
       if (
$image == "..") { $image = $images[2]; $sp=2;}
     }
}
print(
"<img src=\"$image\">");
print(
"<br>I am displaying picture file: <strong>$image</strong><br>");
$sp++;
?>
<form method="post" action="image_viewer.php3">
<input type="hidden" name="sp" value="<?print($sp);?>">
<input type="submit" value="Display Next Picture">
</form>
</BODY>
</HTML>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0029 ]--