403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python315/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-315.pyc
R
�h�j�=c�.`�.s"Qs]QHGs]PHs]PHs]QHGs]QH G	s	G
s
]QH,Gs\	%c]QH4GsQsQ\Q$Q	Q
\2sQQksQ
QksQQksQQQQQQQQQQQQQQQQ Q!Q"Q#Q$Q%Q&-sQ'\Q($Q)Q*ksQ+Q,ks\2sQ-Q.ksQ
,sP!)/zWindows.)�annotations)�Path)�
TYPE_CHECKING�Final)�PlatformDirsABC)�Callablei@z
Final[int]�_KF_FLAG_DONT_VERIFYc��\sQs]sQs\QQk2sQP-QQkks\QQk2s\Q	Q
k2s	\QQk2s
\Q
Qk2s\QQk2s\QQk2s
\QQk2s\QQk2s\QQk2s\QQk2s\QQk2s\QQk2s\QQ k2s\Q!Q"k2s\Q#Q$k2s\Q%Q&k2s\Q'Q(k2s\Q)Q*k2s\Q+Q,k2s\Q-Q.k2s\Q/Q0k2s\Q1Q2k2s\Q3Q4k2s\Q5Q6k2s\Q7Q8k2s \Q9Q:k2s!Q;s"P!)<�Windowsa�`MSDN on where to store app data files <https://learn.microsoft.com/en-us/windows/win32/shell/knownfolderid>`_.

Makes use of the `appname <platformdirs.api.PlatformDirsABC.appname>`, `appauthor
<platformdirs.api.PlatformDirsABC.appauthor>`, `version <platformdirs.api.PlatformDirsABC.version>`, `roaming
<platformdirs.api.PlatformDirsABC.roaming>`, `opinion <platformdirs.api.PlatformDirsABC.opinion>`, `ensure_exists
<platformdirs.api.PlatformDirsABC.ensure_exists>`.

