403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/setuptools/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/setuptools/__pycache__/sandbox.cpython-314.pyc
+
�h::����^RIHt^RIt^RIt^RIt^RIt^RIt^RIt^RIt^RI	t	^RI
t
^RIt^RIt^RI
Ht^RIHtHtHt^RIt^RIHt^RIHt]'d^RItMN]
P0P3R4'd^RIHuHuHuHtM]
P8]P>,t] t!]'d^RI"H#t#.R!Ot$R"Rlt%]PLR"R
l4t']PLR4t(]PLR4t)]PLR4t*!RR]+4t,!RR4t-]PLR4t.Rt/]PLR4t0]PLR4t10R#mt2Rt3Rt4Rt5!RR	4t6]7!]R4'd]Pp.t9M.t9!RR
]64t:]Pv!]PxRP{4Uu.uF
p]>!]V^4NK	up4t?!R R]4t@R#uupi)$�)�annotationsN)�
TracebackType)�
TYPE_CHECKING�Any�ClassVar)�working_set)�DistutilsError�java)�Self�AbstractSandbox�DirectorySandbox�SandboxViolationc���Rp\W4;_uu_4pVP4pRRR4VfTp\XVR4p\WaV4R# +'giL1;i)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*sQ���D�	
�h�	�	�������
�
�~����6�8�V�,�D�����
�	�s�A�A 	c#��"�\PR,pVeV\PR&Vx�V\PR&R# T\PR&i;i5i��NNNN)�sys�argv)�repl�saveds& r�	save_argvr%7sI����H�H�Q�K�E�������������������e������s�/A#�A�A#�A � A#c#�"�\PR,pVx�V\PR&R# T\PR&i;i5ir)r!�path�r$s r�	save_pathr)Bs6����H�H�Q�K�E�����������e������s�A�4�A�A	�	Ac#�"�\P!VRR7\PpV\nRx�V\nR# T\ni;i5i)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�4A�A�
A�
A�Ac#��"�\P!4p\P!V4Vx�\P!V4R# \P!T4i;i5i�N)r,�getcwd�chdir)�targetr$s& r�pushdr7\s<����I�I�K�E��H�H�V�����
�����������s�,A&�A�A&�A#�#A&c�*�]tRt^ftRt]R4tRtR#)�UnpickleableExceptionzH
An exception representing another Exception that could not be pickled.
c	
���\P!V4\P!V43# \d*^RIHpTPY"!\
T444u#i;i)zq
Always return a dumped (pickled) type and exc. If exc can't be pickled,
wrap it in UnpickleableException first.
)r9)�pickle�dumps�	Exception�setuptools.sandboxr9�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�+.�1A"�!A"�N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�staticmethodr?�__static_attributes__rE�rr9r9fs����1��1rMr9c�8�]tRt^ztRtRRltRRltRtRtR#)	�ExceptionSaverzQ
A Context Manager that will save an exception, serialize, and restore it
later.
c��V^8�dQhRR/#)��returnrrE)�formats"r�__annotate__�ExceptionSaver.__annotate__�s����4�rMc	��V#r3rE��selfs&r�	__enter__�ExceptionSaver.__enter__�s���rMc�(�V^8�dQhRRRRRRRR/#)	rQrA�type[BaseException] | NonerB�BaseException | None�tb�TracebackType | NonerR�boolrE)rSs"rrTrU�s2����(��"��
!�	�

�rMc	�Z�V'gR#\PW4VnW0nR#)FT)r9r?�_saved�_tb)rXrArBr^s&&&&r�__exit__�ExceptionSaver.__exit__�s(����,�0�0��;�����rMc
��R\V49dR#\\PVP4wrVPVP4h)z"restore and re-raise any exceptionrbN)�vars�mapr;�loadsrb�with_tracebackrc)rX�_typerBs&  r�resume�ExceptionSaver.resume�s>���4��:�%������t�{�{�3�
��� � ����*�*rM)rbrcN)	rFrGrHrIrJrYrdrlrLrErMrrOrOzs���
�� +rMrOc#�Xa"�\PP4o\4;_uu_4pSx�RRR4\PP	S4V3Rl\P4p\V4XP
4R# +'giLf;i5i)z�
Context in which imported modules are saved.

