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 :  /usr/lib/python3/dist-packages/certbot/_internal/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/certbot/_internal/plugins/__pycache__/selection.cpython-314.pyc
+
�K�g�=���Rt^RIt^RIHt^RIHt^RIHt^RIHt^RIHt^RIHt^RIH	t	^R	I
Ht^R
I
Ht^RI
H
t
^RIHt^R
IHt^RIHt]P*!]4tR'RRlltR(RRlltR)RRlltRRlt]	!R]
P8R7tRRltRRlt.R*Ot RRlt!RR lt"R!R"lt#R#R$lt$R%R&lt%R#)+z=Decide which plugins to use for authentication & installationN)�cast)�Iterable)�List)�Optional)�Tuple)�Type)�TypeVar)�
configuration)�errors)�
interfaces)�disco)�os)�utilc��V^8�dQhR\PR\\,R\P
R\R\\P,/#���config�default�plugins�question�return)r	�NamespaceConfigr�strr�PluginsRegistryr�Plugin)�formats"�E/usr/lib/python3/dist-packages/certbot/_internal/plugins/selection.py�__annotate__rsP��:�:�m�;�;�:�h�s�m�:�$�4�4�:� #�:�;C�:�CT�CT�:U�:�c�X�\WW#\P\P34#)zPick configurator plugin.)�pick_pluginr�
Authenticator�	Installer�rrrrs&&&&r�pick_configuratorr$s*��
���	�	!�	!�:�#7�#7�8�:�:rc��V^8�dQhR\PR\\,R\P
R\R\\P,/#r)r	rrrrrrr")rs"rrr sV��T�T�=�8�8�T�8�C�=�T�!�1�1�T� �T�!��!5�!5�6�Trc�:�\WW#\P34#)zPick installer plugin.)r rr"r#s&&&&r�pick_installerr' s��
�v��J�<P�<P�;R�S�Src��V^8�dQhR\PR\\,R\P
R\R\\P,/#r)r	rrrrrrr!)rs"rrr(sW��I�I�}�<�<�I�x�PS�}�I� %� 5� 5�I�!$�I�%�Z�%=�%=�>�	Irc�:�\WW#\P34#)zPick authentication plugin.)r rr!r#s&&&&r�pick_authenticatorr*(s#�����Z�-E�-E�,G�I�Irc��V^8�dQhR\PR\PR\\
P,/#)rrrr)r	rrrrrr")rs"rrr2s?��Q�Q�]�%B�%B�Q�&+�&;�&;�Q�@H��I]�I]�@^�Qrc�a�\V4wpoS'gR#VPV3Rl4pVPV4\V4^8�d\P
!RS,4hV'dH\
VP44^,p\PRV4VPV4#\P
!RS,4h)a&
Get an unprepared interfaces.Installer object.

:param certbot.configuration.NamespaceConfig config: Configuration
:param certbot._internal.plugins.disco.PluginsRegistry plugins:
    All plugins registered as entry points.

:returns: Unprepared installer plugin or None
:rtype: Plugin or None
Nc�&<�VPS4#�N��
check_name)�p_ep�req_insts&�r�<lambda>�*get_unprepared_installer.<locals>.<lambda>Bs���T�_�_�X�-FrzfFound multiple installers with the name %s, Certbot is unable to determine which one to use. Skipping.zSelecting plugin: %sz:Could not select or initialize the requested installer %s.)
�cli_plugin_requests�filter�init�lenr
�PluginSelectionError�list�values�logger�debug)rr�_�
installers�instr2s&&   @r�get_unprepared_installerrA2s����&�f�-�K�A�x������ F�G�J��O�O�F��
�:�����)�)�
4�6>�
?�@�	@���J�%�%�'�(��+�����+�T�2��y�y�� � �
�
%�
%�D�x�O�Q�Qr�P)�boundc
���V^8�dQhR\PR\\,R\P
R\R\\,R\\,/#)rrrrr�ifacesr)	r	rrrrrrrrB)rs"rrrSsR��5�5�
�5�5�5���
�5��.�.�5�:=�5� ���5�+3�A�;�5rc�a�SeVPV3Rl4pM8VP'd\P!R4hVP	4pVPV4pVP
V4VP4VP4p\V4^8�d^\PRV4\\VP44V4pVfR#\\ VP
44#\V4^8Xd[\VP44^,p\PRV4VP"'dR#VP
4#\PR4R#)a�Pick plugin.

