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/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/setuptools/tests/__pycache__/test_packageindex.cpython-314.pyc
+
�hG"����^RIt^RIt^RIt^RIt^RIHt^RIt^RI	t
^RIt!RR4t
!RR4t!RR4t]P P#^4R	4tR#)
�N)�cleandocc�na�]tRt^toRtRtRtRtRtRt	Rt
RtR	tR
t
RtRtR
tRtVtR#)�TestPackageIndexc���RpVR,
pRP4P!R/\4Bp\PP
P
V4'gQhR#)z&http://other_url?:action=show_md5&z'digest=0123456789abcdef0123456789abcdefz�
            <a href="http://some_url">Name</a>
            (<a title="MD5 hash"
            href="{hash_url}">md5</a>)
        N�)�lstrip�format�locals�
setuptools�
package_index�PYPI_MD5�match)�self�hash_url�docs&  �D/usr/lib/python3/dist-packages/setuptools/tests/test_packageindex.py�
test_regex�TestPackageIndex.test_regexsa��;���=�=���
�F�H�V�V�	�(�%�h�	(��
�'�'�0�0�6�6�s�;�;�;�;�c�l�\PP4pRp\P!\
\P!V4R7;_uu_4VPV4p\V\PP4'gQhRRR4R# +'giR#;i)z.http://127.0.0.1:0/nonesuch/test_package_index�rN�
rr�PackageIndex�pytest�raises�	Exception�re�escape�open_url�
isinstance�urllib�error�	HTTPError�r�index�url�vs&   r�test_bad_url_bad_port�&TestPackageIndex.test_bad_url_bad_portsn���(�(�5�5�7��>��
�]�]�9�B�I�I�c�N�
;�
;����s�#�A��a����!7�!7�8�8�8�8�<�
;�
;�
;�s�>B"�"B3	c�p�\PPRR7pRp\P!\
\P!V4R7;_uu_4VPV4p\V\PP4'gQhRRR4R# +'giR#;i)�www.example.com��hostszMurl:%20https://svn.plone.org/svn/collective/inquant.contentmirror.plone/trunkrN�r+rr$s&   r�test_bad_url_typo�"TestPackageIndex.test_bad_url_typo sv���(�(�5�5�<P�5�Q��]��
�]�]�9�B�I�I�c�N�
;�
;����s�#�A��a����!7�!7�8�8�8�8�<�
;�
;�
;�s�>B$�$B5	c��\PPRR7pRpW!nRp\P
!\RR7;_uu_4VPV4RRR4R# +'giR#;i)r+r,c�@�\PPR4h)�line)�http�client�
BadStatusLine)�argss*r�_urlopen�?TestPackageIndex.test_bad_url_bad_status_line.<locals>._urlopen/s���+�+�+�+�F�3�3rzhttp://example.comr3rNr.)rrr�openerrrrr)rr%r8r&s&   r�test_bad_url_bad_status_line�-TestPackageIndex.test_bad_url_bad_status_line,sY���(�(�5�5�<P�5�Q��	4� ��"��
�]�]�9�G�
4�
4��N�N�3��5�
4�
4�
4�s�A,�,A=	c��\PPRR7pRpVPV4\R4h \P
Pd.p\T4pRT9gRT9g
RT9gQhRp?R#Rp?ii;i)	z?
A bad URL with a double scheme should raise a DistutilsError.
r,z2http://http://svn.pythonpaste.org/Paste/wphp/trunkznonnumeric portzgetaddrinfo failedzName or service not knownNz
Did not raiser.)	rrrr�	distutils�errors�DistutilsError�str�RuntimeError)rr%r&r"�msgs&    r�test_bad_url_double_scheme�+TestPackageIndex.test_bad_url_double_scheme7s����(�(�5�5�<P�5�Q��C��		��N�N�3���?�+�+�����.�.�	��e�*�C�!�S�(�'�3�.�.�#�5�
�6�
��	�s�A�B�"B�Bc�~�\PPRR7pRpVPVR4'gQhR#)r+r,zfile:///tmp/test_package_indexTNr.)rrr�url_ok)rr%r&s&  r�test_url_ok�TestPackageIndex.test_url_okKs8���(�(�5�5�<P�5�Q��.���|�|�C��&�&�&�&rc���\PPpV!R4pRpW#8XgQhV!R4pRpW#8XgQhV!R4pRpW#8XgQhV!R4pRpW#8XgQhR#)	zreportlab-2.5.win32-py2.4.exezreportlab-2.5.win32.exeNz!reportlab-2.5.win-amd64-py2.7.exezreportlab-2.5.win-amd64.exe)�
reportlab-2.5z2.4�win32)rKNrL)rKz2.7�	win-amd64)rKNrM)rr�parse_bdist_wininst)r�parse�actual�expecteds&   r�test_parse_bdist_wininst�)TestPackageIndex.test_parse_bdist_wininstPs����(�(�<�<���6�7��2���!�!�!��0�1��1���!�!�!��:�;��6���!�!�!��4�5��5���!�!�!rc��\PPPpV!R4wr#VR8XgQhVR8XgQhR#)z1
Test the basic usage of _vcs_split_rev_from_url
zhttps://example.com/bar@2995zhttps://example.com/bar�2995N)rrr�_vcs_split_rev_from_url)r�vsrfur&�revs&   r�test__vcs_split_rev_from_url�-TestPackageIndex.test__vcs_split_rev_from_urlcsC���(�(�5�5�M�M���7�8����/�/�/�/��f�}��}rc�|�VR,pVPR4;_uu_4pVPR4RRR4R\PP	\V44,R,p\PPV4pRVP49gQhR# +'giL~;i)zB
local_open should be able to read an index from the file system.
z
index.html�wz<div>content</div>Nzfile:�/�content)
�open�writer!�request�pathname2urlrArr�
local_open�read)r�tmpdir�
index_file�fr&�ress&&    r�test_local_index�!TestPackageIndex.test_local_indexls����l�*�
�
�_�_�S�
!�
!�Q�
�G�G�(�)�"�����3�3�C��K�@�@�3�F���&�&�1�1�#�6���C�H�H�J�&�&�&�	"�
!�s�B+�+B;	c���RR.p.ROp.ROpR.pR.p.R	OpVUUU	U
Uu.uFNpVFEp\W4V.R.4F/p	VF&p
V
Uu.uFpRPWxW�.4NK	upNK(	K1	KG	KP	pp
p	pppVFhwr�\\PPRV
,44pV^,PR8XgQhV^,PV8XdKhQh	R#uupiuupp
p	ppi)
z&
EGG fragments must comply to PEP 440
�z1!z.post0z.dev0z3http://example.com/example-foo.zip#egg=example-foo-N)�0z0.0z0.0.0)�a0�b0�rc0))rlrl)�	+ubuntu.0rq)z	+ubuntu-0rq)z	+ubuntu_0rq)�sum�join�listrr�distros_for_url�version)r�epoch�releases�pre�post�dev�local�e�r�p�locs�loc�versionsr'�vc�distss&               r�test_egg_fragment�"TestPackageIndex.test_egg_fragmentws ��

