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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/DistUpgrade/__pycache__/DistUpgradeFetcherCore.cpython-314.pyc
+
�.�i�%���^RIt^RIt^RIt^RIt^RIt^RIt^RIt^RIt^RIt^RI	H	t
^RIHt^RI
Ht^RIHt^RIHt!RR]4tR#)	�N)�gettext)�urlopen)�	HTTPError)�get_dist)�readlinec�a�]tRt^(toRtRtRtR]P9t	Rt
RtRtRt
R	tR
tRtRtR
tRtRtRtRtVtR#)�DistUpgradeFetcherCorez1base class (without GUI) for the upgrade fetcher z http://archive.ubuntu.com/ubuntu�main�DEBUG_UPDATE_MANAGERc�J�Wn\4VnW n.VnR#)N)�new_distr�current_dist_name�	_progress�run_options)�selfr
�progresss&&&�D/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherCore.py�__init__�DistUpgradeFetcherCore.__init__/s�� �
�!)����!�����c�z�VP'd)\PPVR,4R#R#)z!helper to show debug information �
N)�DEBUG�sys�stderr�write)r�msgs&&r�_debug�DistUpgradeFetcherCore._debug6s&���:�:�:��J�J���S�4�Z�(�rc��RVP9dR#VPPe�VPPp\P!4p\P
!^4\
V4pVP4PRR4p\P
!T4\4\X4\\R	4R
R7\4pVP4P!4P#\R44'dR#R# \d)TP\R4\R44R#\d)TP\R4\R44R#i;i)
z(--frontend=DistUpgradeViewNonInteractiveTzUTF-8�replacez'Could not find the release announcementzThe server may be overloaded.Fz+Could not download the release announcementz&Please check your internet connection.zContinue [yN] �)�end�y)rr
�releaseNotesURI�socket�getdefaulttimeout�setdefaulttimeoutr�read�decoder�error�_�IOError�printr�strip�lower�
startswith)r�uri�timeout�
release_notes�notes�ress&     r�showReleaseNotes�'DistUpgradeFetcherCore.showReleaseNotes;s.��5��9I�9I�I���=�=�(�(�4��-�-�/�/�C��.�.�0�G�
��(�(��+� '���
�%�*�*�,�3�3�G�Y�G��
�$�$�W�-�
��
�e��
�a� �!�r�*��j���9�9�;����)�)�!�C�&�1�1�����
��
�
�1�F�G��<�=�?���
��
�
�1�J�K��E�F�H��
�s�AD$�$/F�F�%F�Fc�2�\V4\V4R#)zlminimal implementation for error display, should be overwriten
by subclasses that want to more fancy method
F)r.)r�summary�messages&&&rr+�DistUpgradeFetcherCore.errorVs��	�g��
�g��rc	�P�VPP'Ed	VPR,\PPVPP4,pVPR,\PPVPP4,p\\R4R\PPV4R\PPV4/,4VPW4'dR#R#)�/z0authenticate '%(file)s' against '%(signature)s' �file�	signatureTF)
r
�upgradeToolSig�tmpdir�os�path�basename�upgradeToolr.r,�gpgauthenticate)r�f�sigs&  r�authenticate�#DistUpgradeFetcherCore.authenticate^s����=�=�'�'�'����c�!�B�G�G�$4�$4�T�]�]�5N�5N�$O�O�A��+�+��#�b�g�g�&6�&6��
�
�,�,�'.�.�C��!�F�G�����(�(��+��R�W�W�-�-�c�2�K4�4�
5��#�#�A�+�+��rc�f�RRRVV.p\P!V\PR7pV^8H#)z.authenticate a file against a given signature z
/usr/bin/gpgvz	--keyringz./usr/share/keyrings/ubuntu-archive-keyring.gpg)r)�
subprocess�call�PIPE)rr?r@�gpg�rets&&&  rrG�&DistUpgradeFetcherCore.gpgauthenticatejs9��
��I���	
���o�o�c�*�/�/�:���a�x�rc���\PPVP\PP	VP
44p\
\R4\PP	V4,4\PPV4'gR#\P!VPR,\PP	VP
4,R4pVFpVPV4K	VP4R# \Pd)p\P!RT,4Rp?R#Rp?ii;i)zextracting '%s'Fr>�rzfailed to open tarfile (%s)NT)rCrD�joinrBrEr2r.r,�exists�tarfile�open�extract�close�	ReadError�loggingr+)r�fname�tar�tarinfo�es&    r�extractDistUpgrader�*DistUpgradeFetcherCore.extractDistUpgradervs��������T�[�[�"�'�'�*:�*:�4�8�8�*D�E��
�a�!�"�R�W�W�%5�%5�e�%<�<�=��w�w�~�~�e�$�$��	��,�,�t�{�{�S�0�!�w�w�/�/����9� :�;>�@�C������G�$���I�I�K���� � �	��M�M�7�!�;�<���	�s�2BD4�4E1�	E,�,E1c�"�VP:RVPP:2;Vnp\P
P
V4'g<VP\R4\R4R,\R4,4#R#)r>zCould not run the upgrade toolz.  z�This is most likely a bug in the upgrade tool. Please report it as a bug using the command 'ubuntu-bug ubuntu-release-upgrader-core'.T)	rBr
�name�scriptrCrDrVr+r,)rres& r�verifyDistUpgrader�)DistUpgradeFetcherCore.verifyDistUpgrader�sy��
+/�+�+�t�}�}�7I�7I�J�J���f��w�w�~�~�f�%�%��:�:�a� @�A�� @�A�E�I��!A�B�B�C�
C�rc��\P!RR7pWn\P!V4\
P!RV,4VP^8�dA\PPRR4\PPRR4\P!VP4pVPPe;VPPp\P!VV\!R4R7pVVPP"EeaVPP"Vn\P!VVP$\!R	4R7pVVP'4pWbP(8wd \
P*!R
V,4R#\P,P/VPP4\P,P/VPP"43Flp\P,P1V4'd'\P,P3V4^8�dKN\
P*!RV,4R#	R
#R#)z-download the tarball with the upgrade script zubuntu-release-upgrader-)�prefixzusing tmpdir: '%s'zDebug::Acquire::http�1zDebug::Acquire::ftpzUpgrade tool signature)�descrzUpgrade toolzfetch result != continue (%s)Fzfile '%s' missingT)�tempfile�mkdtemprBrC�chdirr\�debugr�apt_pkg�config�set�Acquirerr
rA�AcquireFiler,rFr2�run�RESULT_CONTINUE�warningrDrErV�getsize)rrB�fetcherr2�af1�af2�resultrHs&       r�fetchDistUpgrader�(DistUpgradeFetcherCore.fetchDistUpgrader�s����!�!�)C�D����
������
�
�*�V�3�4��:�:��>��N�N���5�s�;��N�N���4�c�:��/�/�$�.�.�1���=�=�'�'�3��-�-�.�.�C��%�%�g�&)�,-�.F�,G�I�C�
��=�=�$�$�0��}�}�0�0�D�H��%�%�g�&*�h�h�,-�n�,=�?�C�
��[�[�]�F��0�0�0���� ?�&� H�I���g�g�&�&�t�}�}�'C�'C�D��g�g�&�&�t�}�}�'@�'@�A�C�������q�)�)�b�g�g�o�o�a�.@�1�.D��O�O�$7�!�$;�<� �	C�
�rc��VP.VP,p\P!4^8wd#\P!RRR.V,4R#\P!VPV4R#)rz
/usr/bin/sudo�sudoz-EN)rerrC�getuid�execv)r�argss& r�runDistUpgrader�&DistUpgradeFetcherCore.runDistUpgrader�sO�����}�t�/�/�/��
�9�9�;�!���H�H�_�v�t�n�t�&;�<��H�H�T�[�[�$�'rc�r�\P!R4\P!VP4R#)z..N)rCrn�shutil�rmtreerB)rs&r�cleanup�DistUpgradeFetcherCore.cleanup�s��
������
�
�d�k�k�"rc�>�VP4'gR#VP4'g'VP\R4\R44R#VP	4'g7VP\R4\R44VP4R#VP
4'g'VP\R4\R44R#VP4'g7VP\R4\R44VP4R#\P!VP\P4'g&\R	VP,4p^
Vn
VhVP4R# \d|pTP^
8Xd+TP\R
4\R44Rp?R#TP\R
4\R
4TP,4Rp?R#Rp?ii;i)NzFailed to fetchz=Fetching the upgrade failed. There may be a network problem. zAuthentication failedz_Authenticating the upgrade failed. There may be a problem with the network or with the server. zFailed to extractz[Extracting the upgrade failed. There may be a problem with the network or with the server. zVerification failedz[Verifying the upgrade failed.  There may be a problem with the network or with the server. zCan not execute '%s'zCan not run the upgradezyThis usually is caused by a system where /tmp is mounted noexec. Please remount without noexec and run the upgrade again.FzThe error message is '%s'.T)r7r}r+r,rJr�rarfrC�accessre�X_OK�OSError�errnor��strerror)r�exr`s&  rru�DistUpgradeFetcherCore.run�s����$�$�&�&���%�%�'�'��J�J�q�*�+��%�&�
'�
�� � �"�"��J�J�q�0�1��I�J�
K�
�L�L�N���'�'�)�)��J�J�q�,�-��I�J�
K�
��&�&�(�(��J�J�q�.�/��I�J�
K�
�L�L�N��	I��9�9�T�[�[�"�'�'�2�2��3�d�k�k�A�B�������� � �"����		I��w�w�"�}��
�
�1�6�7��A�B�C���
�
�1�6�7��9�:�Q�Z�Z�G�I�I���		I�s$�*4F�5F�H�!5H�5H�H)rrr
rrerBr2N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�DEFAULT_MIRROR�DEFAULT_COMPONENTrC�environrrrr7r+rJrGrarfr}r�r�ru�__static_attributes__�__classdictcell__)�
__classdict__s@rr	r	(sc����8�7�N���"�b�j�j�0�E��)�
�6�
�
��"
�%�N(�#�-�-rr	)rCrpr\rWrlr�r&rrMrr,�urllib.requestr�urllib.errorr�utilsr�DistUpgradeViewTextr�objectr	�rr�<module>r�s?��.
�����
�
�
�� �"�"��)�O�V�Or

Youez - 2016 - github.com/yon3zu
LinuXploit