:param certbot.configuration.NamespaceConfig config: Configuration
:param str default: Plugin name supplied by user or ``None``.
:param certbot._internal.plugins.disco.PluginsRegistry plugins:
    All plugins registered as entry points.
:param str question: Question to be presented to the user in case
    multiple candidates are found.
:param list ifaces: Interfaces that plugins must provide.

:returns: Initialized plugin.
:rtype: Plugin

Nc�&<�VPS4#r.r/)r1rs&�rr3�pick_plugin.<locals>.<lambda>fs���t���w�/GraMissing command line flags. For non-interactive execution, you will need to specify a plugin on the command line.  Run with '--help plugins' to see a list of options, and see https://eff.org/letsencrypt-plugins for more detail on what the plugins do and how to use them.zMultiple candidate plugins: %szSingle candidate plugin: %szNo candidate plugin)r6�noninteractive_moder
�MissingCommandlineFlag�visiblerEr7�prepare�	availabler8r<r=�
choose_pluginr:r;rrB�
misconfigured)	rrrrrE�filtered�prepared�
plugin_ep1�
plugin_ep2s	&f&&&    rr r Ss/���"���>�>�"G�H���%�%�%��/�/�6�7�
7��?�?�$�����v�&�H��M�M�&�������!�!�#�H�
�8�}�q�����5�x�@�"�4����(9�#:�H�E�
�����A�z���(�)�)�	�X��!�	��(�/�/�+�,�Q�/�
����2�J�?��#�#�#����� � ����*�+�rc��V^8�dQhR\\P,R\R\\P,/#)rrQrr)rr�PluginEntryPointrr)rs"rrr�s9����D��!7�!7�8����$,�U�-C�-C�$D�rc��VUu.uF*pVPVP'dRMR,NK,	pp\P!WRR7wrEV\P8XdTW,pVP'd8\P
!RP
VP44RR7K�V#R#uupi)	z�Allow the user to choose their plugin.

:param list prepared: List of `~.PluginEntryPoint`.
:param str question: Question to be presented to the user.

:returns: Plugin entry point chosen by the user.
:rtype: `~.PluginEntryPoint`

z [Misconfigured]�T)�force_interactivezxThe selected plugin encountered an error while parsing your server configuration and cannot be used. The error was:

