403Webshell
Server IP : 74.208.236.16  /  Your IP : 216.73.216.220
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u102440577 ( 7172810)
PHP Version : 8.4.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/lib/python3/dist-packages/setuptools/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/setuptools/__pycache__/sandbox.cpython-313.pyc
�

�h::����SSKJr SSKrSSKrSSKrSSKrSSKrSSKrSSKrSSK	r	SSK
r
SSKrSSKrSSK
Jr SSKJrJrJr SSKrSSKJr SSKJr \(aSSKrOI\
R0R3S5(aSSKJs Js Js Jr O\
R8\R>r\ r!\(aSSK"J#r# /S	Qr$S#S
jr%\RLS#Sj5r'\RLS5r(\RLS
5r)\RLS5r*"SS\+5r,"SS5r-\RLS5r.Sr/\RLS5r0\RLS5r11Skr2Sr3Sr4Sr5"SS5r6\7"\S5(a\Rp/r9O/r9"SS\65r:\Rv"\RxS R{5Vs/sH
n\>"\US5PM sn5r?"S!S"\5r@gs snf)$�)�annotationsN)�
TracebackType)�
TYPE_CHECKING�Any�ClassVar)�working_set)�DistutilsError�java)�Self)�AbstractSandbox�DirectorySandbox�SandboxViolation�	run_setupc��Sn[X5nUR5nSSS5 UcUn[WUS5n[XaU5 g!,(df   N-=f)z&
Python 3 implementation of execfile.
�rbN�exec)�open�read�compiler)�filename�globals�locals�mode�stream�script�codes       �4/usr/lib/python3/dist-packages/setuptools/sandbox.py�	_execfiler*sN���D�	
�h�	�������
�
�~����6�8�V�,�D�����
�	�s�A�
Ac#�# �[RSSnUbU[RSS&Uv� U[RSS&g!U[RSS&f=f7f�N)�sys�argv)�repl�saveds  r�	save_argvr%7sI����H�H�Q�K�E�������������������e������s�*A�A�A�A�Ac#�# �[RSSnUv� U[RSS&g!U[RSS&f=f7fr )r!�path�r$s r�	save_pathr)Bs6����H�H�Q�K�E�����������e������s�A�/�A�A�Ac#�# �[R"USS9 [RnU[lSv� U[lg!U[lf=f7f)zD
Monkey-patch tempfile.tempdir with replacement, ensuring it exists
T)�exist_okN)�os�makedirs�tempfile�tempdir)�replacementr$s  r�
override_tempr1Ks@���
�K�K��d�+����E�"�H��!�
� ����5���s�1A�A�A�
A�Ac#��# �[R"5n[R"U5 Uv� [R"U5 g![R"U5 f=f7fr )r,�getcwd�chdir)�targetr$s  r�pushdr6\s<����I�I�K�E��H�H�V�����
�����������s�,A%�A
�A%�
A"�"A%c�(�\rSrSrSr\S5rSrg)�UnpickleableException�fzH
An exception representing another Exception that could not be pickled.
c	���[R"U5[R"U54$![a) SSKJn URX""[
U555s$f=f)zq
Always return a dumped (pickled) type and exc. If exc can't be pickled,
wrap it in UnpickleableException first.
r)r8)�pickle�dumps�	Exception�setuptools.sandboxr8�dump�repr)�type�exc�clss   rr?�UnpickleableException.dumpksO��	1��<�<��%�v�|�|�C�'8�8�8���	1�G��8�8�C��T�#�Y��0�0�		1�s�+.�0A!� A!�N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�staticmethodr?�__static_attributes__rE�rr8r8fs����1��1rMr8c�B�\rSrSrSrSSjrS	SjrSrSrg)
�ExceptionSaver�zzQ
A Context Manager that will save an exception, serialize, and restore it
later.
c��U$r rE��selfs r�	__enter__�ExceptionSaver.__enter__�s���rMc�T�U(dg[RX5UlX0lg)NFT)r8r?�_saved�_tb)rSrArB�tbs    r�__exit__�ExceptionSaver.__exit__�s(����,�0�0��;�����rMc��S[U5;ag[[RUR5upURUR5e)z"restore and re-raise any exceptionrWN)�vars�mapr;�loadsrW�with_tracebackrX)rS�_typerBs   r�resume�ExceptionSaver.resume�s>���4��:�%������t�{�{�3�
��� � ����*�*rM)rWrXN)�returnr)rA�type[BaseException] | NonerB�BaseException | NonerY�TracebackType | Nonerd�bool)	rFrGrHrIrJrTrZrbrLrErMrrOrOzs<���
��(��"��
!�	�

�� +rMrOc#�B^# �[RR5m[5nTv� SSS5 [RR	T5 U4Sj[R5n[U5 WR
5 g!,(df   Nc=f7f)z�
Context in which imported modules are saved.

Translates exceptions internal to the context into the equivalent exception
outside the context.
Nc3�h># �UH'nUT;dMURS5(aM#Uv� M) g7f)z
encodings.N��
startswith)�.0�mod_namer$s  �r�	<genexpr>�save_modules.<locals>.<genexpr>�s7�����#�H��5� �	��#�#�L�1�		��#�s�
2�2�	2)r!�modules�copyrO�update�_clear_modulesrb)�	saved_exc�del_modulesr$s  @r�save_modulesrw�sq����
�K�K����E�	�	�Y���
��K�K���u�������K��;��
����
�	�s�)B�B�AB�
B�Bc�J�[U5Hn[RU	M gr )�listr!rq)�module_namesrns  rrtrt�s����&���K�K��!�'rMc#�# �[R"5nUv� [R"U5 g![R"U5 f=f7fr )�
pkg_resources�__getstate__�__setstate__r(s r�save_pkg_resources_stater�s9����&�&�(�E�*����"�"�5�)��
�"�"�5�)�s�A�4�A�A�Ac#�2# �[RRUS5n[5 [	5 [5 [
5 [5 [U5 [U5 [S5 Sv� SSS5 SSS5 SSS5 SSS5 SSS5 SSS5 g!,(df   N7=f!,(df   N@=f!,(df   NI=f!,(df   NR=f!,(df   N[=f!,(df   g=f7f)N�temp�
setuptools)r,r'�joinrrwr)�hide_setuptoolsr%r1r6�
__import__)�	setup_dir�temp_dirs  r�
setup_contextr��s�����w�w�|�|�I�v�.�H�	!�	#�
�^����!��[�&�x�0�"�9�-�&�|�4�!�.�1�!���
$�	#�.�-��1�0��!�[������^��
$�	#�s��+D�D�C5�C$�C	�$C�0B1
�C�C	�C$�C5� D�(	D�1
B?�;C�
C�C	�
C!
�C$�$
C2�.C5�5
D	�?D�
D�D>�Cython�	distutilsr�r|�_distutils_hackc�>�URSS5SnU[;$)a
>>> _needs_hiding('setuptools')
True
>>> _needs_hiding('pkg_resources')
True
>>> _needs_hiding('setuptools_plugin')
False
>>> _needs_hiding('setuptools.__init__')
True
>>> _needs_hiding('distutils')
True
>>> _needs_hiding('os')
False
>>> _needs_hiding('Cython')
True
�.�r)�split�_MODULES_TO_HIDE)rn�base_modules  r�
_needs_hidingr��s%��"�.�.��a�(��+�K��*�*�*rMc��[RRSS5nUbUR5 [	[
[R5n[
U5 g)a
Remove references to setuptools' modules from sys.modules to allow the
invocation to import the most appropriate setuptools. This technique is
necessary to avoid issues such as #315 where setuptools upgrading itself
would fail to find a function declared in the metadata.
r�N)r!rq�get�_remove_shim�filterr�rt)r�rqs  rr�r��sC���k�k�o�o�&7��>�O��"��$�$�&��]�C�K�K�0�G��7�rMc��[RR[RRU55n[	U5 U/[U5-[RSS&[RRSU5 [R"5 [RRS5 [U5 [USS9n[X5 SSS5 SSS5 g!,(df   N=f![ a0nUR"(aUR"S(aeSnANOSnAff=f!,(df   g=f)z8Run a distutils setup script, sandboxed in its directoryNrc�"�UR5$r )�activate)�dists r�<lambda>�run_setup.<locals>.<lambda>
s
��d�m�m�orM�__main__)�__file__rF)r,r'�abspath�dirnamer�ryr!r"�insertr�__init__�	callbacks�appendr
�dictr�
SystemExit�args)�setup_scriptr�r��ns�vs     rrrs�������������� =�>�I�	�y�	!�	�'�.�4��:�5�C�H�H�Q�K��H�H�O�O�A�y�)�� � �"��!�!�(�(�)E�F�!�)�,��<�*�E���,�+�-�
"�	!�-�,���	��v�v�!�&�&��)����	��
"�	!�sU�D?�
BD�
C1� D�1
C?	�;D�>D?�?D�
D<�&D7�2D?�7D<�<D?�?
E
c��\rSrSrSrSrSSjrSrSSjrSSjr	Sr
SS	jrS
H#r\
"\\5(dM\"\5\"5\'M% SSSjjr\"S
\5rSH#r\
"\\5(dM\"\5\"5\'M% SSjrSH#r\
"\\5(dM\"\5\"5\'M% SSjrSH#r\
"\\5(dM\"\5\"5\'M% SrSrSrSr\(aSSjrSrgSrg)rizDWrap 'os' module and 'open()' builtin for virtualizing setup scriptsFc��[[5Vs/sH/nURS5(aM[X5(dM-UPM1 snUlgs snf)N�_)�dir�_osrl�hasattr�_attrs�rS�names  rr��AbstractSandbox.__init__sE���C��
� ���?�?�3�'�
�,3�D�,?�
� �
����
s�A�A�Ac	�^�URHn[[U[X55 M gr )r��setattrr,�getattr)rS�sourcer�s   r�_copy�AbstractSandbox._copy!s!���K�K�D��B��g�f�3�4� rMc�^�URU5 UR[lSUlg)NT)r��_open�builtinsr�_activerRs rrT�AbstractSandbox.__enter__%s ���
�
�4���
�
��
���rMc�Z�SUl[[lUR	[
5 g�NF)r�r�r�rr�r�)rS�exc_type�	exc_value�	tracebacks    rrZ�AbstractSandbox.__exit__*s�������
��
�
�3�rMc�J�U U"5sSSS5 $!,(df   g=f)zRun 'func' under os sandboxingNrE)rS�funcs  r�run�AbstractSandbox.run4s��
��6��T�T�s��
"c�8^^�[[T5mUU4SjnU$)Nc�p>�UR(aUR"TX/UQ70UD6upT"X/UQ70UD6$r )r��_remap_pair)rS�src�dstr��kwr��originals     ��r�wrap�3AbstractSandbox._mk_dual_path_wrapper.<locals>.wrap<s=����|�|��+�+�D�#�H�T�H�R�H����C�2�t�2�r�2�2rM�r�r��r�r�r�s` @r�_mk_dual_path_wrapper�%AbstractSandbox._mk_dual_path_wrapper9s����3��%��	3�
�rM)�rename�link�symlinkNc�J^^�T=(d [[T5mUU4SjnU$)Nc�l>�UR(aUR"TU/UQ70UD6nT"U/UQ70UD6$r )r��_remap_input�rSr'r�r�r�r�s    ��rr��5AbstractSandbox._mk_single_path_wrapper.<locals>.wrapJs;����|�|��(�(��t�A�d�A�b�A���D�.�4�.�2�.�.rMr�)r�r�r�s`` r�_mk_single_path_wrapper�'AbstractSandbox._mk_single_path_wrapperGs ����1�w�s�D�1��	/�
�rMr)�stat�listdirr4r�chmod�chown�mkdir�remove�unlink�rmdir�utime�lchown�chroot�lstat�	startfile�mkfifo�mknod�pathconf�accessc�8^^�[[T5mUU4SjnU$)Nc�>�UR(a3UR"TU/UQ70UD6nURTT"U/UQ70UD65$T"U/UQ70UD6$r )r�r��
_remap_outputr�s    ��rr��4AbstractSandbox._mk_single_with_return.<locals>.wrapms]����|�|��(�(��t�A�d�A�b�A���)�)�$���0K��0K��0K�L�L��D�.�4�.�2�.�.rMr�r�s` @r�_mk_single_with_return�&AbstractSandbox._mk_single_with_returnjs����3��%��	/��rM)�readlink�tempnamc�8^^�[[T5mUU4SjnU$)Nc�^>�T"U0UD6nUR(aURTU5$U$r )r�r�)rSr�r��retvalr�r�s    ��rr��'AbstractSandbox._mk_query.<locals>.wrap|s1����t�*�r�*�F��|�|��)�)�$��7�7��MrMr�r�s` @r�	_mk_query�AbstractSandbox._mk_queryys����3��%��	��rM)r3�tmpnamc��U$)z=Called to remap or validate any path, whether input or outputrE)rSr's  r�_validate_path�AbstractSandbox._validate_path�s���rMc�$�URU5$�zCalled for path inputs�r�rS�	operationr'r�r�s     rr��AbstractSandbox._remap_input�����"�"�4�(�(rMc�$�URU5$)zCalled for path outputsr)rSrr's   rr��AbstractSandbox._remap_output�r
rMc�j�UR"US-U/UQ70UD6UR"US-U/UQ70UD64$)�?Called for path pairs like rename, link, and symlink operationsz-fromz-to)r��rSrr�r�r�r�s      rr��AbstractSandbox._remap_pair�sL��
���i�'�1�3�D��D��D����i�%�/��B�t�B�r�B�
�	
rMc��gr rEr�s  r�__getattribute__� AbstractSandbox.__getattribute__�s��crM)r�r��rd�None)r�rer�rfr�rg)r��strr )r�rrdr)rFrGrHrIrJr�r�r�rTrZr�r��_AbstractSandbox__namer�r�rr�r�r�r�rr�r�r�rrrLrErMrrrs.��N��G�
�5��
�,��(��(�	��
�0���3����4�V�<�F�H�V��0��
$�F�E�2�E���*�3����6�v�>�F�H�V��-�0	�*���3����5�f�=�F�H�V��*�	�'���3����(��0�F�H�V��'��)�)�
��	:�rMr�devnullc��\rSrSr%Sr\R
/SQ5rS\S'/r	S\S'\
4SSjjrS	rSS
jr
SSjrSrS
rSrSrSSSjjrSrg)r
i�z<Restrict operations to a single subdirectory - pseudo-chroot)
rr�r�r�r�r�r�r�r�r�r�r�r�zClassVar[dict[str, None]]�	write_opszlist[str | re.Pattern]�_exception_patternsc��[RR[RRU55Ul[RRURS5UlUVs/sH?n[RR[RRU55PMA snUl[RU5 gs snf)N�)
r,r'�normcase�realpath�_sandboxr��_prefix�_exceptionsrr�)rS�sandbox�
exceptionsr's    rr��DirectorySandbox.__init__�s������(�(����)9�)9�'�)B�C��
��w�w�|�|�D�M�M�2�6���AK�
�AK��B�G�G���R�W�W�-�-�d�3�4��
���	� � ��&��
s�5ACc� �SSKJn U"XU5e)Nr)r)r>r)rSrr�r�rs     r�
_violation�DirectorySandbox._violation�s��7��y��3�3rMc��US;a-URU5(dUR"SX/UQ70UD6 [X/UQ70UD6$)N)�r�rtr�rU�Ur)�_okr'r�)rSr'rr�r�s     rr��DirectorySandbox._open�sD���3�3�D�H�H�T�N�N��O�O�F�D�<��<��<��T�-�$�-�"�-�-rMc�&�URS5 g)Nr)r'rRs rr�DirectorySandbox.tmpnam�s������!rMc�V�URnSUl[RR[RR	U55nURU5=(d0 X0R:H=(d URUR5X l$!X lf=fr�)	r�r,r'rr�	_exemptedr rlr!)rSr'�activers    rr.�DirectorySandbox._ok�s~������		"� �D�L��w�w�'�'����(8�(8��(>�?�H����x�(�5��}�}�,�5��&�&�t�|�|�4�
�"�L��6�L�s�B
B � B(c�^�U4SjUR5nU4SjUR5n[R"X#5n[	U5$)Nc3�F># �UHnTRU5v� M g7fr rk)rm�	exception�filepaths  �rro�-DirectorySandbox._exempted.<locals>.<genexpr>�s#����
�<L�y�H���	�*�*�<L�s�!c3�R># �UHn[R"UT5v� M g7fr )�re�match)rm�patternr9s  �rror:�s#����
�7O�G�B�H�H�W�h�'�'�7O�s�$')r"r�	itertools�chain�any)rSr9�
start_matches�pattern_matches�
candidatess `   rr3�DirectorySandbox._exempted�sG���
�<@�<L�<L�
�
�
�7;�7O�7O�
���_�_�]�D�
��:��rMc��XR;aJURU5(d4UR"U[RRU5/UQ70UD6 U$r)rr.r'r,r'rrs     rr��DirectorySandbox._remap_input�sD�����&�t�x�x��~�~��O�O�I�r�w�w�'7�'7��'=�K��K��K��rMc��URU5(aURU5(dUR"XU/UQ70UD6 X#4$)r)r.r'rs      rr��DirectorySandbox._remap_pair�s;���x�x��}�}�D�H�H�S�M�M��O�O�I�C�=�$�=�"�=��z�rMc��U[-(a.URU5(dUR"SXU/UQ70UD6 [R"XU/UQ70UD6$)zCalled for low-level os.open()zos.open)�WRITE_FLAGSr.r'r�r)rS�file�flagsrr�r�s      rr�DirectorySandbox.open�sK���;��t�x�x��~�~��O�O�I�t�D�F�4�F�2�F��x�x��T�7�D�7�B�7�7rM)r�r"r!r Nr)r*)i�)r�intrdrO)rFrGrHrIrJr��fromkeysr�__annotations__r�_EXCEPTIONSr�r'r�rr.r3r�r�rrLrErMrr
r
�sf��F�+/�=�=�:�,�I�(�� 35��/�4�4�+6�'�4�
.�
"�"����8�8rMr
z4O_WRONLY O_RDWR O_APPEND O_CREAT O_TRUNC O_TEMPORARYc�b�\rSrSrSr\R"S5R5rSSjr	Sr
g)rizEA setup script attempted to modify the filesystem outside the sandboxa
        SandboxViolation: {cmd}{args!r} {kwargs}

        The package setup script has attempted to modify files on your system
        that are not within the EasyInstall build area, and has been aborted.

        This package cannot be safely installed by EasyInstall, and may not
        support alternate installation locations even if you run its setup
        script by hand.  Please inform the package's author and the EasyInstall
        maintainers to find out if a fix or workaround is available.
        c�h�URupnURR"S0[5D6$)NrE)r��tmpl�formatr)rS�cmdr��kwargss    r�__str__�SandboxViolation.__str__s*�� �I�I���6��y�y���+�&�(�+�+rMrEN)rdr)rFrGrHrIrJ�textwrap�dedent�lstriprUrYrLrErMrrrs)��O��?�?�
	��
�f�h�	�,rMrr )A�
__future__rr��
contextlib�	functoolsr?�operatorr,r;r<r!r.r[�typesr�typingrrrr|r�distutils.errorsr	r��platformrl�$org.python.modules.posix.PosixModule�pythonrq�posix�PosixModuler�rr��typing_extensionsr�__all__r�contextmanagerr%r)r1r6r=r8rOrwrtrr�r�r�r�rrr�rrRr
�reduce�or_r�r�rKr)�as0r�<module>rps��"������	�
�	�
����/�/��%�+����\�\���V�$�$�6�6�

�+�+�b�g�g�
�C����&���
 ����������������
!��
!� ������1�I�1�( +� +�F������2"�
���*��*����"��"���+�*��(I:�I:�X�2�y����:�:�,�K��K�R8��R8�j����L�L�H�M�M�O��O�A�	��Q���O����,�~�,��s�G(

Youez - 2016 - github.com/yon3zu
LinuXploit