Linux web-conference.aiou.edu.pk 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64
Apache/2.4.41 (Ubuntu)
: 172.16.50.247 | : 18.191.185.51
Cant Read [ /etc/named.conf ]
7.4.3-4ubuntu2.28
appadmin
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
lib /
python3 /
dist-packages /
apport /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
crashdb_impl
[ DIR ]
drwxr-xr-x
REThread.py
2.24
KB
-rw-r--r--
__init__.py
1.65
KB
-rw-r--r--
crashdb.py
32.56
KB
-rw-r--r--
fileutils.py
17.74
KB
-rw-r--r--
hookutils.py
34.87
KB
-rw-r--r--
packaging.py
12.17
KB
-rw-r--r--
packaging_impl.py
70.63
KB
-rw-r--r--
report.py
67.57
KB
-rw-r--r--
sandboxutils.py
10.99
KB
-rw-r--r--
ui.py
73.69
KB
-rw-r--r--
user_group.py
611
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : user_group.py
# Copyright (C) 2023 Canonical Ltd. # Author: Benjamin Drung <benjamin.drung@canonical.com> # SPDX-License-Identifier: GPL-2.0-or-later """Functions around users and groups.""" import dataclasses import os @dataclasses.dataclass() class UserGroupID: """Pair of user and group ID.""" uid: int gid: int def is_root(self) -> bool: """Check if the user or group ID is root.""" return self.uid == 0 or self.gid == 0 def get_process_user_and_group() -> UserGroupID: """Return the current process’s real user and group.""" return UserGroupID(os.getuid(), os.getgid())
Close