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__/DistUpgradeViewNonInteractive.cpython-314.pyc
+
�[�i4����^RIt^RIt^RIt^RIt^RIt^RIt^RIt^RIt^RIt^RI	t	^RI
t
^RIt^RIH
t
Ht^RI	HtHt^RIHtHtHt^RIHt^RIHt!RR]4t!R	R
]4t!RR]4tR#)
�N)�NoSectionError�
NoOptionError)�PIPE�Popen)�DistUpgradeView�InstallProgress�AcquireProgress)�get)�DistUpgradeConfigc�&a�]tRt^+toRtRtVtR#)�NonInteractiveAcquireProgressc
�v�\P!WW#V4V\P8Xd�\	RWP
\P!\VP443,4\PP4'd!\PP4R#R#R#)zfetched %s (%.2f/100) at %sb/sN)
r	�
update_status�apt_pkg�	STAT_DONE�print�percent�size_to_str�int�current_cps�sys�stdout�isatty�flush)�self�uri�descr�
shortDescr�statuss&&&&&�K/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeViewNonInteractive.pyr�+NonInteractiveAcquireProgress.update_status,s����%�%�d��F�K��W�&�&�&��2��\�\�7�#6�#6�s�4�;K�;K�7L�#M�6O�O�
P��z�z� � �"�"��
�
� � �"�#�'��N)�__name__�
__module__�__qualname__�__firstlineno__r�__static_attributes__�__classdictcell__��
__classdict__s@r r
r
+s����#�#r"r
c�Ta�]tRt^6toRtRtRtRtRtRt	Rt
RtR	tR
t
VtR#)�NonInteractiveInstallProgressz�
Non-interactive version of the install progress class

