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/certbot/display/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/certbot/display/__pycache__/ops.cpython-314.pyc
+
�K�g�/���Rt^RIt^RIHt^RIHt^RIHt^RIHt^RIHt^RIH	t	^RIH
t
^R	IHt^R
IH
t
^RIHt^RIHt^RIHt^R
IHt^RIHt]P.!]4tR.RRlltRRltR/RRlltR/RRlltRRltRRltR/RRllt R0RRllt!RRlt"R R!lt#R"R#lt$R$R%lt%R&R'lt&R/R(R)llt'R*R+lt(R,R-lt)R#)1z+Contains UI methods for LE user operations.N)�indent)�Any)�Callable)�Iterable)�List)�Optional)�Tuple)�errors)�
interfaces)�util)�account)�osc�<�V^8�dQhR\R\R\/#)��invalid�kwargs�return)�boolr�str)�formats"�5/usr/lib/python3/dist-packages/certbot/display/ops.py�__annotate__rs&��H�H�t�H�s�H�s�H�c��RpV'dRpRp\P!W#,RR7wrEV\P8wd\P!R4hVR8XdR#\
P!V4'dV#RpKw)z�Prompt for valid email address.

:param bool invalid: True if an invalid address was provided by the user

:returns: e-mail address
:rtype: str

:raises errors.Error: if the user cancels

�z7The server reported a problem with your email address. z*Enter email address or hit Enter to skip.
)�defaultzError getting email address.z,There is a problem with your email address. )�display_util�
input_text�OKr	�Errorr�
safe_email)rr�invalid_prefix�msg�code�emails&,    r�	get_emailr%so���N��R��
7�C�
�"�-�-�n�.B�B�O����<�?�?�"��,�,�=�>�>��B�;���?�?�5�!�!��L�G�rc��V^8�dQhR\\P,R\\P,/#)r�accountsr)rr�Accountr)rs"rrr3s,��
�
�T�'�/�/�2�
�x����7P�
rc��VUu.uFqPNK	pp\P!RVRR7wr4V\P8Xd	W,#R#uupi)zsChoose an account.

:param list accounts: Containing at least one
    :class:`~certbot._internal.account.Account`

zPlease choose an accountT��force_interactiveN)�slugr�menur)r'�acc�labelsr#�indexs&    r�choose_accountr13sN��#+�
+�(�3�h�h�(�F�
+��#�#�$>��Z^�_�K�D��|���������,s�Ac�~�V^8�dQhR\\,R\\,R\\,/#)r�values�questionr)rrr)rs"rrrCs-����$�s�)��x��}���S�	�rc��\P!V'dTMRVRR7wr#V\P8XdV'dV#.#)z�Display screen to let user pick one or multiple values from the provided
list.

:param list values: Values to select from
:param str question: Question to ask to user while choosing values

:returns: List of selected values
:rtype: list
rT)�tagsr+)r�	checklistr)r3r4r#�itemss&&  r�
choose_valuesr9Cs:���(�(�X��2�F�;?�A�K�D��|����5���
�Irc��V^8�dQhR\\P,R\\,R\\,/#)r�	installerr4r)rr
�	Installerrr)rs"rrrTs6����H�Z�%9�%9�:��#�C�=��48��I�rc��Vf \PR4\4#\VP	44p\V4pV'g\4#\
W14wrCV\P8XdV'dV#.#)a5Display screen to select domains to validate.

:param installer: An installer object
:type installer: :class:`certbot.interfaces.Installer`

:param `str` question: Overriding default question to ask the user if asked
    to choose from domain names.

:returns: List of selected names
:rtype: `list` of `str`

z$No installer, picking names manually)	�logger�debug�_choose_names_manually�list�
get_all_names�get_valid_domains�
_filter_namesrr)r;r4�domains�namesr#s&&   r�choose_namesrGTsm�������;�<�%�'�'��9�*�*�,�-�G��g�&�E��%�'�'���0�K�D��|����5���
�Irc�\�V^8�dQhR\\,R\\,/#�rrEr�rrr)rs"rrrrs"����x��}���c��rc��.pVF)pVP\P!V44K+	V# \PdKGi;i)z�Helper method for choose_names that implements basic checks
 on domain names