{0}F)�pauseN)�description_with_namerO�display_util�menu�OK�notificationrrL)rQr�	plugin_ep�opts�code�indexs&&    rrNrN�s���&�'�%�	�
�+�+�#,�#:�#:�#:�
��
D�
D�%�	�'��"�'�'��$�O����<�?�?�"� ��I��&�&�&��)�)�"�"(�&��):�):�)<�"=�U�L�
!� ���#'s
�!B<�B<c
���V^8�dQhR\PR\PR\\
P,R\\
P,RR/#)rrr�authr@rN)r	rrrrrr!r")rs"rrr�sT��8�8�-�"?�"?�8�%�J_�J_�8� (��)A�)A� B�8� (��)=�)=� >�8�CG�8rc�@�RVnV'd+VPV4pV'dVPVnRVnV'd+VPV4pV'dVPVn\PRVPVP4R#)zFUpdate the config entries to reflect the plugins we actually selected.Nz0Plugins selected: Authenticator %s, Installer %s)�
authenticator�	find_init�name�	installerr<�info)rrrdr@�auth_ep�inst_eps&&&&  r�record_chosen_pluginsrm�sx�� �F����#�#�D�)���#*�<�<�F� ��F����#�#�D�)���&�|�|�F��
�K�K�B��$�$�f�&6�&6�8rc���V^8�dQhR\PR\PR\R\
\\P,\\P,3,/#)rrr�verbr)
r	rrrrrrrr"r!)rs"rrr�sd��O$�O$�
�(E�(E�O$�).�)>�)>�O$�&)�O$�.3�H�Z�=Q�=Q�4R�4<�Z�=U�=U�4V�5W�/X�O$rc�D�\V4wr4RpVR8XdRpVR8XdUR;rg^RIHpV\9d@V'g8RP	V\
PV4p	\P!V	4hMR;rgVR	8XdRpM1VR9d+RpVP'd\PR
V4Rp
RpVR8Xd^W48XdX\WV4p\\\P ,V4p
\\\P",V4pM0V'g	V'd
\%WW4pV'd
\'WV4p
V'dV'g
\)RWA4V'dV
'g
\)R
W14VR	8XduV
eqVP*;'g
VP,p
VRJ;'dV
P.R9pV
'g	V'd&\\\P",V
4p\P1RW�4\3WW�4W�3#)a 
Figure out which configurator we're going to use, modifies
config.authenticator and config.installer strings to reflect that choice if
necessary.

:raises errors.PluginSelectionError if there was a problem

:returns: tuple of (`Installer` or None, `Authenticator` or None)
:rtype: tuple
rW�enhancezMWhich installer would you like to use to configure the selected enhancements?�runT��cli_commandz�With the {0} plugin, you probably want to use the "certonly" command, eg:{1}{1}    {2} certonly --{0}{1}{1}(Alternatively, add a --installer flag. See https://eff.org/letsencrypt-plugins{1} and "--help plugins" for more information.)F�certonlyzRSpecifying an authenticator doesn't make sense when running Certbot with verb "%s"Nrirfz*Selected authenticator %s and installer %s)�installrq)�nginx�apache)r5�certbot._internal.clirt�noninstaller_pluginsrr
�linesepr
rJrfr<�warningr$rrrr!r"r'r*�diagnose_configurator_problemrwrxrhr=rm)rrro�req_authr2�installer_question�	need_inst�	need_authrt�msgrfri�configurator�selected_configurator�interactively_selecteds&&&            r�choose_configurator_pluginsr��s���-�V�4��H����y��E���u�}� $�$�	�5��+�+�H�E�FL�V�����[�F:�
��/�/��4�4�� %�%�	��z���	�	
�'�	'��	������N�N�>�?C�
E�9=�M�04�I��u�}��-�)��7�C���X�j�&>�&>�?��N�
���*�"6�"6�7��F�	���&�v��U�I��.�v��I�M���%�k�8�E���%�o�x�I�
�z��m�7� &��� =� =��
�
��"*�T�!1�!_�!_�m�6H�6H�L_�6_�� �$:��X�j�&:�&:�;�]�K�I�
�L�L�=�}�X��&�=�D��#�#rc�~�V^8�dQhR\\,R\\,R\\,/#)r�
previously�nowr)rr)rs"rrrs.��
�
��#��
�X�c�]�
�x�PS�}�
rc��V'gV#V'dAW8wd;Rp\P!VP\V4\V444hV#)z�
Setting configurators multiple ways is okay, as long as they all agree
:param str previously: previously identified request for the installer/authenticator
:param str now: the request currently being processed
zIToo many flags setting configurators/installers/authenticators {0} -> {1})r
r9r�repr)r�r�r�s&& r�set_configuratorr�sF��������]�C��-�-�c�j�j��j�9I�4�PS�9�.U�V�V��Jrc��V^8�dQhR\PR\\\,\\,3,/#)rrr)r	rrrr)rs"rrr$s3��3�3�
� =� =�3�"�8�C�=�(�3�-�#?�@�3rc�
�VP;r\WP4p\W P4pVP'd\VR4p\VR4pVP
'd\VR4p\VR4pVP'd
\VR4pVP'd
\VR4pVP'd
\VR4pVP'd
\VR4pVP'd
\VR4pVP'd
\VR4pVP'd
\VR	4pVP'd
\VR
4pVP'd
\VR4pVP'd
\VR4pVP 'd
\VR
4pVP"'d
\VR4pVP$'d
\VR4pVP&'d
\VR4pVP('d
\VR4pVP*'d
\VR4p\,P/RW!4W!3#)z�
Figure out which plugins the user requested with CLI and config options

:returns: (requested authenticator string or None, requested installer string or None)
:rtype: tuple
rwrx�
standalone�webroot�manual�dns-cloudflare�dns-digitalocean�dns-dnsimple�dns-dnsmadeeasy�
dns-gehirn�
dns-google�
dns-linode�
dns-luadns�	dns-nsone�dns-ovh�dns-rfc2136�dns-route53�dns-sakuracloudz+Requested authenticator %s and installer %s)r�r�rirfrwrxr�r�r��dns_cloudflare�dns_digitalocean�dns_dnsimple�dns_dnsmadeeasy�
dns_gehirn�
dns_google�
dns_linode�
dns_luadns�	dns_nsone�dns_ovh�dns_rfc2136�dns_route53�dns_sakuracloudr<r=)rr2r~s&  rr5r5$s��!�-�-�-�H���*:�*:�;�H���*>�*>�?�H�
�|�|�|�#�H�g�6��#�H�g�6��
�}�}�}�#�H�h�7��#�H�h�7��
����#�H�l�;��
�~�~�~�#�H�i�8��
�}�}�}�#�H�h�7��
����#�H�.>�?��
����#�H�.@�A��
����#�H�n�=��
����#�H�.?�@��
����#�H�l�;��
����#�H�l�;��
����#�H�l�;��
����#�H�l�;��
����#�H�k�:��
�~�~�~�#�H�i�8��
����#�H�m�<��
����#�H�m�<��
����#�H�.?�@��
�L�L�>��S���rc�j�V^8�dQhR\R\\,R\PRR/#)r�cfg_type�	requestedrrN)rrrr)rs"rrrZs4��+�+�C�+�H�S�M�+�+0�+@�+@�+�EI�+rc��V'd<W9dRPV4pMSRPWV,P4pM0VR8Xd^RIHpRPV4pMRPV4p\P
!V4h)a&
Raise the most helpful error message about a plugin being unavailable