This ensures that conffile prompts are handled and that
hanging scripts are killed after a (long) timeout via ctrl-c
c�`�\P!V4\P!R4R\P
9dR\P
R&R\P
R&R\P
R&\
R4VnWn^Vn	VPPRR	R
4'd!\PPRR4R
TnTPP!RR4TnR# \\3dL>i;i \"dR#i;i)z*setting up environ for non-interactive use�DEBIAN_FRONTEND�noninteractive�none�APT_LISTCHANGES_FRONTEND�1�RELEASE_UPGRADER_NO_APPORT�.�NonInteractive�ForceOverwriteFzDPkg::Options::z--force-overwritei`	�TerminalTimeoutN)r�__init__�logging�debug�os�environr�config�logdir�install_run_number�getWithDefaultr�setrr�timeout�getint�	Exception)rr?s&&r r9�&NonInteractiveInstallProgress.__init__>s���� � ��&��
�
�B�C��B�J�J�.�,<�B�J�J�(�)�17��
�
�-�.�36��
�
�/�0�'��,�����"#���	��{�{�)�)�*:�;K�U�S�S����"�"�#4�5H�I����	��;�;�-�-�.>�?P�Q�D�L���
�.�	��	���	��	�s%�AD�$!D�D�D�D-�,D-c���\P!RV:RV:R24VPPRRR4'gR#\P!\
P4pRVR&.pR	V9dR
pRpRpV:R
V:RV:2pMcRV9dRpRpRpV:R
V:2pMLRV9dR
pRpRpV:R
V:RV:2pM1RV9dR
pRpRpV:R
V:RV:2pM\RV:RV:R24R#\
PPV4'g \P!RV,4R#\V4;_uu_4p	V	P4R,P4P4^,p
RRR4RX
9gRV
9dR.pM-R V
9d
R!.pR"VR#&M\P!R$V
,4\V4;_uu_4p	V	P4pRRR4R%X9dR&VR'&R(VR)&R*p
R+R.pVP!V
4VP#X4VP!V4VP!V4VR8Xdo\%R,V,R-\&R-R.7P)4^,p
V
'd7VP!V
PR/^4^,P44M�VR8Xd�\
PP+V4pVPR04^,p\%R1V,R-\&R-R.7P)4^,p
V
'd7VP!V
PR/^4^,P44\P,!R2V:R3V:R424\.P0!WCR57p\P,!V:R6V:24R# +'giELL;i +'giEL�;i)7z got a error from dpkg for pkg: 'z': '�'r6�DebugBrokenScriptsFNr;�	PYCENTRALzpost-installationz/var/lib/dpkg/info/�postinst�	configure�/r5zpre-installationz/var/lib/dpkg/tmp.ci/�preinst�installzpre-removal�prerm�removezpost-removal�postrmz+UNKNOWN (trigger?) dpkg/script failure for � (z) z+can not find failed maintainer script '%s' :�NN�bashz/bin/shz-ex�perlz-dzAutoTrace NonStop�PERLDB_OPTSzunknown interpreter: '%s'z. /usr/share/debconf/confmodule�	developer�
DEBCONF_DEBUGr3�DEBIAN_HAS_FRONTENDz/usr/share/debconf/frontend�shz%dpkg-query -s %s|grep ^Config-VersionT)�shellr�universal_newlines�:�_zdpkg-query -s %s|grep ^Versionzre-running 'z' (�))�envz script returned: )r:�errorr>rA�copyr<r=r�path�exists�open�readline�strip�split�warning�read�append�extendrr�communicate�basenamer;�
subprocess�call)r�pkg�errormsgr=�cmd�prefix�name�argument�maintainer_script�f�interp�
debug_opts�maintainer_script_text�version�rets&&&            r rb�#NonInteractiveInstallProgress.errorWsH���
�
�S�(�S�T��{�{�)�)��1�5�:�:���)�)�B�J�J�'��&�������(�*�*�F��D�"�H�.4�c�4� @��
�8�
+�,�F��D� �H�+1�4� 8��
�h�
&�*�F��D��H�.4�c�4� @��
�x�
'�*�F��D��H�.4�c�4� @���3�PX�Y�Z���w�w�~�~�/�0�0��M�M�G�J[�[�\��
�#�
$�
$���Z�Z�\�"�%�+�+�-�3�3�5�a�8�F�%��f��)�v�"5���J������J�%8�G�M�"��O�O�7�&�@�A��#�
$�
$��%&�V�V�X�"�%�,�0F�F�'2�G�O�$�-0�G�)�*�2�F��u��J�	�
�
�6���
�
�:���
�
�$�%��
�
�8���:���C�c�I�"&�t�/3�5�5@�[�]�1�F�G���
�
�7�=�=��Q�/��2�8�8�:�;��
�Y�
��'�'�"�"�3�'�C��)�)�C�.��#�C��<�s�B�"&�t�/3�5�5@�[�]�1�F�G���
�
�7�=�=��Q�/��2�8�8�:�;��
�
��W�=�>��o�o�c�/���
�
�$�s�;�<�W%�
$�
$��%�
$�
$�s�;O�O�O	�O(	c�V�\P!RV,4\P!^4\P
!VPR4\P!RV,4R# \d)p\P!RT,4Rp?R#Rp?ii;i)z.got a conffile-prompt from dpkg for file: '%s'sn
z0replied no to the conffile-prompt for file: '%s'z/error '%s' when trying to write to the conffileN)	r:rj�time�sleepr<�write�	master_fdrErb)r�current�new�es&&& r �conffile�&NonInteractiveInstallProgress.conffile�s|�����H�� �	!�	
�
�
�1�
�	M�
�(�(�4�>�>�6�
*�
�/�/�L�!�"�#���	M�
�-�-�I�!�K�
L�
L��	M�s�>A5�5B(�B#�#B(c�,�\P!V4\P!4VnVPPRRR4pV'dk\PPVPRVP,4p\P!RV,4\VR4VnM\\PR4VnVPP!R\P!4,4R#)r6�DpkgProgressLogFzdpkg-progress.%s.logz!writing dpkg progress log to '%s'�wz
%s: Start
N)r�start_updater��
last_activityr>rAr<rd�joinr?r@r:r;rf�dpkg_progress_log�devnullr�)r�progress_log�fullpaths&  r r��*NonInteractiveInstallProgress.start_update�s����$�$�T�*�!�Y�Y�[����{�{�1�1�2B�CT�V[�\����w�w�|�|�D�K�K�1G�$�Ja�Ja�1a�b�H��M�M�=��H�I�%)�(�C�%8�D�"�%)�"�*�*�c�%:�D�"����$�$�]�T�Y�Y�[�%@�Ar"c��\P!V4VPPR\P!4,4VPP4V;P^,
unR#)z
%s: Finished
N)r�
finish_updater�r�r��closer@�rs&r r��+NonInteractiveInstallProgress.finish_update�sS���%�%�d�+����$�$�%5��	�	��%C�D����$�$�&����1�$�r"c
��VPP\P!4:RV:RV:RV:R24R#)r^�
N)r�r�r�)rrrr�
status_strs&&&&r �
status_change�+NonInteractiveInstallProgress.status_change�s.�����$�$��	�	��8?�8;�8B�&D�	Er"c��\P!V4VPR8XdR#VPVP,\
P
!48d^\P!RVP:RVP:R24\P!VP\^44\P!VP...R4p\V^,4^8�d�\
P
!4Vn\P!VP^4p\ P"PRVP%\&P(!4RR7,4\P!TP...R4pK�\ P"P-4R# \*dR#i;i)Nzno activity z
 seconds (z) - sending ctrl-cg�������?z%s�ignore)�errors)r�update_interface�statusfdr�rCr�r:rjrr<r�r��chr�select�lenrkrr�decode�locale�getpreferredencoding�OSErrorr)r�res�ss&  r r��.NonInteractiveInstallProgress.update_interface�s@���(�(��.��=�=�D� ��������-�����<��O�O��L�L�$�+�+�/�
0�
�H�H�T�^�^�C��F�+��m�m�T�^�^�,�R��3�7���#�a�&�k�A�o� $�	�	��4����7�7�4�>�>�1�-�q��z�z����q�x�x��/�/�1�(�(0�(D�!D�E�
������/��2�c�:�3��
�
�����	����s�A+G�G�Gc�F�\P!R4R\PR&R\PR&\P
!4wVnVnVP^8wd(\P!RVP,4VP#)zdoing a pty.fork()�dumb�TERM�true�PAGERz
pid is: %s)r:r;r<r=�pty�fork�pidr�r�s&r r��"NonInteractiveInstallProgress.fork�sh���
�
�*�+�#��
�
�6��$��
�
�7��%(�X�X�Z�"���4�>��8�8�q�=��M�M�,����1�2��x�x�r")r>r�r@r�r?r�r�rCN)r$r%r&r'�__doc__r9rbr�r�r�r�r�r�r(r)r*s@r r-r-6s<������2^=�@M�
B�%�
E�
�2	�	r"r-c�aa�]tRt^�toRtRRltRtRtRtRRlt	Rt
V3RltRR	ltRR
lt
RRltRtRR
ltRtRtVtV;t#)�DistUpgradeViewNonInteractivez,non-interactive version of the upgrade view c�F�\P!V4\4PR4\	R4Vn\
4Vn\V4Vn	\PPP4VnVP\ nR#)r6r5N)rr9�
get_telemetry�set_updater_typerr>r
�_acquireProgressr-�_installProgress�apt�progress�base�
OpProgress�_opProgress�
excepthookr�__excepthook__)r�datadirr?s&&&r r9�&DistUpgradeViewNonInteractive.__init__sl��� � ��&���(�(�)9�:�'��,��� =� ?��� =�f� E����<�<�,�,�7�7�9���!�_�_��r"c���^RIp\P!RV:RV:R24VPWV4p\P!RRPV4,4VP
4R#)z1on uncaught exceptions -> print error and reboot Nzgot exception 'z': � znot handled exception:
%s�)�	tracebackr:�	exception�format_exceptionrbr��confirmRestart)r�type�value�tbr��liness&&&&  r r��(DistUpgradeViewNonInteractive.excepthooksP������t�U�C�D��*�*�4��;���
�
�2�R�W�W�U�^�C�D����r"c��VP#)z4return a OpProgress() subclass for the given graphic)r�r�s&r �getOpCacheProgress�0DistUpgradeViewNonInteractive.getOpCacheProgresss�����r"c��VP#)z"return an acquire progress object )r�r�s&r �getAcquireProgress�0DistUpgradeViewNonInteractive.getAcquireProgress����$�$�$r"c��VP#)z!return a install progress object )r�)r�caches&&r �getInstallProgress�0DistUpgradeViewNonInteractive.getInstallProgressr�r"c��R#)zGupdate the current status of the distUpgrade based
on the current view
Nr#)r�msgs&&r �updateStatus�*DistUpgradeViewNonInteractive.updateStatuss��	
r"c�.<�\\V`V4R#)z�we have 5 steps current for a upgrade:
1. Analyzing the system
2. Updating repository information
3. Performing the upgrade
4. Post upgrade stuff
5. Complete
N)�superr��setStep)r�step�	__class__s&&�r r��%DistUpgradeViewNonInteractive.setSteps���	�+�T�:�4�@�r"c���\P!WVW44\P!RVPUu.uFqfP
NK	up,4\P!RVPUu.uFqfP
NK	up,4\P!RVPUu.uFqfP
NK	up,4R#uupiuupiuupi)ztoinstall: '%s'ztoupgrade: '%s'ztoremove: '%s'T)r�confirmChangesr:r;�	toInstallrv�	toUpgrade�toRemove)r�summary�changes�downloadSize�actions�removal_bold�ps&&&&&& r r��,DistUpgradeViewNonInteractive.confirmChanges(s����&�&�t�g�'3�	>��
�
�'�4�>�>�*J�>�a�6�6�>�*J�J�K��
�
�'�4�>�>�*J�>�a�6�6�>�*J�J�K��
�
�&�$�-�-�)H�-�Q�&�&�-�)H�H�I���+K��*J��)Hs�C
�8C 
�8C%
c��R#)z/ask a Yes/No question and return True on 'Yes' Tr#�rr�r��defaults&&&&r �askYesNoQuestion�.DistUpgradeViewNonInteractive.askYesNoQuestion0s��r"c��R#)Tr#r�s&&&&r �askCancelContinueQuestion�7DistUpgradeViewNonInteractive.askCancelContinueQuestion7s��r"c�h�\P!R4VPPRRR4#)z1generic ask about the restart, can be overridden zconfirmRestart() calledr6�
RealRebootF)r:r;r>rAr�s&r r��,DistUpgradeViewNonInteractive.confirmRestart9s)���
�
�/�0��{�{�)�)�*:�<��O�Or"c�J�\P!V:RV:RV:R24R#)zdisplay a error r�rSr`N�r:rb)rr�r��extended_msgs&&&&r rb�#DistUpgradeViewNonInteractive.error>s���
�
�g�s�L�A�Br"c�2�\P!R4R#)zview.abort calledNrr�s&r �abort�#DistUpgradeViewNonInteractive.abortAs���
�
�)�*r")r�r�r�r>)NN)N)NT)�No)�Cancel)r$r%r&r'r�r9r�r�r�r�r�r�r�r�r�r�rbrr(r)�
__classcell__)r�r+s@@r r�r��sP����3�-�� �%�%�
�
	
����P�
C�+�+r"r�)r�rr:r�r�rr<r�r�rprc�apt.progress�configparserrrrrrrr	�	telemetryr
r��DistUpgradeConfigParserrr
r-r�r#r"r �<module>rsf��,���
��
�	�
�
����6�"�N�N�+�6�#�O�#�E�O�E�PD+�O�D+r"

Youez - 2016 - github.com/yon3zu
LinuXploit