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


Viewing file:     qrcode_add.php (4.08 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<? 

include 'index_IncludeAdmin.php'
$_SESSION['page'] = 'qrcode.php';

if (
$_POST['qrcode_Add']) {

    
$qrcode_type    $_POST['qrcode_type'];
    
$qrcode_link    $_POST['qrcode_link'];
    
$qrcode_link    str_replace("'","&#39;",$qrcode_link);
    
$qrcode_link    str_replace("\"","&quot;",$qrcode_link);
    
$qrcode_link    str_replace("http://","",$qrcode_link);
    
$qrcode_link    str_replace("https://","",$qrcode_link);

    
$qrcode_Add     "INSERT INTO `qrcode` (`qrcode_id`, `qrcode_type`, `qrcode_link`, `qrcode_sort`) VALUES (NULL, '$qrcode_type', '$qrcode_link', NULL);";
    
$qrcode_Reult     mysqli_query($con,$qrcode_Add);
    
$qrcode_id         mysqli_insert_id($con);
    if (!
$qrcode_Reult) {
        echo
"<script>alert('เกิดข้อผิดพลาด'); window.history.back(); </script>";
    }
    if(
$_FILES['qrcode_photo']['name']!=''){
        
$Jpg strrchr($_FILES["qrcode_photo"]["name"],".");
        
$qrcode_photo rand()." ".rand().$Jpg;
        
$upload move_uploaded_file($_FILES["qrcode_photo"]["tmp_name"],"../Files/qrcode_photo/".$qrcode_photo);
        
$qrcode_photo_Update "UPDATE `qrcode` SET `qrcode_photo` = '$qrcode_photo' WHERE `qrcode_id` = '$qrcode_id'";
        
$qrcode_photo_Reult mysqli_query($con,$qrcode_photo_Update);
    }
    if (
$qrcode_Reult) {
        echo
"<script>  window.location='qrcode.php?INSERT'; </script>";
    }
}

?>

<!DOCTYPE html>
<html>
<head>
    <? include 'index_Head.php'?>
</head>
<body>
    <? include 'index_Navbar.php'?>    
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-2" id="main-left">
                <div class="row">
                    <div class="col-md-12">
                        <? include 'index_AdminMenu.php'?>
                    </div>
                </div>
            </div>
            <div class="col-md-10">
                <div class="row">
                    <div class="col-md-12">
                        <h3>  เพิ่ม คิวอาร์โค้ด  </h3>
                        <hr>
                    </div>
                </div>
                <div class="row">
                    <div class="col-md-12 br-margin2">
                        <a href="qrcode.php" class="btn btn-primary"><span class="glyphicon glyphicon-step-backward"></span> กลับ </a>
                    </div>
                    <div class="col-md-12">
                        <form class="form-horizontal" method="post" encType="multipart/form-data">
                            <div class="panel panel-default">
                                <div class="panel-heading">
                                    กรอกรายละเอียด "คิวอาร์โค้ด"  ที่ต้องการเพิ่ม
                                </div>
                                <div class="panel-body">
                                    <div class="form-group">
                                        <label class="control-label col-md-2" >รูป  </label>
                                        <div class="col-md-5">
                                            <input type="file" class="form-control br2" name="qrcode_photo"  placeholder="" title="อัพเดทรูป">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-md-2" > ประเภท <span class="text-red"> * </span> </label>
                                        <div class="col-md-5">
                                            <input type="text" title="หากเป็นเบอร์โทรศัพท์  ให้กรอกคำว่า Tel จะสามารถกดโทรได้"  class="form-control"  name="qrcode_type"  placeholder=" Tel , Line , Facebook " required>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-md-2" > ลิ้ง </label>
                                        <div class="col-md-5">
                                            <input type="text" class="form-control"  name="qrcode_link" placeholder=" www.facebook.com  , 0899999999 "  title="หากเป็น Tel ให้ใส่เบอร์ห้ามเว้นวรรค">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="control-label col-md-2" ></label>
                                        <div class="col-md-5">
                                            <button type="submit"  class="btn btn-success">
                                                <span class="glyphicon glyphicon-plus-sign"></span> ยืนยันการเพิ่ม
                                            </button>
                                            <input type="hidden" name="qrcode_Add" value="x">
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <!-- 12 -->
                </div>
                <!-- row -->
            </div>
            <!-- 10 -->
        </div>
        <!-- row -->
    </div>
    <!-- container -->
</body>
</html>



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