:param list domains: Domain names to validate
:return: List of valid domains
:rtype: list
)�appendr�enforce_domain_sanityr	�ConfigurationError)rE�
valid_domains�domains&  rrCrCrsS�� "�M���	�� � ��!;�!;�F�!C�D��
����(�(�	��	�s�%4�A
�A
c�\�V^8�dQhR\\,R\\,/#)r�FQDNsrrJ)rs"rrr�s&��E�E�x��}�E��c��Erc��\VRR7#)z�Sort FQDNs by SLD (and if many, by their subdomains)

:param list FQDNs: list of domain names

:returns: Sorted list of domain names
:rtype: list
c�F�VPR4RRR1,R,#)�.N:�NN���)�split)�fqdns&r�<lambda>�_sort_names.<locals>.<lambda>�s��$�*�*�S�/�$�B�$�*?��*Cr)�key)�sorted)rRs&r�_sort_namesr^�s���%�C�D�Drc	��V^8�dQhR\\,R\\,R\\\\,3,/#)rrF�override_questionr)rrrrr)rs"rrr�s8��)�)��#��)�%-�c�]�)�>C�C��c��N�>S�)rc��\V4pV'dTpMRp\P!W2RRR7wr@Y@Uu.uFp\V4NK	up3#uupi)z�Determine which names the user would like to select from a list.

:param list names: domain names

:returns: tuple of the form (`code`, `names`) where
    `code` - str display exit code
    `names` - list of names selected
:rtype: tuple

z�Which names would you like to activate HTTPS for?
We recommend selecting either all domains, or all domains in a VirtualHost/server block.�	--domainsT)r6�cli_flagr+)r^rr7r)rFr`�sorted_namesr4r#�ss&&    rrDrD�s]���u�%�L��$��
�	��(�(��k�T�S�K�D��%�(�%�Q�#�a�&�%�(�(�(��(s�Ac�F�V^8�dQhR\R\\,/#)r�
prompt_prefixr)rr)rs"rrr�s��3�3�#�3�t�C�y�3rc�V�\P!VR,RRR7wrV\P8XEd
/pRp\P!V4p\V4Fwrg\P!V4WV&K 	V'd�RP
\P4pVP4F,wr�VR	P
\PW�4,pK.	VR
P
\P4,pV'd.\P !VRR7pV'd\#4#.#V#.# \
d&.pRP
\P4pEL"i;i \Pdp\T4Y7&Rp?EKDRp?ii;i)z�Manually input names for those without an installer.

:param str prompt_prefix: string to prepend to prompt for domains

:returns: list of provided names
:rtype: `list` of `str`

zaPlease enter the domain name(s) you would like on your certificate (comma and/or space separated)rbT)rcr+rziInternationalized domain names are not presently supported.{0}{0}Would you like to re-enter the names?{0}Nz<One or more of the entered domain names was not valid:{0}{0}z{1}: {2}{0}z+{0}Would you like to re-enter the names?{0}r*)rrr�internal_display_util�separate_list_input�UnicodeEncodeErrorrr
�linesep�	enumeraterrMr	rNrr8�yesnor@)rgr#�input_�invalid_domains�
retry_message�domain_list�irP�e�invalid_domain�err�retrys&           rr@r@�s��� �*�*��	)�	)���	6�L�D��|�������
�	0�/�C�C�F�K�K�#�;�/�I�A�
1�!%�!;�!;�F�!C���0��� �&����,�
�(7�'<�'<�'>�#�� -�
�0D�0D��J�J��15�!5�
�(?�*�=�v�v��J�J�@ � �M�� �&�&�}��M�E��-�/�/���I���
�I��?"�	0��K��#�V�B�J�J�/�
�	0���,�,�
1�*-�a�&��'�'��
1�s)�E�%E:�,E7�6E7�:F(�
F#�#F(c�>�V^8�dQhR\\,RR/#)rrErN�rr)rs"rrr�s��	�	�$�s�)�	��	rc�b�\P!RP\V444R#)zkDisplay a box confirming the installation of HTTPS.

:param list domains: domain names which were enabled

z;Congratulations! You have successfully enabled HTTPS on {0}N)r�notifyr�_gen_https_names�rEs&r�success_installationr~�s%�����E�	�� ��)�	*�rc�>�V^8�dQhR\\,RR/#)r�unused_domainsrNry)rs"rrr�s��	�	�D��I�	�$�	rc�2�\P!R4R#)zxDisplay a box confirming the renewal of an existing certificate.

:param list domains: domain names which were renewed

zdYour existing certificate has been successfully renewed, and the new certificate has been installed.N)rr{)r�s&r�success_renewalr��s�����	.�rc�(�V^8�dQhR\RR/#)r�	cert_pathrN)r)rs"rrr�s��	�	�#�	�$�	rc�P�\P!RPV44R#)z}Display a message confirming a certificate has been revoked.

:param list cert_path: path to certificate which was revoked.

zWCongratulations! You have successfully revoked the certificate that was located at {0}.N)rr{r)r�s&r�success_revocationr��s!�����	#�#)�6�)�#4�rc
�L�V^8�dQhR\R\R\R\RR/#)r�command_name�
returncode�stdout�stderrrN)r�int)rs"rrrs8��Z�Z�#�Z�3�Z��Z�UX�Z�]a�Zrc�.�VP4VP4rTV^8wd\PRW4V'd&\P!VR\VR424V'd$\PRV\VR44R#R#)a]Display a message describing the success or failure of an executed process (e.g. hook).

:param str command_name: Human-readable description of the executed command
:param int returncode: The exit code of the executed command
:param str stdout: The stdout output of the executed command
:param str stderr: The stderr output of the executed command

z%s reported error code %dz ran with output:
� z%s ran with error output:
%sN)�stripr>�warningrr{r)r�r�r�r��out_s�err_ss&&&&  r�report_executed_commandr�ss���<�<�>�6�<�<�>�5��Q�����2�L�M�����|�n�,?��u�c�@R�?S�T�U�����6��f�U�TW�FX�Y�
rc�F�V^8�dQhR\\,R\/#rIry)rs"rrrs����d�3�i��C�rc� �\V4^8XdRPV^,4#\V4^8XdRPVR7#\V4^8�d4RPRPRVRR
44RVR
,4#R	#)z�Returns a string of the https domains.

Domains are formatted nicely with ``https://`` prepended to each.

:param list domains: Each domain is a 'str'

zhttps://{0}z%https://{dom[0]} and https://{dom[1]})�domz	{0}{1}{2}z, c3�4"�TFpRV,x�K	R#5i)z
https://%sN�)�.0r�s& r�	<genexpr>�#_gen_https_names.<locals>.<genexpr>"s���A�L�S�l�S�(�(�L�s�Nz, and https://rrW)�lenr�joinr}s&rr|r|s����7�|�q���#�#�G�A�J�/�/�	�W���	�6�=�=�'�=�J�J�	�W���	��!�!��I�I�A�G�C�R�L�A�A���B�K��	�
rc��V^8�dQhR\R\\\3,3,R\\.\3,R\R\\,R\R\\\3,/#)r�method.�	validator�messagerrr)rrrrr)rs"rrr)sd����8�C��s�C�x��$8�9��&��u�c�z�2��=@��$�S�M��<?��DI�#�s�(�O�rc���Ve
V!V4V!V3RV/VBwrVV\P8Xd
V!V4WV3#WV3# \Pd5\PRTTRR7\	RPT44hi;i \PdFp\PRTTRR7\P!\T4RR7Rp?K�Rp?ii;i)	Nz>Encountered invalid default value "%s" when prompting for "%s"T)�exc_infozInvalid default "{0}"rz/Validator rejected "%s" when prompting for "%s"F)�pause)
r	rr>r?�AssertionErrorrrr�notificationr)r�r�r�rrr#�raw�errors&&&&,   r�_get_validatedr�)s�����	J��g����7�>�G�>�v�>�	���<�?�?�"�
C��#���y� ��9���)�|�|�	J��L�L�Y� � �"&�
�
(�!�!8�!?�!?��!H�I�I�	J���<�<�
C����N� �$�&*��,��)�)�#�e�*�E�B�B��
C�s#�A�
B�A	B	�C&�!:C!�!C&c
��V^8�dQhR\\.\3,R\R\R\\\3,/#�rr��argsrr�rrrr)rs"rrrFsD��O�O�x���s�
�3�O��O�*-�O�27��S��/�Orc�>�\\PV.VO5/VB#)a�Like `~certbot.display.util.input_text`, but with validation.

:param callable validator: A method which will be called on the
    supplied input. If the method raises an `errors.Error`, its
    text will be displayed and the user will be re-prompted.
:param list `*args`: Arguments to be passed to `~certbot.display.util.input_text`.
:param dict `**kwargs`: Arguments to be passed to `~certbot.display.util.input_text`.
:return: as `~certbot.display.util.input_text`
:rtype: tuple
)r�rr�r�r�rs&*,r�validated_inputr�Fs!���,�1�1�9�N�t�N�v�N�Nrc
��V^8�dQhR\\.\3,R\R\R\\\3,/#r�r�)rs"rrrUsD��
U�
U�8�S�E�3�J�#7�
U�"�
U�.1�
U�6;�C��H�o�
Urc�>�\\PV.VO5/VB#)a�Like `~certbot.display.util.directory_select`, but with validation.

:param callable validator: A method which will be called on the
    supplied input. If the method raises an `errors.Error`, its
    text will be displayed and the user will be re-prompted.
:param list `*args`: Arguments to be passed to `~certbot.display.util.directory_select`.
:param dict `**kwargs`: Arguments to be passed to
    `~certbot.display.util.directory_select`.
:return: as `~certbot.display.util.directory_select`
:rtype: tuple
)r�r�directory_selectr�s&*,r�validated_directoryr�Us!���,�7�7��T�T�T�V�T�Tr)F)N)r)*�__doc__�logging�textwrapr�typingrrrrrr�certbotr	r
r�certbot._internalr�certbot._internal.displayri�certbot.compatr
�certbot.displayr�	getLogger�__name__r>r%r1r9rGrCr^rDr@r~r�r�r�r|r�r�r�r�rr�<module>r�s���1������������%�C��0�	�	�	�8�	$��H�:
� �"�<�"E�)�43�l	�	�	�Z�$�*�:O�
Ur

Youez - 2016 - github.com/yon3zu
LinuXploit