��
��
��

��
�z���
��
���
������#�S�)�B�4�0����	15�5���R�W�W�a�A�^�
$��5��	
6�1�
6��
6��	�
��E�A���(�(�8�8�I�A�M���E�
��8�#�#�r�)�)�)���8�#�#�r�)�)�)���

6��
s�%C.�C)� C.�)C.c�0�Rp\PP4pVR,pVPRRRRV.4VPRRVRRR.4VP	W14pV\V48XgQh\
VP4^8XgQhR	#)
z7git+https://github.example/group/project@master#egg=foozproject@master�git�clone�--quiet�$https://github.example/group/projectz-C�checkout�masterN)rrr�register�downloadrA�len�calls)r�tmp_path�fpr&r%�expected_dir�results&&&    r�test_download_git_with_rev�+TestPackageIndex.test_download_git_with_rev�s���G���(�(�5�5�7���"2�2��
������2��
�	�	���U�D�,�
�I�x�P�Q�����.����\�*�*�*�*��2�8�8�}��!�!�!rc��Rp\PP4pVR,pVPRRRRV.4VP	W14R#)z0git+https://github.example/group/project#egg=foo�projectr�r�r�r�N)rrrr�r�)rr�r�r&r%r�s&&&   r�test_download_git_no_rev�)TestPackageIndex.test_download_git_no_rev�sS��@���(�(�5�5�7���)�+��
������2��
�	�	���s�%rc��Rp\PP4pRp\P!\
PPVR7;_uu_4VPW!4RRR4R# +'giR#;i)z'svn+https://svn.example/project#egg=fooz!.*SVN download is not supported.*rN)	rrrrrr>r?r@r�)rr�r&r%rCs&&   r�test_download_svn�"TestPackageIndex.test_download_svn�sY��7���(�(�5�5�7��2��
�]�]�9�+�+�:�:�#�
F�
F��N�N�3�)�G�
F�
F�
F�s�A7�7B	rN)�__name__�
__module__�__qualname__�__firstlineno__rr(r/r;rDrHrRrYrir�r�r�r��__static_attributes__�__classdictcell__��
__classdict__s@rrrsL����<�9�
9�	 �,�('�
"�&�	'�**�X"�&&�*�*rrc�>a�]tRt^�toRtRtRtRtRtRt	Vt
R#)�TestContentCheckersc�
�\PPPR4pVP	RPR44VPP4R8XgQhVP4'gQhR#)�3http://foo/bar#md5=f12895fdffbd45007040d2e44df98478z$You should probably not be using MD5�ascii� f12895fdffbd45007040d2e44df98478N)	rr�HashChecker�from_url�feed�encode�hash�	hexdigest�is_valid�r�checkers& r�test_md5�TestContentCheckers.test_md5�sl���*�*�6�6�?�?�A�
��	���;�B�B�7�K�L��|�|�%�%�'�+M�M�M�M����!�!�!�!rc���\PPPR4pVP	RPR44VP
4'gQhR#)z<Content checks should succeed silently if no hash is presentz1http://foo/bar#something%20completely%20different�anythingr�N�rrr�r�r�r�r�r�s& r�test_other_fragment�'TestContentCheckers.test_other_fragment�sO���*�*�6�6�?�?�?�
��	���Z�&�&�w�/�0����!�!�!�!rc���\PPPR4pVP	RPR44VP
4'gQhR#)z0Content checks should succeed if a hash is emptyzhttp://foo/bar#md5=r�r�Nr�r�s& r�test_blank_md5�"TestContentCheckers.test_blank_md5�sK���*�*�6�6�?�?�@U�V�����Z�&�&�w�/�0����!�!�!�!rc�~�\PPPR4pVPR8XgQhR#)r��md5N)rrr�r��	hash_namer�s& r�test_get_hash_name_md5�*TestContentCheckers.test_get_hash_name_md5�s7���*�*�6�6�?�?�A�
��� � �E�)�)�)rc��\PPPR4pVP	RR4pVR8XgQhR#)r�c��V#)Nr)�xs&r�<lambda>�1TestContentCheckers.test_report.<locals>.<lambda>�s��qrzMy message about %szMy message about md5N)rrr�r��report)rr��reps&  r�test_report�TestContentCheckers.test_report�sC���*�*�6�6�?�?�A�
���n�n�[�*?�@���,�,�,�,rrN)r�r�r�r�r�r�r�r�r�r�r�r�s@rr�r��s#����"�"�"�*�-�-rr�c�&a�]tRt^�toRtRtVtR#)�TestPyPIConfigc��VR,pVP\R4RR7\PP	4pVP
R,pVPR8XgQhVPR8XgQhR#)z.pypircz�
                [pypi]
                repository=https://pypi.org
                username=jaraco
                password=pity%
                zutf-8)�encodingzhttps://pypi.org�jaracozpity%N)�
write_textrrr�
PyPIConfig�creds_by_repository�username�password)r�tmp_home_dir�pypirc�cfg�creds&&   r�test_percent_in_password�'TestPyPIConfig.test_percent_in_password�s|���	�)�������
��	�
	
��&�&�1�1�3���&�&�'9�:���}�}��(�(�(��}�}��'�'�'rrN)r�r�r�r�r�r�r�r�s@rr�r��s����(�(rr�c�X�\PPPR4R#)z3
REL should not hang on a contrived attack string.
Na< rel=                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                )rr�REL�searchrrr�test_REL_DoSr�s��
��� � �'�'�(>�?r)�http.clientr4r�urllib.errorr!�urllib.request�inspectrr�setuptools.package_indexr�distutils.errorsr>rr�r��mark�timeoutr�rrr�<module>r�sd���	����
���|*�|*�~"-�"-�J(�(�(�����Q��@��@r

Youez - 2016 - github.com/yon3zu
LinuXploit