🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-15 05:02:32 | PHP 8.1.34
📂
/ (Root)
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
lvestats
/
lib
/
commons
/
__pycache__
📍 /opt/cloudlinux/venv/lib/python3.11/site-packages/lvestats/lib/commons/__pycache__
🔄 Refresh
✏️
Editing: fileutil.cpython-311.pyc
Read Only
� 56]�T�NP� � � d dl Z d� ZdS )� Nc �0 � | � d� � � d� � }t j dt j t j z � � } |dd� D ]S}t j |t j t j z t j z |�� � }t j |� � |}�Tt j |d t j t j z |�� � }t j |� � n# t j |� � w xY w|S )a� Open *path* rejecting symlinks at every component, not just the leaf. Uses openat() (via *dir_fd*) to walk each component with O_NOFOLLOW so that an attacker who controls an intermediate directory (e.g. /tmp/lshttpd owned by nobody) cannot substitute it with a symlink. :return: file descriptor (caller must close) :raises: OSError if any component is a symlink or does not exist �/N���)�dir_fd)�lstrip�split�os�open�O_RDONLY�O_DIRECTORY� O_NOFOLLOW�close)�path�parts�fd� component�next_fd� result_fds ��/builddir/build/BUILDROOT/lve-stats-4.3.2-1.el9.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/lvestats/lib/commons/fileutil.py� open_nofollowr s� � � �K�K����"�"�3�'�'�E� ���b�k�B�N�2� 3� 3�B� ��s��s�� � �I��g����b�m�+�b�n�<��� � �G� �H�R�L�L�L��B�B��G��"�I�r�{�R�]�2�2� � � � � �������������������s �BC= �=D)r r � � r �<module>r s) �� � � � �� � � � r
💾 Save Changes
❌ Cancel