403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3/dist-packages/certbot/compat/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/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

�
			

Youez - 2016 - github.com/yon3zu
LinuXploit