:param str cfg_type: either "installer" or "authenticator"
:param str requested: the plugin that was requested
:param .PluginsRegistry plugins: available plugins

:raises error.PluginSelectionError: if there was a problem
z8The requested {0} plugin does not appear to be installedzkThe {0} plugin is not working; there may be problems with your existing configuration.
The error was: {1!r}rirsz�Certbot doesn't know how to automatically configure the web server on this system. However, it can still get a certificate for you. Please run "{0} certonly" to do so. You'll need to manually configure your web server to use the resulting certificate.z/{0} could not be determined or is not installed)r�problemryrtr
r9)r�r�rr�rts&&&  rr}r}Zs�����#�L�S�S�T]�^�C�H��F�9�i�&8�&@�&@�A�
�
�[�	 �5��!�&��-�		�@�F�F�x�P��
�
%�
%�c�
*�*r)z<How would you like to authenticate and install certificates?)z+How would you like to install certificates?)z4How would you like to authenticate with the ACME CA?)r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�)&�__doc__�logging�typingrrrrrrr�certbotr	r
r�certbot._internal.pluginsr�certbot.compatr
�certbot.displayrr[�	getLogger�__name__r<r$r'r*rArrBr rNrzrmr�r�r5r}�rr�<module>r�s���C���������!���+��0�	�	�	�8�	$��:�T�I�Q�<�C�z�(�(�)��5�p�>I��8�$O$�d
� 3�l+r

Youez - 2016 - github.com/yon3zu
LinuXploit