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/UpdateManager/Core/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/UpdateManager/Core/__pycache__/MyCache.cpython-314.pyc
+
d��i4J��L�^RIt]P!RR]4^RIt^RIt^RIt^RIt^RIHt^RI	H
t
^RIHt^RI
Ht^RIt^RIt^RIt^RIt^RIHt^R	IHtR
tRt]R,t!R
R]4t!RR]P<P>4tR# ]dRtLDi;i)�N�ignorezapt API not stable yet)�	HTTPError)�urlopen)�urlsplit)�
BadStatusLine)�gettext)�	Launchpadz/var/lib/synaptic/preferencesz.https://changelogs.ubuntu.com/changelogs/pool/z%s/%s/%s/%s_%s/%sc��]tRt^3tRtRtR#)�HttpsChangelogsUnsupportedErrorz�https changelogs with credentials are unsupported because of the
lack of certitifcation validation in urllib2 which allows MITM
attacks to steal the credentials
�N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�__static_attributes__r��</usr/lib/python3/dist-packages/UpdateManager/Core/MyCache.pyrr3s���
	rrc��a�]tRt^<toRtRRltRtRtRt]	R4t
]	R4tR	t]	R
4t
RtRtR
tRtRRltRtRtRtRRltRtRtRtRtRtVtR#)�MyCache�UbuntuNc�@�\PPWV4W n\	VP
4^8XgQhVP
4'dQhVP4/Vn/Vn	/Vn
VPP^8�dVP4VPP^8XdVPP^8XgQhRVn\ P"P%R4pV'd�\&P(!RRP+VUu.uFpRV,NK	up4,R,4Vn\.P0!RR.R	R
7P34p\&P(!RRP+VUu.uF9pVP5R4'gRV,R,V,MWT,NK;	up4,R,4VnR#RVnRVnR#uupiuupi)rNzAPT::VersionedKernelPackages�(�|�^�)�unamez-rT)�universal_newlinesz.*)�apt�Cache�__init__�rootdir�len�req_reinstall_pkgs�_dpkgJournalDirty�
_initDepCache�all_changes�all_news�pro_versions�	_depcache�broken_count�saveDistUpgrade�	del_count�	launchpad�apt_pkg�config�
value_list�re�compile�join�versioned_kernel_pkgs_regexp�
subprocess�check_output�rstrip�
startswith�running_kernel_pkgs_regexp)�self�progressr"�apt_versioned_kernel_pkgs�p�running_kernel_versions&&&   rr!�MyCache.__init__@s����	�	���4�7�3����4�*�*�+�q�0�0�0��)�)�+�+�+�+����������
�����>�>�&�&��*�� � �"��N�N�'�'�1�,����1I�1I�Q�1N�	
�N����$+�N�N�$=�$=�*�%
�!�%�02�
�
���(�(�-F�G�-F��C�!�G�G�-F�G�H�I���1�D�-�
&0�%<�%<��$��D�&��f�h�
#�/1�j�j���(�(�
";�	�";�A� !�|�|�D�1�1��q��4��*@�@�4�8�:�";�	����	�/�D�+�15�D�-�.2�D�+��)H��s�1H�(H�#Hc��\PP\PPR44R,p\P!V4F#p\P!RV4'gK"R#	R#)zH
test if the dpkg journal is dirty
(similar to debSystem::CheckUpdates)
zDir::State::statusz/updatesz[0-9]+TF)	�os�path�dirnamer/r0�	find_file�listdirr2�match)r;�d�fs&  rr%�MyCache._dpkgJournalDirtyts^��
�G�G�O�O�G�N�N�4�4�5I�J�K��
�	
����A��A��x�x��!�$�$���rc��VPP4\PP	\
4'd VPP\
4VPP
4R#�N)r*�read_pinfilerBrC�exists�SYNAPTIC_PINFILE�init�r;s&rr&�MyCache._initDepCache�sK��	
���#�#�%�
�7�7�>�>�*�+�+��N�N�'�'�(8�9������rc�&�VP4R#rL)r&rQs&r�clear�
MyCache.clear�s�����rc���\P!VP4p\P!4pVP	W P
VP4VP#)z:get the size of the packages that are required to download)r/�PackageManagerr*�Acquire�get_archives�_list�_records�fetch_needed)r;�pm�fetchers&  r�required_download�MyCache.required_download�sF���
#�
#�D�N�N�
3���/�/�#��
������T�]�]�;��#�#�#rc�.�VPP#rL)r*�
inst_countrQs&r�
install_count�MyCache.install_count�s���~�~�(�(�(rc�.�VPP#rL)r*�
keep_countrQs&rrf�MyCache.keep_count�s���~�~�(�(�(rc�.�VPP#rL)r*r-rQs&rr-�MyCache.del_count�s���~�~�'�'�'rc�"�VF�pV'gK
RpVFhpVPVPP8wg?\P!VP
VPVP
4'dKfRpKj	V'gK�R#	R#)z<Return True if any of the dependencies in deps match target.TF)�name�package�	shortnamer/�	check_dep�version�relation)r;�target�deps�dep_orrG�base_deps&&&   r�_check_dependencies�MyCache._check_dependencies�sy���F����E�"���M�M�V�^�^�%=�%=�=�"�,�,�����(9�(9�8�;K�;K���"�E�#��u���rc��VPpV'gR#VF�pVPpVfKVPW$PR44'gK=VPW$PR44'gKe\P
!VPP:RVP:R24R#	R#)F�	Conflicts�Replacesz Conflicts/Replaces z; allowing removalT)�	installed�	candidateru�get_dependencies�logging�inforlrm)r;�pkgrq�cpkgr{s&&   r�find_removal_justification�"MyCache.find_removal_justification�s����������D����I��$��+�+��6�6�{�C����.�.��6�6�z�B����L�L�$�,�,�6�6��
�
�G�� ��rc�P�VPPR4VPPpV^8�dbVUu.uFq"P'gKVNK	ppV\	V48XgQhVF%pVPV4'gKV^,pK'	V^8�dJVP
4VPP^8XdVPP^8XgQhMVPP^8XgQhVPP4V#uupi)z>this functions mimics a upgrade but will never remove anythingT)r*�upgrader-�
marked_deleter#r�rTr+)r;�wouldDeleter�deleted_pkgss&   rr,�MyCache.saveDistUpgrade�s���	
�����t�$��n�n�.�.����?�+/�E�4�C�3D�3D�C�C�4�L�E��#�l�"3�3�3�3�#���2�2�3�7�7��1�$�K�$���?��J�J�L����+�+�q�0��N�N�,�,��1�
�2�1��>�>�.�.�!�3�3�3������ ����Fs�D#�D#c�x�VPR4p\V4^8�dRPVR,4pV#)zstrip of the epoch�:�:�NN)�splitr#r4)r;�verstr�
vers_no_epochs&& r�_strip_epoch�MyCache._strip_epoch�s5�����S�)�
��}���!��W�W�]�2�.�/�F��
rc��W,pVPPpRpVPPP	VP
4PpVPPp	VPV	4p
VPR4p\V4^8�d
V^,pV^,pVPR4'dRV^,,pV'dTp
M\VVVVV
V3,p
\V
4pVPR8XdVP'd\!R4h\#V
4pRpR\$P&!V4,pVP)4P+RR	4pVR8XdV#\$P,!VV4pV'd�\/VP0R
R4pV'd!RV9dVPR^4^,pVP3^4pV'd!RV9dVPR^4^,pV'd)V'd \4P6!VV4^8dV#M'V'd \4P6!VV4^8XdV#VV,pEK%)
z(helper that fetches the file in question�main�/�lib�httpszKhttps locations with username/password are notsupported to fetch changelogsr�z^%s \((.*)\)(.*)$zUTF-8�replaceroNr�)r{�source_name�_pcacher*�get_candidate_ver�_pkg�section�source_versionr�r�r#r9�CHANGELOGS_URIr�scheme�usernamerrr2�escape�readline�decoderG�getattrrz�groupr/�version_compare)r;rk�fname�strict_versioning�changelogs_urir�srcpkg�src_sectionr��srcver_epoch�srcver�
split_section�prefix�uri�res�	changelog�alllines�regexp�linerGrz�changelogvers&&&&&                 r�_get_changelog_or_news�MyCache._get_changelog_or_news�s>��
�j�����*�*�����+�+�'�'�9�9�#�(�(�C�K�K���}�}�3�3���"�"�<�0���
�
�c�*�
��}���!�'��*�K��������U�#�#��V�A�Y�&�F�
� �C� �������
$��C��s�m���:�:�� �S�\�\�\�1�0��
��C�L�	���&�"�)�)�F�*;�<����%�%�'�.�.�w�	�B�D��r�z��B��A�H�H�V�T�*�E��$�C�M�M�9�d�C�	���	�!1� )����Q� 7�� :�I�$�{�{�1�~���C�<�$7�#/�#5�#5�c�1�#=�a�#@�L�%�!�#�3�3�L�)�L�������
"�#�3�3�L�)�L������ �$��Hrc�"�\'g\P!R4R#W,PpVPF]p\V4PR9dK\P!RV4pVfK<VP^4VP^4reM	\P!R4R#VPf\P!RRRR7VnVPPPR	V:R
V:2R7pVf\P!R4R#VPVP R
VP"R7pV'g\P!R4R#V^,P%4#)zRReturn the changelog URI from the Launchpad API

Return None in case of an error.
z9Launchpadlib not available, cannot retrieve PPA changelogNzhttp.*/(.*)/(.*)/ubuntu/.*z)Unable to find a valid PPA candidate URL.zupdate-manager�
production�devel)ro�~z/ubuntu/)�	referencez6Unable to retrieve the archive from the Launchpad API.T)r��exact_matchroz;No published sources were retrieved from the Launchpad API.)zppa.launchpad.netzppa.launchpadcontent.net)r	r}�warningr{�urisr�hostnamer2�searchr��errorr.�login_anonymously�archives�getByReference�getPublishedSourcesr�r��changelogUrl)	r;rk�cdtr�rG�user�ppa�archive�spphss	&&       r�_extract_ppa_changelog_uri�"MyCache._extract_ppa_changelog_uriHsV��
�y��O�O�K�
���j�"�"���8�8�C���}�%�%�.����I�I�:�C�@�E�� �!�K�K��N�E�K�K��N�c���
�M�M�E�F���>�>�!�&�8�8� �,���D�N��.�.�)�)�8�8�)-�s�3�9�
���?��M�M�H�
�
��+�+������&�&�,�
��
��M�M�!�
�
��Q�x�$�$�&�&rc���W,pVPPpVfR#VPPPR4pV'gR#VP	R4^,P4pRV9d)VP	R4^,P
R4pMVPPpVPR4^,pVRV:RV:R2,#)N�Sourcerrr��_z
.changelog)	r{r��record�getr��stripr8r��
rpartition)r;rkr�deb_uri�srcrecr�r��base_uris&&      r�+_guess_third_party_changelogs_uri_by_source�3MyCache._guess_third_party_changelogs_uri_by_sources����j���-�-�#�#���?�����%�%�)�)�(�3�������c�"�1�%�+�+�-���&�=��\�\�#�&�q�)�0�0��5�F��]�]�1�1�F��%�%�c�*�1�-�����?�?�?rc��W,pVPPpV'd!RVPR^4^,,#R#)zKguess changelogs uri based on ArchiveURI by replacing .deb
with .changelog
z%s.changelog�.N)r{r��rsplit)r;rkrr�s&&  r�+_guess_third_party_changelogs_uri_by_binary�3MyCache._guess_third_party_changelogs_uri_by_binary�s;���j���-�-�#�#���!�G�N�N�3��$:�1�$=�=�=�rc�n�VPV4VPV4V'dV!V4R#R#rL)�get_news�
get_changelog)r;rk�cb�cb_argss&&&&r�get_news_and_changelog�MyCache.get_news_and_changelog�s+���
�
�d�����4� �
��w�K�rc��VPVRR4pT'dY PT&R#R# \dR#i;i)z5get the NEWS.Debian file from the changelogs locationzNEWS.DebianTN)r��	Exceptionr()r;rk�newss&& rr��MyCache.get_news�sE��	��.�.�t�]�D�I�D��"&�M�M�$�����	��	�s�/�>�>c��RpVF8pVPPR4'gK&VPV4pM	VP
V4pVPV4pRpVVV3FApV'gK
VPVRRV4p	VPV;;,V	,
uu&KC	VPV;;,V,
uu&R# \d\P
!R4K�i;i \\3d\R4pK�\\\P 3d&\P
!R4\R4pK�i;i)	NzLP-PPA-z'Unable to connect to the Launchpad API.r�r�FzAThis update does not come from a source that supports changelogs.zerror on changelog fetching�OFailed to download the list of changes. 
Please check your Internet connection.)�originr9r�r�r}�	exceptionr�r�r�r'rrr��IOErrorr�socketr�)
r;rk�origins�changelogs_uri_ppar��changelogs_uri_binary�changelogs_uri_source�
error_messager�r�s
&&&       r�(_fetch_changelog_for_third_party_package�0MyCache._fetch_changelog_for_third_party_package�sW��!���F��}�}�'�'�	�2�2��)-�)H�)H��)N�&��	�
�<�<�T�B�	�
�<�<�T�B�	��
��!�!�
�N�
�~�� $� ;� ;��k�5�.�!�I��$�$�T�*�i�7�*�
�0	
�����-�/���I!���%�%�A����."�#B�C��$%�;�%�M� �����=���%�%�&C�D�$%�A�%�M��s/�C�83C8�!C5�4C5�8E�E�5"E�Ec�<�VFwr#pW0PV&K	R#rL)r))r;�pro_pkgsrkro�_as&&   r�create_pro_cache�MyCache.create_pro_cache�s!��'/�#�T�B��&-���d�#�(0rc��W,PPpVPPWV,PP4p\R4V\
W,PRR4V3,VPV&VPVUu.uFqDPNK	up9dVPW4R#W,PPpW,PPPRR4pVPVR4p\!V4^8Xd\R4WV3,pTPT;;,T,
uu&R#uupi \"d\R4YV3,pLF\$\&\(P*3d"p\-R	T4\R
4pRp?L�Rp?ii;i)z2get the changelog file from the changelog locationzFChanges for %s versions:
Installed version: %s
Available version: %s