c��U]6�cPgQQ-!���return�str�)�formats"�BC:\Python315\Lib\site-packages\pip/_vendor/platformdirs/windows.py�__annotate__�"Windows.user_data_dir.__annotate__s��(�(�s�(�c
��UO%cQLQo[OO[	U22oUOU2!)z�:returns: data directory tied to the user, e.g. ``%USERPROFILE%\AppData\Local\$appauthor\$appname`` (not roaming) or ``%USERPROFILE%\AppData\Roaming\$appauthor\$appname`` (roaming)�
CSIDL_APPDATA�CSIDL_LOCAL_APPDATA)�roaming�os�path�normpath�get_win_folder�
_append_parts)�self�constrs&  r�
user_data_dir�Windows.user_data_dirs>��$(�<�<�<��5J���w�w����u� 5�6���!�!�$�'�'r�
opinion_valuec�&�U]6�cPgQQQQQQ-!)rrrr"�
str | Noner
r)rs"rr�"Windows._append_parts.__annotate__$s!��
�
�#�
��
�s�
rc	��,oUO%c�UOP
Ic2UO9%f
UOoUOU2UOUO2Ud$UO%cUOU2UO%cUOUO2[
OOU,UN3oUOU2U!)F)	�appname�	appauthor�append�opinion�versionrr�join�_optionally_create_directory)rrr"�params�authors&&$  rr�Windows._append_parts$s������<�<�<��~�~�U�*����7�7�4�<�<���
�
�f�%��M�M�$�,�,�'��(�T�\�\�\��
�
�m�,��|�|�|��
�
�d�l�l�+��w�w�|�|�D�*�6�*���)�)�$�/��rc��U]6�cPgQQ-!rr)rs"rr�"Windows.site_data_dir.__annotate__4s��(�(�s�(rc
�v�[OO[Q22oUO	U2!)zU:returns: data directory shared by users, e.g. ``C:\ProgramData\$appauthor\$appname``�CSIDL_COMMON_APPDATA�rrrrr�rrs& r�
site_data_dir�Windows.site_data_dir3s/���w�w����/E� F�G���!�!�$�'�'rc��U]6�cPgQQ-!rr)rs"rr�$Windows.user_config_dir.__annotate__:���"�"��"rc
��UO!)zD:returns: config directory tied to the user, same as `user_data_dir`�r �rs&r�user_config_dir�Windows.user_config_dir9����!�!�!rc��U]6�cPgQQ-!rr)rs"rr�$Windows.site_config_dir.__annotate__?r;rc
��UO!)zC:returns: config directory shared by users, same as `site_data_dir`�r7r>s&r�site_config_dir�Windows.site_config_dir>rArc��U]6�cPgQQ-!rr)rs"rr�#Windows.user_cache_dir.__annotate__D���?�?��?rc
�z�[OO[Q22oUO	UQQ5!)z�:returns: cache directory tied to the user (if opinionated with ``Cache`` folder within ``$appname``) e.g. ``%USERPROFILE%\AppData\Local\$appauthor\$appname\Cache\$version``r�Cache�r"r5r6s& r�user_cache_dir�Windows.user_cache_dirCs4���w�w����/D� E�F���!�!�$�g�!�>�>rc��U]6�cPgQQ-!rr)rs"rr�#Windows.site_cache_dir.__annotate__JrJrc
�z�[OO[Q22oUO	UQQ5!)ze:returns: cache directory shared by users, e.g. ``C:\ProgramData\$appauthor\$appname\Cache\$version``r4rLrMr5r6s& r�site_cache_dir�Windows.site_cache_dirIs4���w�w����/E� F�G���!�!�$�g�!�>�>rc��U]6�cPgQQ-!rr)rs"rr�#Windows.user_state_dir.__annotate__P���"�"��"rc
��UO!)zC:returns: state directory tied to the user, same as `user_data_dir`r=r>s&r�user_state_dir�Windows.user_state_dirOrArc��U]6�cPgQQ-!rr)rs"rr�#Windows.site_state_dir.__annotate__UrWrc
��UO!)zB:returns: state directory shared by users, same as `site_data_dir`rEr>s&r�site_state_dir�Windows.site_state_dirTrArc��U]6�cPgQQ-!rr)rs"rr�!Windows.user_log_dir.__annotate__Z�����c�rc
��UOoUO%c2[OO	UQ2oUOU2U!)zh:returns: log directory tied to the user, same as `user_data_dir` if not opinionated else ``Logs`` in it�Logs)r r*rrr,r-r6s& r�user_log_dir�Windows.user_log_dirY�?���!�!���<�<�<��7�7�<�<��f�-�D��-�-�d�3��rc��U]6�cPgQQ-!rr)rs"rr�!Windows.site_log_dir.__annotate__crbrc
��UOoUO%c2[OO	UQ2oUOU2U!)zg:returns: log directory shared by users, same as `site_data_dir` if not opinionated else ``Logs`` in itrd)r7r*rrr,r-r6s& r�site_log_dir�Windows.site_log_dirbrgrc��U]6�cPgQQ-!rr)rs"rr�'Windows.user_documents_dir.__annotate__ls��B�B�C�Brc
�T�[OO[Q22!)zO:returns: documents directory tied to the user e.g. ``%USERPROFILE%\Documents``�CSIDL_PERSONAL�rrrrr>s&r�user_documents_dir�Windows.user_documents_dirk����w�w����/?� @�A�Arc��U]6�cPgQQ-!rr)rs"rr�'Windows.user_downloads_dir.__annotate__qs��C�C�C�Crc
�T�[OO[Q22!)zO:returns: downloads directory tied to the user e.g. ``%USERPROFILE%\Downloads``�CSIDL_DOWNLOADSrqr>s&r�user_downloads_dir�Windows.user_downloads_dirps���w�w����/@� A�B�Brc��U]6�cPgQQ-!rr)rs"rr�&Windows.user_pictures_dir.__annotate__vs��D�D�3�Drc
�T�[OO[Q22!)zM:returns: pictures directory tied to the user e.g. ``%USERPROFILE%\Pictures``�CSIDL_MYPICTURESrqr>s&r�user_pictures_dir�Windows.user_pictures_dirus���w�w����/A� B�C�Crc��U]6�cPgQQ-!rr)rs"rr�$Windows.user_videos_dir.__annotate__{s��A�A��Arc
�T�[OO[Q22!)zI:returns: videos directory tied to the user e.g. ``%USERPROFILE%\Videos``�
CSIDL_MYVIDEOrqr>s&r�user_videos_dir�Windows.user_videos_dirz����w�w����� ?�@�@rc��U]6�cPgQQ-!rr)rs"rr�#Windows.user_music_dir.__annotate__�s��A�A��Arc
�T�[OO[Q22!)zG:returns: music directory tied to the user e.g. ``%USERPROFILE%\Music``�
CSIDL_MYMUSICrqr>s&r�user_music_dir�Windows.user_music_dirr�rc��U]6�cPgQQ-!rr)rs"rr�%Windows.user_desktop_dir.__annotate__�s��J�J�#�Jrc
�T�[OO[Q22!)zL:returns: desktop directory tied to the user, e.g. ``%USERPROFILE%\Desktop``�CSIDL_DESKTOPDIRECTORYrqr>s&r�user_desktop_dir�Windows.user_desktop_dir�s���w�w����/G� H�I�Irc��U]6�cPgQQ-!rr)rs"rr�&Windows.user_projects_dir.__annotate__�s��B�B�3�Brc
�|�[OO[OOQ22!)zN:returns: projects directory tied to the user, e.g. ``%USERPROFILE%\Projects``z
~/Projects)rrr�
expanduserr>s&r�user_projects_dir�Windows.user_projects_dir�s(���w�w������ 2� 2�<� @�A�Arc��U]6�cPgQQ-!rr)rs"rr�)Windows.user_publicshare_dir.__annotate__�s��i�i�c�irc