Translates exceptions internal to the context into the equivalent exception
outside the context.
Nc3�l<"�TF)pVS9gKVPR4'dK%Vx�K+	R#5i)z
encodings.N��
startswith)�.0�mod_namer$s& �r�	<genexpr>�save_modules.<locals>.<genexpr>�s7�����#�H��5� �	��#�#�L�1�		��#�s�	4�4�
4)r!�modules�copyrO�update�_clear_modulesrl)�	saved_exc�del_modulesr$s  @r�save_modulesr|�st����
�K�K����E�	�	�	�Y���
��K�K���u�������K��;��
����
�	�s�1B*�B�AB*�B'	�"B*c�L�\V4Fp\PVK	R#r3)�listr!rv)�module_namesrss& rryry�s����&���K�K��!�'rMc#�"�\P!4pVx�\P!V4R# \P!T4i;i5ir3)�
pkg_resources�__getstate__�__setstate__r(s r�save_pkg_resources_stater��s9����&�&�(�E�*����"�"�5�)��
�"�"�5�)�s�A�5�A�A
�
Ac#�"�\PPVR4p\4;_uu_4\	4;_uu_4\4;_uu_4\
4\4;_uu_4\V4;_uu_4\V4;_uu_4\R4Rx�RRR4RRR4RRR4RRR4RRR4RRR4R# +'giL:;i +'giLE;i +'giLP;i +'giL[;i +'giLf;i +'giR#;i5i)�temp�
setuptoolsN)r,r'�joinr�r|r)�hide_setuptoolsr%r1r7�
__import__)�	setup_dir�temp_dirs& r�
setup_contextr��s�����w�w�|�|�I�v�.�H�	!�	#�	#�
�^�^�����!��[�[�&�x�0�0�"�9�-�-�&�|�4�!�.�1�!���
$�	#�.�-��1�0��!�[������^��
$�	#�	#�s��3E�E�D.	�D
�8D�C5� C"�0C5�8D�D
�D.	�E�
E�"C2�-C5�5D�D�D�D
�D+�&D.	�.D>
�9E�E	�	Ec�F�VPR^4^,pV\9#)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
�.)�split�_MODULES_TO_HIDE)rs�base_modules& r�
_needs_hidingr��s%��"�.�.��a�(��+�K��*�*�*rMc��\PPRR4pVeVP4\	\
\P4p\
V4R#)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.
�_distutils_hackN)r!rv�get�_remove_shim�filterr�ry)r�rvs  rr�r��sC���k�k�o�o�&7��>�O��"��$�$�&��]�C�K�K�0�G��7�rMc	���\PP\PPV44p\	V4;_uu_4V.\V4,\PR&\PP^V4\P!4\PPR4\V4;_uu_4\VRR7p\W4RRR4RRR4R# +'giL;i \ d7pTP"'dTP"^,'dhRp?LYRp?ii;i +'giR#;i)z8Run a distutils setup script, sandboxed in its directoryr c�"�VP4#r3)�activate)�dists&r�<lambda>�run_setup.<locals>.<lambda>
s
��d�m�m�orM�__main__)�__file__rFN)r,r'�abspath�dirnamer�r~r!r"�insertr�__init__�	callbacks�appendr
�dictr�
SystemExit�args)�setup_scriptr�r��ns�vs&&   r�	run_setupr�s�������������� =�>�I�	�y�	!�	!�	�'�.�4��:�5�C�H�H�Q�K��H�H�O�O�A�y�)�� � �"��!�!�(�(�)E�F�!�)�,�,��<�*�E���,�+�-�
"�	!�-�,���	��v�v�v�!�&�&��)�)����	��
"�	!�	!�s[�E �BD�D		�7D�	D
�D�E �D�E�'*E�E�E �E�E � E1	c� �]tRtRtRtRtRRltRtRRltR	R
lt	Rt
RR
ltRF$t]
!]]4'gK]!]4]!4]&K&	RRRllt]!R]4tRF$t]
!]]4'gK]!]4]!4]&K&	RRltR F$t]
!]]4'gK]!]4]!4]&K&	RRltR!F$t]
!]]4'gK]!]4]!4]&K&	RtRtRtRt]'dRRltRtR#RtR#)"rizDWrap 'os' module and 'open()' builtin for virtualizing setup scriptsFc��V^8�dQhRR/#�rQrR�NonerE)rSs"rrT�AbstractSandbox.__annotate__s��
�
�$�
rMc	��\\4Uu.uF1pVPR4'dK\W4'gK/VNK3	upVnR#uupi)�_N)�dir�_osrq�hasattr�_attrs�rX�names& rr��AbstractSandbox.__init__sG���C��
� ���?�?�3�'�
�,3�D�,?�
�D� �
����
s�A�A�Ac		�`�VPFp\\V\W44K	R#r3)r��setattrr,�getattr)rX�sourcer�s&& r�_copy�AbstractSandbox._copy!s!���K�K�D��B��g�f�3�4� rMc��V^8�dQhRR/#r�rE)rSs"rrTr�%s����4�rMc	�`�VPV4VP\nRVnR#)TN)r��_open�builtinsr�_activerWs&rrY�AbstractSandbox.__enter__%s ���
�
�4���
�
��
���rMc�$�V^8�dQhRRRRRR/#)rQ�exc_typer\�	exc_valuer]�	tracebackr_rE)rSs"rrTr�*s(����,��(��(�	rMc	�\�RVn\\nVP	\
4R#)FN)r�r�r�rr�r�)rXr�r�r�s&&&&rrd�AbstractSandbox.__exit__*s�������
��
�
�3�rMc
�b�V;_uu_4V!4uuRRR4# +'giR#;i)zRun 'func' under os sandboxingNrE)rX�funcs&&r�run�AbstractSandbox.run4s��
�T��6��T�T�T�s��.	c��V^8�dQhRR/#�rQr��strrE)rSs"rrTr�9s����C�rMc	�8aa�\\S4oVV3RlpV#)c�r<�VP'dVP!SW.VO5/VBwrS!W.VO5/VB#r3)r��_remap_pair)rX�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�sf @r�_mk_dual_path_wrapper�%AbstractSandbox._mk_dual_path_wrapper9s����3��%��	3�
�rMNc��V^8�dQhRR/#r�rE)rSs"rrTr�Gs����c�rMc	�Laa�S;'g\\S4oVV3RlpV#)c�n<�VP'dVP!SV.VO5/VBpS!V.VO5/VB#r3)r��_remap_input�rXr'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�sff r�_mk_single_path_wrapper�'AbstractSandbox._mk_single_path_wrapperGs#����1�1�w�s�D�1��	/�
�rMrc��V^8�dQhRR/#r�rE)rSs"rrTr�js��	�	�S�	rMc	�8aa�\\S4oVV3RlpV#)c�<�VP'd4VP!SV.VO5/VBpVPSS!V.VO5/VB4#S!V.VO5/VB#r3)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�sf @r�_mk_single_with_return�&AbstractSandbox._mk_single_with_returnjs����3��%��	/��rMc��V^8�dQhRR/#r�rE)rSs"rrTr�ys��	�	��	rMc	�8aa�\\S4oVV3RlpV#)c�`<�S!V/VBpVP'dVPSV4#V#r3)r�r�)rXr�r��retvalr�r�s&*, ��rr��'AbstractSandbox._mk_query.<locals>.wrap|s3����t�*�r�*�F��|�|�|��)�)�$��7�7��MrMr�r�sf @r�	_mk_query�AbstractSandbox._mk_queryys����3��%��	��rMc
��V#)z=Called to remap or validate any path, whether input or outputrE)rXr's&&r�_validate_path�AbstractSandbox._validate_path�s���rMc
�$�VPV4#�zCalled for path inputs�r��rX�	operationr'r�r�s&&&*,rr��AbstractSandbox._remap_input�����"�"�4�(�(rMc
�$�VPV4#)zCalled for path outputsr�)rXr�r's&&&rr��AbstractSandbox._remap_output�rrMc
�z�VP!VR,V.VO5/VBVP!VR,V.VO5/VB3#)�?Called for path pairs like rename, link, and symlink operationsz-fromz-to)r��rXr�r�r�r�r�s&&&&*,rr��AbstractSandbox._remap_pair�sL��
���i�'�1�3�D��D��D����i�%�/��B�t�B�r�B�
�	
rMc� �V^8�dQhRRRR/#)rQr�r�rRrrE)rSs"rrTr��s��9�9��9��9rMc	��R#r3rEr�s&&r�__getattribute__� AbstractSandbox.__getattribute__�s��crM)r�r�)�rename�link�symlinkr3)�stat�listdirr5r�chmod�chown�mkdir�remove�unlink�rmdir�utime�lchown�chroot�lstat�	startfile�mkfifo�mknod�pathconf�access)�readlink�tempnam)r4�tmpnam)rFrGrHrIrJr�r�r�rYrdr�r��_AbstractSandbox__namer�r�rr�r�r�r�r�r�r�r�rr
rLrErMrr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��'��)�)�
��	:�9�rM�devnullc��]tRtRt$Rt]P
.RO4tR]R&.t	R]R&]
3RRlltR	tRR
lt
RRltR
tRtRtRtRRRlltRtR#)r
i�z<Restrict operations to a single subdirectory - pseudo-chrootzClassVar[dict[str, None]]�	write_opszlist[str | re.Pattern]�_exception_patternsc��V^8�dQhRR/#r�rE)rSs"rrT�DirectorySandbox.__annotate__�s��'�'�4�'rMc	��\PP\PPV44Vn\PPVPR4VnVUu.uF?p\PP\PPV44NKA	upVn\PV4R#uupi)�N)
r,r'�normcase�realpath�_sandboxr��_prefix�_exceptionsrr�)rX�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	� �^RIHpV!WV4h)r)r)r>r)rXr�r�r�rs&&*, r�
_violation�DirectorySandbox._violation�s��7��y��3�3rMc	��VR9d/VPV4'gVP!RW.VO5/VB\W.VO5/VB#)�rr)r8�rtr�rU�U)�_okr5r�)rXr'rr�r�s&&&*,rr��DirectorySandbox._open�sD���3�3�D�H�H�T�N�N��O�O�F�D�<��<��<��T�-�$�-�"�-�-rMc��V^8�dQhRR/#r�rE)rSs"rrTr)�s��"�"��"rMc	�(�VPR4R#)r"N)r5rWs&rr"�DirectorySandbox.tmpnam�s������!rMc	�Z�VPpRVn\PP\PP	V44pVPV4;'g2W0P8H;'gVPVP4W n# Y ni;i)F)	r�r,r'r,r-�	_exemptedr.rqr/)rXr'�activer-s&&  rr<�DirectorySandbox._ok�s�������		"� �D�L��w�w�'�'����(8�(8��(>�?�H����x�(�5�5��}�}�,�5�5��&�&�t�|�|�4�
�"�L��6�L�s�AB"�)B"�?B"�"B*c	�a�V3RlVP4pV3RlVP4p\P!W#4p\	V4#)c3�F<"�TFpSPV4x�K	R#5ir3rp)rr�	exception�filepaths& �rrt�-DirectorySandbox._exempted.<locals>.<genexpr>�s#����
�<L�y�H���	�*�*�<L�s�!c3�R<"�TFp\P!VS4x�K	R#5ir3)�re�match)rr�patternrHs& �rrtrI�s#����
�7O�G�B�H�H�W�h�'�'�7O�s�$')r0r'�	itertools�chain�any)rXrH�
start_matches�pattern_matches�
candidatess&f   rrB�DirectorySandbox._exempted�sG���
�<@�<L�<L�
�
�
�7;�7O�7O�
���_�_�]�D�
��:��rMc
��WP9dLVPV4'g5VP!V\PPV4.VO5/VBV#r�)r&r<r5r,r'r-r�s&&&*,rr��DirectorySandbox._remap_input�sD�����&�t�x�x��~�~��O�O�I�r�w�w�'7�'7��'=�K��K��K��rMc
��VPV4'dVPV4'gVP!WV.VO5/VBW#3#)r)r<r5rs&&&&*,rr��DirectorySandbox._remap_pair�s;���x�x��}�}�D�H�H�S�M�M��O�O�I�C�=�$�=�"�=��z�rMc� �V^8�dQhRRRR/#)rQr�intrRrE)rSs"rrTr)�s��8�8�c�8�3�8rMc
��V\,'d0VPV4'gVP!RWV.VO5/VB\P!WV.VO5/VB#)zCalled for low-level os.open()zos.open)�WRITE_FLAGSr<r5r�r)rX�file�flagsrr�r�s&&&&*,rr�DirectorySandbox.open�sN���;���t�x�x��~�~��O�O�I�t�D�F�4�F�2�F��x�x��T�7�D�7�B�7�7rM)r�r0r/r.N)
rrrrrrrrrrrrr!)r8)i�)rFrGrHrIrJr��fromkeysr&�__annotations__r'�_EXCEPTIONSr�r5r�r"r<rBr�r�rrLrErMrr
r
�sf��F�+/�=�=�:�,�I�(�� 35��/�4�4�+6�'�4�
.�
"�"����8�8rMz4O_WRONLY O_RDWR O_APPEND O_CREAT O_TRUNC O_TEMPORARYc�f�]tRtRtRt]P!R4P4tRRlt	Rt
R#)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��V^8�dQhRR/#)rQrRr�rE)rSs"rrT�SandboxViolation.__annotate__s��,�,��,rMc	�h�VPwrpVPP!R/\4B#)NrE)r��tmplrSr)rX�cmdr��kwargss&   r�__str__�SandboxViolation.__str__s*�� �I�I���6��y�y���+�&�(�+�+rMrEN)rFrGrHrIrJ�textwrap�dedent�lstriprgrjrLrErMrrrs.��O��?�?�
	��
�f�h�	�,�,rM)rr
rr�r3>�Cython�	distutilsr�r�r�)A�
__future__rr��
contextlib�	functoolsrN�operatorr,r;rKr!r.rl�typesr�typingrrrr�r�distutils.errorsr	r��platformrq�$org.python.modules.posix.PosixModule�pythonrv�posix�PosixModuler�rr��typing_extensionsr�__all__r�contextmanagerr%r)r1r7r=r9rOr|ryr�r�r�r�r�r�rr�r$rbr
�reduce�or_r�r�r\r)�as0r�<module>r�s��"������	�
�	�
����/�/��%�+����\�\���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�	G0

Youez - 2016 - github.com/yon3zu
LinuXploit