roNr�z%3Ar�z�The changelog does not contain any relevant changes.

Please use http://launchpad.net/ubuntu/+source/%s/%s/+changelog
until the changes become available or try again later.z�The list of changes is not available yet.

Please use http://launchpad.net/ubuntu/+source/%s/%s/+changelog
until the changes become available or try again later.zcaught exception: r�)r{r�r)r�ror�r�rzr'�CHANGELOG_ORIGINr�r�r�r�r�r�r#rr�rr�r��print)	r;rkr�ro�or�r�r��es	&&       rr��MyCache.get_changelog�s����*�&�&�.�.���#�#�'�'��4�j�.B�.B�.J�.J�K��!"�
(�"
�

��D�J�(�(�)�T�:��
�	"
������� � �7�(C�7�a���7�(C�C��9�9�$�H����%�%�1�1���z�+�+�:�:�B�B�3��N��	��3�3�D�+�F�I��9�~��"��M��
�*�+�	�&	
�����)�+���9)D���	'��I��
�&�'�I������5�	��&��*��9��I��	�s*�E,�5E1�1G�G�/G�0G�G)r'r(r.r)r"r:r5rL)FN)NN)r
rrrr�r!r%r&rT�propertyr_rcrfr-rur�r,r�r�r�r�r�r�r�r�r�r�r�__classdictcell__)�
__classdict__s@rrr<s�������23�h����$��$��)��)�)��(��(��&�&�.�a�F5'�n@�"
��'�,0�d.�),�),rr) �warnings�filterwarnings�
FutureWarningrr/r}rB�urllib.errorr�urllib.requestr�urllib.parser�http.clientrr�r6r2�DistUpgrade.DistUpgradeCache�DistUpgraderr��launchpadlib.launchpadr	�ImportErrorrO�CHANGELOGS_POOLr�r�r�DistUpgradeCacherrrr�<module>rs���.�����":�M�J�
���	�"�"�!�%�
��	�#� ��0�3��B�� �#6�6��	�i�	�N,�k�*�*�2�2�N,��#���I��s�B�	B#�"B#

Youez - 2016 - github.com/yon3zu
LinuXploit