���[OO[OO	Q[[
Q2O2OQ*222!)z9:returns: public share directory e.g. ``C:\Users\Public``�PUBLIC�~�Public)	rrr�environ�getrrr��parentr>s&r�user_publicshare_dir�Windows.user_publicshare_dir�sF���w�w����
�
���x��T�#�Y�=Q�=Q�=S�=Z�=Z�]e�=e�9f� g�h�hrc��U]6�cPgQQ-!rr)rs"rr�'Windows.user_templates_dir.__annotate__�s��t�t�C�trc	
��[OO[[	[Q22Q*Q*Q*22!)z]:returns: templates directory tied to the user e.g. ``%APPDATA%\Microsoft\Windows\Templates``r�	Microsoftr	�	Templates�rrrrrrr>s&r�user_templates_dir�Windows.user_templates_dir�s9���w�w����D���)H�$I�K�$W�Zc�$c�fq�$q� r�s�src��U]6�cPgQQ-!rr)rs"rr�#Windows.user_fonts_dir.__annotate__�s��v�v��vrc	
��[OO[[	[Q22Q*Q*Q*22!)zZ:returns: fonts directory tied to the user e.g. ``%LOCALAPPDATA%\Microsoft\Windows\Fonts``rr�r	�Fontsr�r>s&r�user_fonts_dir�Windows.user_fonts_dir�s;���w�w����D��8M�)N�$O�R]�$]�`i�$i�ls�$s� t�u�urc��U]6�cPgQQ-!rr)rs"rr�(Windows.user_preference_dir.__annotate__�s��$�$�S�$rc
��UO!)zL:returns: preference directory tied to the user, same as ``user_config_dir``)r?r>s&r�user_preference_dir�Windows.user_preference_dir�s���#�#�#rc��U]6�cPgQQ-!rr)rs"rr�!Windows.user_bin_dir.__annotate__�s��a�a�c�arc
��[OO[OO[	Q2Q22!)zJ:returns: bin directory tied to the user, e.g. ``%LOCALAPPDATA%\Programs``r�Programs�rrrr,rr>s&r�user_bin_dir�Windows.user_bin_dir�s/���w�w��������^�<Q�-R�T^� _�`�`rc��U]6�cPgQQ-!rr)rs"rr�!Windows.site_bin_dir.__annotate__�s��]�]�c�]rc
��[OO[OO[	Q2Q22!)zC:returns: bin directory shared by users, e.g. ``C:\ProgramDatain``r4�binr�r>s&r�site_bin_dir�Windows.site_bin_dir�s/���w�w��������^�<R�-S�UZ� [�\�\rc��U]6�cPgQQ-!rr)rs"rr�*Windows.user_applications_dir.__annotate__�s��B�B�s�Brc
�T�[OO[Q22!)zO:returns: applications directory tied to the user, e.g. ``Start Menu\Programs``�CSIDL_PROGRAMSrqr>s&r�user_applications_dir�Windows.user_applications_dir�rtrc��U]6�cPgQQ-!rr)rs"rr�*Windows.site_applications_dir.__annotate__�s��I�I�s�Irc
�T�[OO[Q22!)zo:returns: applications directory shared by users, e.g. ``C:\ProgramData\Microsoft\Windows\Start Menu\Programs``�CSIDL_COMMON_PROGRAMSrqr>s&r�site_applications_dir�Windows.site_applications_dir�s���w�w����/F� G�H�Hrc��U]6�cPgQQ-!rr)rs"rr�%Windows.user_runtime_dir.__annotate__�s��(�(�#�(rc
��[OO[OO[	Q2Q22oUOU2!)zk:returns: runtime directory tied to the user, e.g. ``%USERPROFILE%\AppData\Local\Temp\$appauthor\$appname``r�Temp)rrrr,rrr6s& r�user_runtime_dir�Windows.user_runtime_dir�s?���w�w��������^�<Q�-R�TZ� [�\���!�!�$�'�'rc��U]6�cPgQQ-!rr)rs"rr�%Windows.site_runtime_dir.__annotate__�s��%�%�#�%rc
��UO!)zG:returns: runtime directory shared by users, same as `user_runtime_dir`)r�r>s&r�site_runtime_dir�Windows.site_runtime_dir�s���$�$�$rr)#�__name__�
__module__�__qualname__�__firstlineno__�__doc__�propertyr rr7r?rFrNrSrYr^rerkrrryrr�r�r�r�r�r�r�r�r�r�r�r�r�r��__static_attributes__rrrr	r	sK����(��(�
�d�
��(��(�
�"��"��"��"��?��?�
�?��?�
�"��"��"��"����������B��B��C��C��D��D��A��A��A��A��J��J��B��B��i��i��t��t��v��v��$��$��a��a��]��]��B��B��I��I��(��(�
�%��%rr	c�"�U]6�cPgQQQQ-!�r�
csidl_namerr
r)rs"rr�)get_win_folder_from_env_vars.__annotate__�s����S��S�rc���[U2oUdU!QQQQQQ-OU2oUeQU0o[U2g[OOU2oUeQU0o[U2gU!)	z&Get folder from environment variables.r�APPDATAr4�ALLUSERSPROFILEr�LOCALAPPDATA�Unknown CSIDL name: zUnset environment variable: )�(get_win_folder_if_csidl_name_not_env_varr��
ValueErrorrr�)r��result�env_var_name�msgs&   r�get_win_folder_from_env_varsr��s���
5�j�
A�F�
���
�	��� 1��~��
�c�*�o�	�
��$�Z�L�1����o��
�Z�Z�^�^�L�
)�F�
�~�,�\�N�;����o���Mrc�"�U]6�cPgQQQQ-!)rr�rr
r$r)rs"rr�5get_win_folder_if_csidl_name_not_env_var.__annotate__�s��"�"��"��"rc�@�UQ6XcS[OO[OO[OQ*2Q2!UQ6XcS[OO[OO[OQ*2Q2!UQ6XcS[OO[OO[OQ*2Q2!UQ6XcS[OO[OO[OQ*2Q	2!UQ
6XcS[OO[OO[OQ*2Q2!UQ6XcV[OO[OO[OQ
*2QQQQ2!UQ6Xc}[OO[OO[OOQ[OOQQ222QQQQ2!P!)zMGet a folder for a CSIDL name that does not exist as an environment variable.rp�USERPROFILE�	Documentsrx�	Downloadsr~�Picturesr��Videosr��Musicr�r�r�r	z
Start Menur�r��PROGRAMDATAr�zC:\ProgramData)rrr,rr�r�)r�s&rr�r��s����%�%��w�w�|�|�B�G�G�,�,�R�Z�Z�
�-F�G��U�U��&�&��w�w�|�|�B�G�G�,�,�R�Z�Z�
�-F�G��U�U��'�'��w�w�|�|�B�G�G�,�,�R�Z�Z�
�-F�G��T�T��_�$��w�w�|�|�B�G�G�,�,�R�Z�Z�
�-F�G��R�R��_�$��w�w�|�|�B�G�G�,�,�R�Z�Z�
�-F�G��Q�Q��%�%��w�w�|�|��G�G���R�Z�Z�	�2�3�����
�	
��,�,��w�w�|�|��G�G���R�Z�Z�^�^�M�2�:�:�>�>�J[�]n�;o�p�q�����
�	
�rc�"�U]6�cPgQQQQ-!r�r)rs"rr�)get_win_folder_from_registry.__annotate__�s��#�#�S�#�S�#rc�X�QQ.oQQQQQQQQ	Q
QQQ
QQQQQQQQ-
OU2oUeQU0o[U2g[OQ6wc[g]PHoV7c
UOLUOoUOUQ2oUOVb2vqx[U2!)z�Get folder from the registry.

This is a fallback technique at best. I'm not sure if using the registry for these guarantees us the correct answer
for all CSIDL_* names.

r4r�r�AppDatazCommon AppDatarz
Local AppDatarp�Personalrx�&{374DE290-123F-4565-9164-39C4925E467B}r~zMy Picturesr�zMy Videor�zMy Musicr�r�zCommon Programsr��win32z@Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders)r�r��sys�platform�NotImplementedError�winreg�HKEY_LOCAL_MACHINE�HKEY_CURRENT_USER�OpenKey�QueryValueExr)	r��
machine_names�shell_folder_namer�r�hkey�key�	directory�_s	&        r�get_win_folder_from_registryr�s���	���M�
	��� 0����*��C��M������*��!2��
�c�*�o��� �$�Z�L�1����o��
�|�|�w��!�!��)3�(C�6�$�$��Ia�Ia�D�
�.�.��b�
c�C��&�&�s�>�L�I��y�>�rrz&{3EB685DB-65F9-4CF6-A03A-E3EF65729F3D}r4z&{62AB5D82-FDC1-4DC3-A9DD-070D1D495D97}rz&{F1B32785-6FBA-4FCF-9D55-7B8E7F157091}rpz&{FDD39AD0-238F-46AF-ADB4-6C85480369C7}r~z&{33E28130-4E1E-4676-835A-98395C3BC3BB}r�z&{18989B1D-99B5-455B-841C-AB7C74E4DDFC}r�z&{4BD8D571-6D19-48D3-BE97-422220080E43}rxrr�z&{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}r�z&{A77F5D77-2E2B-44C3-A6A2-ABA601054A51}r�z&{0139D44E-6AFE-49F2-8690-3DAFCAE6FFB8}zdict[str, str]�_KNOWN_FOLDER_GUIDSc�"�U]6�cPgQQQQ-!r�r)rs"rr�&get_win_folder_via_ctypes.__annotate__1s��6�6�#�6�#�6rc��`�[OQ6wc[g]QHGoGoGoGoGoG	oG
nU1QkQU2oUQ2oVOmROUU2,UOmPUOmRO ,UOmUQ2o	VO"mUU2RO$RO&URO(2,U	O"mUQ2o
RO$U
O*mRO(RO(RO$,U
O*m[,O/U2oUeQU0o[1U2gU2o
UOV�U
22RO)2oU	O#UU
2[2PUU22UO4oUOU2UeQ	U0o[1U2g[69PIcQ
U2D%fJP	L	P
LQ
U22%c.UQ2oU
O+UUQ2%c
UO4oU!)z�Get folder via :func:`SHGetKnownFolderPath`.

See https://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shgetknownfolderpath.

r)�HRESULT�POINTER�	Structure�WinDLL�byref�create_unicode_buffer�wintypesc�:�\sQsQsQYO1QYO
1QYO
1QYO]*1,sQsP!)z(get_win_folder_via_ctypes.<locals>._GUID�;�Data1�Data2�Data3�Data4r)	r�r�r�r��DWORD�WORD�BYTE�_fields_r�)rs�r�_GUID�(get_win_folder_via_ctypes.<locals>._GUID;s?���
�h�n�n�%�
�h�m�m�$�
�h�m�m�$�
�h�m�m�a�'�(�	
�rr'�ole32�shell32�kernel32r�z'SHGetKnownFolderPath returned NULL for c3�J�SF �Do[U2]�6�w�	J	P!3h)�)�ord)�.0�cs& r�	<genexpr>�,get_win_folder_via_ctypes.<locals>.<genexpr>bs������A�3�q�6�C�<��s�#�)rrr�ctypesrrrrrrr�CLSIDFromString�restype�	LPCOLESTR�argtypes�
CoTaskMemFree�LPVOID�SHGetKnownFolderPathr#�HANDLE�LPWSTR�GetShortPathNameWrr�r�r�value�any)r�rrrrrrr'r)r*r+�folder_guidr��guid�path_ptrr��bufrs&                @r�get_win_folder_via_ctypesrE1s�����|�|�w��!�!�b�b�b�
�	�
�
�7�O�E�$+���!�&.�&8�&8�'�%�.�%I�E���"�"&�E����$,�O�O�#4�E��� ��Y��G�+2� � �(�-4�U�^�X�^�^�X�_�_�^e�fn�fu�fu�^v�,w�G� � �)��j�!�H�)1���H���&�+3�?�?�H�O�O�X�^�^�*\�H���'�%�)�)�*�5�K���$�Z�L�1����o���7�D�	���+�u�T�{�3���� �H�� � ��t��.B�D�%�PX�/�Z�
�^�^�F�	����!�
�~�7�
�|�D����o��
�s�
(��
(�s�s�s�
(��
(�(�(�#�D�)���%�%�f�c�4�8�8��Y�Y�F��Mrc��U]6�cPgQQ-!)rr
zCallable[[str], str]r)rs"rr�!_pick_get_win_folder.__annotate__js��
,�
,�2�
,rc��]PHo[![cLh9h]PHo[![c
[
t!h9h)zjSelect the best method to resolve Windows folder paths: ctypes, then registry, then environment variables.)r4rE�ImportErrorrrr�)r4rs  r�_pick_get_win_folderrJjsM��)��)�(���
��
��,��,�+���,�+�+�,�s �
�	���)�	=�=�=c�"�U]6�cPgQQQQ-!r�r)rs"rr�get_win_folder.__annotate__}s��	+�	+�s�	+�s�	+rc��QUOQ20o[OOUP2O	29o%cU![U2!)z�Get a Windows folder path, checking for ``WIN_PD_OVERRIDE_*`` environment variable overrides first.

For example, ``CSIDL_LOCAL_APPDATA`` can be overridden by setting ``WIN_PD_OVERRIDE_LOCAL_APPDATA``.

�WIN_PD_OVERRIDE_�CSIDL_)�removeprefixrr�r��strip�_resolve_win_folder)r��env_var�overrides&  rrr}sO��!��!8�!8��!B� C�D�G��:�:�>�>�'�2�.�4�4�6�6�x�6����z�*�*r)�__conditional_annotations__r��
__future__rrr�pathlibr�typingrr�apir�collections.abcrr�__annotations__r	r�r�rrrErJrRr�__all__)rUs@r�<module>r]s�����"�	�
��'� ��(�$.��j�-�l%�o�l%�^�*"�J#�N�=��D��C��>��@��=��=��?��F��>��E�'��^��6�r
,� +�,��	+���r

Youez - 2016 - github.com/yon3zu
LinuXploit